/* =========================================
   1. VARIÁVEIS E CONFIGURAÇÕES GERAIS
   ========================================= */
:root {
    --roxo-espacial: #29007B;
    --roxo-vibrante: #4716F9;
    --azul-medio: #02A0FC;
    --off-white: #E5EFF9;
    --azul-espacial: #01002A;
    --verde-cta: #19C819; 
    --gradiente-z6: linear-gradient(90deg, #02A0FC, #4716F9, #29007B);
    
    --sucesso: #34C759;
    --erro: #FF3B30;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }

body {
    background-color: var(--azul-espacial);
    color: var(--off-white);
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow-x: hidden;
}

h1, h2 { font-family: 'Rajdhani', sans-serif; text-transform: uppercase; }
h3 { font-family: 'Rajdhani', sans-serif; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 2; }

.reveal { opacity: 0; transform: translateY(30px); transition: var(--transition); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* =========================================
   2. PRIMEIRA DOBRA: TOP BAR & HERO 
   ========================================= */
.top-bar {
    display: none; 
    background-color: var(--verde-cta);
    color: #fff;
    text-align: center;
    padding: 12px 20px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 10;
}
.top-bar span { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.1rem; font-weight: 400; text-transform: none; margin-left: 10px; letter-spacing: normal;}

.hero-section { 
    min-height: 90vh; 
    display: flex; 
    align-items: center; 
    padding: 60px 0; 
    position: relative;
    background: linear-gradient(135deg, var(--azul-espacial) 0%, #150044 100%);
}

/* Caminho atualizado apontando para a pasta IMG */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('../img/bg-pattern-z6.png'); 
    background-size: cover;
    background-position: center;
    opacity: 0.08; 
    z-index: 0;
    pointer-events: none;
}

.hero-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 30px; 
    align-items: stretch; 
}

.hero-box { 
    background: rgba(1, 0, 42, 0.4); 
    border: 1px solid rgba(2, 160, 252, 0.4); 
    box-shadow: 0 0 15px rgba(2, 160, 252, 0.2);
    border-radius: 8px; 
    padding: 40px; 
    display: flex;
    flex-direction: column;
    justify-content: center; 
}

.hero-header-logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.hero-header-logos img { 
    height: 55px; 
    max-width: 48%; 
    object-fit: contain; 
}

.hero-copy h1 { font-size: 3rem; line-height: 1.1; margin-bottom: 20px; color: #fff; }
.hero-copy p { font-size: 1.1rem; margin-bottom: 25px; line-height: 1.5; color: var(--off-white); }

.cta-highlight { 
    background: var(--azul-medio); 
    padding: 15px; 
    border-radius: 4px; 
    font-weight: 700; 
    text-align: center; 
    margin-bottom: 30px; 
    color: #fff;
    font-size: 1.1rem;
}

.guarantee-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.guarantee-wrapper img { width: 90px; height: auto; flex-shrink: 0; }
.guarantee-text p { font-size: 1rem; line-height: 1.4; margin-bottom: 10px; }
.guarantee-text strong { color: #fff; }

.form-group { margin-bottom: 15px; }

.form-group input, 
.form-group select { 
    width: 100%; padding: 18px; border-radius: 6px; border: none; 
    font-family: inherit; font-size: 1rem; outline: none; 
    color: var(--azul-espacial);
    background-color: #fff;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%2301002A' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 15px center;
}
.form-group input:focus, .form-group select:focus { box-shadow: 0 0 0 2px var(--verde-cta); }

.btn-submit { 
    width: 100%; background: var(--verde-cta); color: #fff; 
    border: none; padding: 20px; border-radius: 6px; font-weight: 700; 
    cursor: pointer; transition: var(--transition); text-transform: uppercase; 
    font-size: 1.2rem; margin-top: 5px;
}
.btn-submit:hover { filter: brightness(1.1); transform: translateY(-2px); }

/* =========================================
   3. MARQUEE (LOGOS DOS PARCEIROS)
   ========================================= */
.marquee-section { 
    padding: 40px 0; 
    background: var(--azul-medio); 
    overflow: hidden; 
    border-top: 1px solid rgba(255,255,255,0.2); 
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.marquee-content { 
    display: flex; 
    gap: 80px; 
    animation: marquee 10s linear infinite; 
    align-items: center; 
}

.marquee-content img { 
    height: 45px; 
    transition: 0.3s; 
    opacity: 0.95; 
}

.marquee-content img:hover { 
    opacity: 1; 
    transform: scale(1.15); 
}

@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* =========================================
   4. TERCEIRA DOBRA: DORES 
   ========================================= */
.pain-points-section { padding: 100px 0; position: relative; text-align: center; background: var(--azul-espacial); }
.bg-watermark { 
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); 
    font-size: 40vw; font-family: 'Rajdhani'; font-weight: 700; 
    color: #fff; opacity: 0.02; z-index: 1; pointer-events: none; 
}

.problems-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin: 60px 0; }

.problem-card {
    background: rgba(41, 0, 123, 0.3);
    border: 1px solid rgba(229, 239, 249, 0.05);
    padding: 40px 20px;
    border-radius: 12px;
    transition: var(--transition);
}
.problem-card:hover { transform: translateY(-5px); border-color: var(--roxo-vibrante); background: rgba(41, 0, 123, 0.6); }

.problem-img { 
    width: 90px; 
    height: 90px; 
    margin-bottom: 25px; 
    object-fit: contain; 
}

.problem-card p { font-size: 1.1rem; line-height: 1.5; color: var(--off-white); }

.btn-whatsapp-cta { 
    background: var(--roxo-vibrante); color: #fff; text-decoration: none; 
    padding: 20px 40px; border-radius: 50px; font-weight: 700; 
    display: inline-flex; align-items: center; gap: 10px; transition: var(--transition); 
}
.btn-whatsapp-cta:hover { background: var(--azul-medio); transform: translateY(-5px); }

/* =========================================
   5. PROMESSA 8 SEMANAS
   ========================================= */
.promise-section { padding: 100px 0; background: var(--azul-espacial); }
.promise-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }

.promise-copy h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 40px;
    text-transform: none;
    color: #fff;
}

.highlight-text {
    background-color: var(--azul-medio);
    color: #fff;
    padding: 2px 8px;
    display: inline-block;
    margin-top: 5px;
}

.btn-verde-glow {
    background: var(--verde-cta);
    color: #fff;
    text-decoration: none;
    padding: 18px 40px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.2rem;
    display: inline-block;
    box-shadow: 0 0 25px rgba(25, 200, 25, 0.4); 
    transition: var(--transition);
    text-transform: uppercase;
}
.btn-verde-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 35px rgba(25, 200, 25, 0.6);
    filter: brightness(1.1);
}

.promise-card {
    background: rgba(41, 0, 123, 0.2); 
    border: 1px solid rgba(229, 239, 249, 0.1);
    border-radius: 12px;
    padding: 40px;
}

.promise-card p { font-size: 1.2rem; margin-bottom: 30px; color: var(--off-white); }
.promise-card p strong { color: #fff; }

.promise-list { list-style: none; }
.promise-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.4;
}
.check-icon {
    width: 24px;
    height: 24px;
    stroke: var(--azul-medio);
    stroke-width: 3;
    fill: none;
    flex-shrink: 0;
}

/* =========================================
   6. COMPARAÇÃO 
   ========================================= */
.comparison-section { padding: 100px 0; background: var(--roxo-espacial); }
.comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.comp-card { background: #fff; color: var(--azul-espacial); padding: 50px; border-radius: 15px; }

.comp-card.z6-featured { 
    border: 4px solid var(--azul-medio); 
    box-shadow: 0 0 25px rgba(2, 160, 252, 0.5);
    transform: scale(1.05); 
}

.comp-card h3 { font-size: 2.2rem; margin-bottom: 30px; text-align: center; text-transform: uppercase; font-weight: 700;}
.comp-list { list-style: none; }
.comp-list li { display: flex; gap: 15px; margin-bottom: 20px; line-height: 1.4; font-size: 1.05rem;}
.comp-list li strong { color: var(--azul-espacial); }
.check { color: var(--sucesso); font-weight: 900; }
.cross { color: var(--erro); font-weight: 900; }

/* =========================================
   7. DEPOIMENTOS
   ========================================= */
.testimonials-section { padding: 100px 0; text-align: center; overflow: hidden; background: var(--azul-espacial); }

.carousel-container { 
    position: relative; 
    height: 400px; 
    perspective: 1200px; 
    margin-top: 50px; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-card { 
    position: absolute; 
    width: 550px; 
    height: 309px; 
    transition: var(--transition); 
    border-radius: 12px; 
    overflow: hidden; 
    background: #000;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}

.video-card iframe { width: 100%; height: 100%; border: none; pointer-events: none; }

.video-card.active { transform: translate3d(0, 0, 100px); z-index: 10; border: 3px solid var(--azul-medio); }
.video-card.active iframe { pointer-events: all; }

.video-card.left { transform: translate3d(-60%, 0, -150px) rotateY(20deg); opacity: 0.4; z-index: 5; pointer-events: none; }
.video-card.right { transform: translate3d(60%, 0, -150px) rotateY(-20deg); opacity: 0.4; z-index: 5; pointer-events: none; }
.video-card.hidden { opacity: 0; transform: translate3d(0, 0, -300px); pointer-events: none;}

.carousel-nav { margin-top: 20px; display: flex; justify-content: center; gap: 20px; }
.nav-btn { background: var(--azul-medio); border: none; padding: 15px 25px; border-radius: 50%; color: #fff; cursor: pointer; font-size: 1.2rem;}
.nav-btn:hover { background: var(--roxo-vibrante); }

/* =========================================
   8. CONTADORES
   ========================================= */
.counters-section { padding: 80px 0; background-color: var(--roxo-espacial); border-top: 1px solid rgba(255,255,255,0.05); }
.counters-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center; }

.counter-wrapper {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 5px;
    color: var(--azul-medio);
    margin-bottom: 5px;
    text-shadow: 0 0 20px rgba(2, 160, 252, 0.4);
}

.counter-wrapper h2 { font-size: 4rem; margin: 0; line-height: 1; }
.counter-wrapper span { font-size: 2.2rem; font-weight: 700; font-family: 'Rajdhani', sans-serif; }
.counter-item p { font-size: 1.1rem; font-weight: 600; color: var(--off-white); }

/* =========================================
   9. FOOTER E REDES SOCIAIS NEON
   ========================================= */
footer { padding: 80px 0 40px 0; background: #000; text-align: center; }

.footer-link {
    display: inline-block;
    color: var(--off-white);
    text-decoration: none;
    font-size: 1.1rem;
    margin-bottom: 25px;
    font-weight: 600;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}
.footer-link:hover { color: var(--azul-medio); border-color: var(--azul-medio); }

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px; 
    height: 50px;
    border-radius: 50%;
    background: rgba(2, 160, 252, 0.1);
    color: var(--azul-medio);
    transition: var(--transition);
}

.social-icons a svg { width: 24px; height: 24px; fill: currentColor; }

/* Efeito Neon Hover */
.social-icons a:hover {
    background: var(--azul-medio);
    color: #fff;
    box-shadow: 0 0 15px var(--azul-medio), 0 0 30px var(--roxo-vibrante);
    transform: translateY(-5px);
}

.btn-up { position: fixed; bottom: 30px; right: 30px; background: var(--azul-medio); padding: 15px 20px; border-radius: 50%; display: none; z-index: 100; cursor: pointer; font-size: 1.2rem; color: #fff;}
.whatsapp-float { position: fixed; bottom: 30px; left: 30px; background: #25d366; padding: 15px; border-radius: 50%; z-index: 100; box-shadow: 0 4px 15px rgba(0,0,0,0.3); animation: pulse 2s infinite; }
@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.1); } 100% { transform: scale(1); } }

/* =========================================
   RESPONSIVIDADE (CELULARES)
   ========================================= */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 20px; align-items: stretch; }
    .hero-copy h1 { font-size: 2.2rem; }
    
    .promise-grid { grid-template-columns: 1fr; gap: 40px; }
    .promise-copy h2 { font-size: 2.2rem; }
    
    .problems-grid { grid-template-columns: 1fr; }
    .comparison-grid { grid-template-columns: 1fr; }
    .counters-grid { grid-template-columns: 1fr; gap: 40px; }
    
    .hero-header-logos img { height: 45px; }

    .carousel-container { 
        display: flex; 
        flex-direction: column; 
        height: auto; 
        gap: 30px; 
        margin-top: 30px; 
    }
    .video-card, .video-card.active, .video-card.left, .video-card.right, .video-card.hidden {
        position: relative; 
        width: 100%; 
        height: 56vw; 
        transform: none !important; 
        opacity: 1 !important; 
        z-index: 1 !important;
        left: 0;
        margin: 0;
    }
    .video-card iframe { pointer-events: all; } 
    .carousel-nav { display: none; } 
}