/* VARIÁVEIS - LIGHT MODE PREMIUM */

:root {

    --bg-main: #F8FAFC; 

    --text-dark: #0F172A;

    --text-gray: #475569;

    --blue-primary: #2563EB;

    --red-alert: #EF4444; 

    --red-light: #FEE2E2; 

}



/* RESET E CORREÇÃO DE SCROLL LATERAL (html incluído) */

* { margin: 0; padding: 0; box-sizing: border-box; }



html, body { 

    font-family: 'Inter', sans-serif; 

    background-color: var(--bg-main); 

    color: var(--text-dark); 

    line-height: 1.6; 

    overflow-x: hidden; /* Corta o vazamento lateral no Safari/iPhone */

    width: 100%;

}



a { text-decoration: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 10; }

.text-blue { color: var(--blue-primary); }



/* ========================================= */

/* ELEMENTO DE FUNDO GLOBAL                  */

/* ========================================= */

.global-waves {

    position: fixed; 

    top: 0; 

    left: 0;

    width: 100vw;

    height: 100vh;

    z-index: 0; /* O SEGREDO ESTÁ AQUI: mudamos de -1 para 0 */

    pointer-events: none;

}



.global-waves svg { width: 100%; height: 100%; transform: scale(1.1); }

.wave-layer { animation: wave 15s ease-in-out infinite alternate; }



@keyframes wave {

    0% { transform: translateY(0px) rotate(0deg); }

    100% { transform: translateY(20px) rotate(1deg); }

}



/* ========================================= */
/* NAVBAR                                    */
/* ========================================= */

.navbar { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 30px 0; 
    position: relative; /* Mantém o menu no lugar correto */
    z-index: 99; /* Garante que os botões fiquem clicáveis por cima do Hero */
}

.logo { 
    font-size: 24px; 
    font-weight: 800; 
    color: var(--text-dark); 
    letter-spacing: -1px; 
}

.nav-links { 
    display: flex; 
    gap: 40px; 
}

.nav-links a { 
    color: var(--text-gray); 
    font-weight: 500; 
    font-size: 15px; 
    transition: 0.2s; 
}

.nav-links a:hover { 
    color: var(--text-dark); 
}

.btn-nav { 
    background: var(--text-dark); 
    color: #FFF; 
    padding: 12px 24px; 
    border-radius: 30px; 
    font-weight: 600; 
    font-size: 14px; 
    transition: 0.3s; 
}

.btn-nav:hover { 
    background: var(--blue-primary); 
}


/* ========================================= */
/* HERO SECTION - SPLIT LAYOUT               */
/* ========================================= */

.hero-mobile-bg {
    display: none;
}

.hero-split {
    padding: 60px 0; /* Aumentamos o padding para dar respiro natural no lugar do top negativo */
    position: relative;
    z-index: 10;
}

.hero-grid {
    display: flex;
    align-items: center; /* Isso alinha verticalmente o texto com a imagem */
    justify-content: space-between;
    gap: 40px;
}

.hero-left {
    flex: 1;
    max-width: 500px;
    position: relative;
    z-index: 90; /* Isso garante que o texto e os botões fiquem intocáveis e acima da imagem */
}

.hero-left h1 {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
}

.hero-left p {
    font-size: 15px;
    color: var(--text-gray);
    margin-bottom: 40px;
    font-weight: 200;
    line-height: 1.7;
}

.hero-buttons { display: flex; gap: 15px; }

.btn-primary {
    background: var(--text-dark); color: #FFF; padding: 16px 32px;
    border-radius: 30px; font-weight: 600; font-size: 15px; transition: 0.3s;
}
.btn-primary:hover { background: var(--blue-primary); transform: translateY(-2px); }

.btn-outline {
    background: transparent; color: var(--text-dark); padding: 16px 32px;
    border-radius: 30px; font-weight: 600; font-size: 15px; border: 1px solid #000000; transition: 0.3s;
}
.btn-outline:hover { border-color: var(--text-dark); background: #F1F5F9; }

.hero-right {
    flex: 1;
    display: flex;
    justify-content: flex-end; /* Mantém a imagem encostada na direita */
    position: relative;
    /* Removidos o top: -100px e right: -40px para evitar quebra de layout e vazamento lateral */
}

.mockup-container {
    width: 100%;
    max-width: 500px; 
    position: relative;
}

.floating-mockup {
    width: 100%;
    height: auto;
    filter: drop-shadow(0px 25px 35px rgba(0,0,0,0.15));
}



/* ========================================= */

/* SESSÃO 2: A DOR (O PROBLEMA)              */

/* ========================================= */

.pain-section {

    padding: 0 0 120px 0; 

    background-color: transparent; 

    position: relative;

    z-index: 10;

}



.pain-header {

    text-align: center;

    max-width: 800px; 

    margin: 0 auto 70px;

    position: relative; 

    z-index: 2;

}



.badge-alert {

    display: inline-block;

    background: var(--red-light);

    color: var(--red-alert);

    padding: 6px 16px;

    border-radius: 30px;

    font-size: 13px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1.5px;

    margin-bottom: 25px;

}



.pain-header h2 {

    font-size: 46px;

    font-weight: 900;

    color: var(--text-dark);

    line-height: 1.15;

    margin-bottom: 25px;

    letter-spacing: -1.5px;

}



.text-alert { color: var(--red-alert); }



.pain-header p {

    font-size: 20px;

    color: var(--text-gray);

    line-height: 1.6;

}



.pain-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;

    position: relative; 

    z-index: 2;

}



.pain-card {

    background: #FFFFFF; 

    padding: 40px 30px;

    border-radius: 16px;

    border: 1px solid #E2E8F0;

    transition: 0.3s;

    box-shadow: 0 4px 6px rgba(0,0,0,0.02); 

}



.pain-card:hover {

    transform: translateY(-8px);

    box-shadow: 0 20px 40px rgba(0,0,0,0.06);

    border-color: #CBD5E1;

}



.pain-icon {

    width: 55px;

    height: 55px;

    background: var(--red-light); 

    border-radius: 12px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 24px;

    color: var(--red-alert);

    margin-bottom: 25px;

}



.pain-card h3 {

    font-size: 22px;

    font-weight: 800;

    color: var(--text-dark);

    margin-bottom: 15px;

    letter-spacing: -0.5px;

}



.pain-card p {

    font-size: 16px;

    color: var(--text-gray);

    line-height: 1.6;

}



/* ========================================= */

/* SESSÃO 3: A SOLUÇÃO (LIGHT MODE)          */

/* ========================================= */

.solution-section {

    background-color: transparent; 

    padding: 120px 0;

    position: relative;

    z-index: 10;

}



.solution-header {

    text-align: center;

    max-width: 800px;

    margin: 0 auto 60px; 

}



.badge-blue {

    display: inline-block;

    background: #DBEAFE; 

    color: var(--blue-primary);

    padding: 6px 16px;

    border-radius: 30px;

    font-size: 13px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1.5px;

    margin-bottom: 25px;

}



.solution-header h2 {

    font-size: 46px; 

    font-weight: 900;

    color: var(--text-dark);

    line-height: 1.15;

    margin-bottom: 20px;

    letter-spacing: -1.5px;

}



.solution-header p {

    font-size: 20px;

    color: var(--text-gray);

    line-height: 1.6;

}



.solution-grid {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 60px;

}



.solution-visual {

    flex: 1;

    position: relative;

    display: flex;

    justify-content: center;

}



.devices-img {

    width: 120%; 

    max-width: 700px;

    height: auto;

    position: relative;

    z-index: 2;

    transform: translateX(-40px); /* Esse cara era o culpado pelo vazamento mobile! */

}



.glow-effect {

    position: absolute;

    width: 400px;

    height: 400px;

    background: var(--blue-primary);

    filter: blur(150px);

    opacity: 0.15; 

    top: 50%;

    left: 50%;

    transform: translate(-50%, -50%);

    z-index: 1;

}



.solution-content {

    flex: 1;

    max-width: 550px;

}



.feature-list {

    display: flex;

    flex-direction: column;

    gap: 15px;

    width: 100%;

}



.feature-item {

    display: flex;

    align-items: flex-start;

    gap: 20px;

    padding: 20px;

    border-radius: 16px;

    border: 1px solid transparent; 

    transition: 0.3s;

    cursor: pointer;

}



.feature-item.active {

    background: #FFFFFF;

    border-color: var(--blue-primary); 

    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.1); 

}



.feature-item:hover:not(.active) {

    background: #FFFFFF; 

    box-shadow: 0 5px 15px rgba(0,0,0,0.03); 

}



.feature-icon {

    width: 45px;

    height: 45px;

    background: var(--bg-main); 

    color: var(--text-gray); 

    border-radius: 12px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 18px;

    flex-shrink: 0;

    transition: 0.3s;

}



.feature-item.active .feature-icon {

    background: var(--blue-primary);

    color: #FFFFFF;

}



.feature-text h4 {

    color: var(--text-dark);

    font-size: 18px;

    font-weight: 700;

    margin-bottom: 5px;

}



.feature-text p {

    font-size: 14px;

    color: var(--text-gray);

    margin-bottom: 0;

    line-height: 1.5;

}



/* ========================================= */

/* SESSÃO 4 e 5: DIFERENCIAL + CASE ARTHUR   */

/* ========================================= */

.diff-case-section {

    padding: 100px 0 140px 0; 

    background-color: transparent; 

    position: relative;

    z-index: 10;

}



.diff-case-grid {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 80px; 

}



.differential-block {

    flex: 1.2; 

    max-width: 600px;

}



.differential-block h2 {

    font-size: 42px;

    font-weight: 900;

    color: var(--text-dark);

    line-height: 1.2;

    margin-bottom: 25px;

    letter-spacing: -1.5px;

}



.differential-block p {

    font-size: 18px;

    color: var(--text-gray);

    line-height: 1.7;

}



.case-block {

    flex: 1;

    max-width: 480px;

    background: #FFFFFF; 

    padding: 45px;

    border-radius: 24px;

    border: 1px solid #E2E8F0;

    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.04); 

    position: relative;

}



.quote-icon {

    font-size: 32px;

    color: #DBEAFE; 

    margin-bottom: 20px;

}



.testimonial-text {

    font-size: 18px;

    font-weight: 500;

    color: var(--text-dark);

    line-height: 1.6;

    font-style: italic; 

    margin-bottom: 30px;

}



.author-profile {

    display: flex;

    align-items: center;

    gap: 15px;

    border-top: 1px solid #F1F5F9;

    padding-top: 20px;

}



.author-avatar {

    width: 48px;

    height: 48px;

    background: var(--blue-primary);

    color: #FFFFFF;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    font-weight: 700;

    font-size: 18px;

}



.author-info h4 {

    font-size: 16px;

    font-weight: 700;

    color: var(--text-dark);

    margin-bottom: 2px;

}



.author-info span {

    font-size: 14px;

    color: var(--text-gray);

    font-weight: 500;

}



/* ========================================= */

/* SESSÃO 6: CHAMADA FINAL (BANNER FULL-WIDTH) */

/* ========================================= */

.cta-section {

    padding: 100px 0;

    background: linear-gradient(135deg, var(--blue-primary) 0%, #1E3A8A 100%);

    position: relative;

    z-index: 10;

    overflow: hidden;

    text-align: center;

}



/* O brilho azul no fundo do banner */

.cta-section::before {

    content: '';

    position: absolute;

    top: -50%;

    left: -10%;

    width: 400px;

    height: 400px;

    background: rgba(255, 255, 255, 0.08);

    border-radius: 50%;

    filter: blur(60px);

}



.cta-content {

    position: relative;

    z-index: 2;

}



.cta-content h2 {

    font-size: 46px;

    font-weight: 900;

    color: #FFFFFF;

    margin-bottom: 20px;

    letter-spacing: -1.5px;

}



.cta-content p {

    font-size: 20px;

    color: #DBEAFE; 

    margin-bottom: 40px;

    max-width: 600px;

    margin-left: auto;

    margin-right: auto;

}



.btn-large {

    display: inline-block;

    background: #FFFFFF;

    color: var(--blue-primary);

    font-size: 18px;

    font-weight: 800;

    padding: 22px 45px;

    border-radius: 40px;

    transition: 0.3s;

    box-shadow: 0 10px 25px rgba(0,0,0,0.1);

    position: relative;

    z-index: 2;

}



.btn-large:hover {

    transform: translateY(-4px);

    box-shadow: 0 15px 35px rgba(0,0,0,0.2);

    color: var(--text-dark); 

}



/* ========================================= */

/* RODAPÉ (FOOTER)                           */

/* ========================================= */

.footer {

    background-color: var(--bg-main);

    padding: 40px 0;

    position: relative;

    z-index: 10;

}



.footer-content {

    display: flex;

    justify-content: space-between;

    align-items: center;

    flex-wrap: wrap;

    gap: 20px;

}



.footer-logo {

    font-size: 22px;

    font-weight: 800;

    color: var(--text-dark);

    letter-spacing: -1px;

}



.footer-content p {

    font-size: 15px;

    color: var(--text-gray);

}



.footer-links {

    display: flex;

    gap: 25px;

}



.footer-links a {

    font-size: 15px;

    font-weight: 500;

    color: var(--text-gray);

    transition: 0.3s;

}



.footer-links a:hover {

    color: var(--blue-primary);

}



/* ========================================= */

/* RESPONSIVO UNIFICADO (TABLET E CELULAR)   */

/* ========================================= */



/* TABLET (Telas médias) */

@media (max-width: 992px) {

    .nav-links { display: none; } 

    .hero-grid { flex-direction: column; text-align: center; }

    .hero-left { max-width: 100%; top: 0; } 

    .hero-buttons { justify-content: center; }

    .hero-right { justify-content: center; margin-top: 40px; top: 0; right: 0; } 

    .pain-grid { grid-template-columns: repeat(2, 1fr); }

    .solution-grid { flex-direction: column; }

    .solution-visual { margin-bottom: 40px; }

    .devices-img { width: 100%; transform: translateX(0); } 

    .solution-content { align-items: center; text-align: center; max-width: 100%; }

    .diff-case-grid { flex-direction: column; gap: 50px; text-align: center; }

    .differential-block { max-width: 100%; }

    .case-block { max-width: 100%; text-align: left; }

    .author-profile { justify-content: flex-start; }

}



/* CELULAR (Telas pequenas) */

@media (max-width: 768px) {

    /* Hero Section */

    .hero-split { padding: 40px 0 0 0; }

    .hero-left h1 { font-size: 38px; }

    .hero-left p { font-size: 16px; margin-bottom: 30px; }

    .hero-buttons { flex-direction: column; gap: 10px; }

    .btn-primary, .btn-outline { width: 100%; text-align: center; padding: 16px 20px; }

    

    .hero-right { 

        display: none !important; 

    }



    .hero-mobile-bg {

        display: block;

        position: relative;

        width: 100%;

        min-height: 400px;

        margin-top: 85px;    

        margin-bottom: 80px; 

        border-radius: 24px;

        overflow: hidden; 

        background-image: url('img/secao.png'); 

        background-size: cover;

        background-position: center right; 

        box-shadow: 0 15px 30px rgba(0, 30, 255, 0.188);

    }



    .mobile-bg-overlay {

        position: absolute;

        top: 0; left: 0; width: 100%; height: 100%;

        background: linear-gradient(to right, rgb(0, 0, 0) 10%, rgb(87, 121, 179) 100%);

        z-index: 1;

    }



    .mobile-bg-content {

        position: relative;

        z-index: 2; 

        padding: 50px 30px;

        text-align: left;

    }



    .mobile-bg-content h2 {

        color: #FFFFFF;

        font-size: 32px;

        font-weight: 800;

        margin-bottom: 10px;

        line-height: 1.1;

        letter-spacing: -1px;

    }



    .mobile-bg-content h3 {

        color: #93C5FD; 

        font-size: 18px;

        font-weight: 500;

        font-style: italic;

        margin-bottom: 25px;

        line-height: 1.3;

    }



    .mobile-bg-content p {

        color: #F8FAFC;

        font-size: 15px;

        line-height: 1.6;

    }

    

    /* Seção 2: Dor */

    .pain-section { padding: 40px 0 60px 0; }

    .pain-header h2 { font-size: 30px; }

    .pain-header p { font-size: 16px; margin-bottom: 40px; }

    

    .pain-grid { 

        display: flex; 

        flex-direction: column; 

        gap: 30px; 

    }

    

    .pain-card { 

        display: grid;

        grid-template-columns: auto 1fr; 

        grid-template-rows: auto auto; 

        column-gap: 20px;

        row-gap: 4px;

        align-items: center;

        text-align: left;

        padding: 0; 

        background: transparent;

        border: none;

        box-shadow: none;

    }

    

    .pain-icon {

        grid-column: 1;

        grid-row: 1 / 3; 

        margin-bottom: 0;

        width: 65px;

        height: 65px;

        border-radius: 50%; 

    }

    

    .pain-card h3 {

        grid-column: 2;

        grid-row: 1;

        font-size: 19px;

        margin-bottom: 0;

        align-self: end; 

    }

    

    .pain-card p {

        grid-column: 2;

        grid-row: 2;

        font-size: 14.5px;

        margin-bottom: 0;

        align-self: start; 

        line-height: 1.5;

    }



    /* Solução / Devices Img - CORREÇÃO DA ROLAGEM AQUI */

    .devices-img { 

        width: 100%; 

        max-width: 100%; 

        margin-left: 0; 

        margin-top: 0; 

        margin-bottom: 20px; 

        transform: translateX(0); /* Zera o empurrão lateral do PC que estava quebrando a tela */

    }



    .solution-header {

        margin-bottom: 10px; 

    }



    /* Seção 3: Solução */

    .solution-section { padding: 60px 0; }

    .solution-header h2 { font-size: 32px; }

    .solution-header p { font-size: 16px; }

    .solution-visual { margin-bottom: 20px; } 

    .feature-item { padding: 15px; flex-direction: row; text-align: left; align-items: flex-start; gap: 15px; } 

    

    /* Seção 4 e 5: Diferencial + Case */

    .diff-case-section { padding: 40px 0 60px 0; }

    .differential-block h2 { font-size: 28px; }

    .differential-block p { font-size: 16px; }

    .case-block { padding: 20px; border-radius: 16px; margin-top: 10px; } 

    .testimonial-text { font-size: 15px; margin-bottom: 15px; } 

    

    /* CTA Banner Final Mobile */

    .cta-section { padding: 60px 0; }

    .cta-content h2 { font-size: 28px; }

    .cta-content p { font-size: 16px; margin-bottom: 30px; padding: 0 10px; }

    .btn-large { padding: 16px 20px; font-size: 15px; width: 100%; display: block; text-align: center; }

    

    /* Footer */

    .footer { padding: 30px 0; }

    .footer-content { flex-direction: column; text-align: center; gap: 15px; }

    .footer-links { flex-direction: column; gap: 10px; }

}



/* ========================================= */

/* NOVA SEÇÃO: INTEGRAÇÕES                   */

/* ========================================= */

.integration-section {

    padding: 100px 0;

    text-align: center;

    position: relative;

    z-index: 10;

}



.integration-card {

    background: #FFFFFF;

    max-width: 700px;

    margin: 0 auto;

    padding: 40px;

    border-radius: 24px;

    border: 1px solid #E2E8F0;

    box-shadow: 0 15px 30px rgba(0,0,0,0.04);

}



.integration-card h3 {

    font-size: 24px;

    font-weight: 800;

    color: var(--text-dark);

    margin-bottom: 15px;

    letter-spacing: -0.5px;

}



.integration-card p {

    font-size: 16px;

    color: var(--text-gray);

    line-height: 1.6;

}



.integration-icon-highlight {

    width: 65px !important;

    height: 65px !important;

    font-size: 26px !important;

    border-radius: 16px !important;

}



/* ========================================= */

/* MODAL E CARROSSEL (TELA CHEIA)            */

/* ========================================= */



/* 1. Faz o fundo escuro flutuar por cima de tudo e ficar invisível por padrão */

.modal-overlay {

    position: fixed;

    top: 0; 

    left: 0; 

    width: 100vw; 

    height: 100vh;

    background: rgba(15, 23, 42, 0.95);

    display: flex;

    justify-content: center;

    align-items: center;

    z-index: 9999;

    opacity: 0; /* Esconde o modal */

    pointer-events: none; /* Desativa os cliques quando invisível */

    transition: opacity 0.3s ease-in-out;

}



/* 2. Mostra o modal quando o botão é clicado (O Javascript adiciona essa classe) */

.modal-overlay.active {

    opacity: 1;

    pointer-events: all;

}



/* 3. Ajustes de tamanho do Carrossel */

.carousel-content {

    position: relative;

    width: 95%;

    max-width: 1200px;

    background: transparent;

    box-shadow: none;

    padding: 0;

    display: flex;

    align-items: center;

    justify-content: center;

}



.carousel-image-container {

    width: 100%;

    height: 85vh;

    display: flex;

    align-items: center;

    justify-content: center;

}



#carouselImage {

    max-width: 100%;

    max-height: 100%;

    border-radius: 12px;

    box-shadow: 0 10px 40px rgba(0,0,0,0.6);

    transition: opacity 0.2s ease-in-out;

}



/* 4. Botões (Setas e Fechar) */

.carousel-btn {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    background: rgba(255, 255, 255, 0.15);

    backdrop-filter: blur(5px);

    color: #FFF;

    border: none;

    width: 55px;

    height: 55px;

    border-radius: 50%;

    font-size: 24px;

    cursor: pointer;

    transition: 0.3s;

    display: flex;

    align-items: center;

    justify-content: center;

    z-index: 10;

}



.carousel-btn:hover {

    background: var(--blue-primary);

    transform: translateY(-50%) scale(1.1);

}



.carousel-btn.prev { left: -20px; }

.carousel-btn.next { right: -20px; }



.close-modal {

    position: absolute;

    top: -40px;

    right: 0;

    background: transparent;

    border: none;

    color: #FFF;

    font-size: 36px;

    cursor: pointer;

    z-index: 20;

    transition: 0.2s;

}



.close-modal:hover { color: var(--red-alert); }



/* 5. Responsivo do Carrossel (Celular) */

@media (max-width: 768px) {

    .carousel-image-container { height: 70vh; }

    .carousel-btn { width: 40px; height: 40px; font-size: 18px; }

    .carousel-btn.prev { left: 0px; }

    .carousel-btn.next { right: 0px; }

    .close-modal { right: 10px; top: -35px; }

}

