/* --- GERAL E VARIÁVEIS --- */
:root {
    --background-color: #121212;
    --surface-color: #1E1E1E;
    --primary-color: #FFFFFF;
    --secondary-color: #00F5A0;
    --text-color: #E0E0E0;
    --muted-text-color: #888888;
    --font-family: 'Poppins', sans-serif;
    --plan-essential-color1: #00F5A0;
    --plan-essential-color2: #20C997;
    --plan-professional-color1: #4D94FF;
    --plan-professional-color2: #00F5A0;
    --plan-premium-color1: #BE77FF;
    --plan-premium-color2: #4D94FF;
}

/* --- BASE E RESET --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-family);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { color: var(--primary-color); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); text-align: center; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); text-align: center; }
h3 { font-size: 1.5rem; }
section { padding: 80px 0; border-bottom: 1px solid #2a2a2a; }
.section-description { max-width: 700px; margin: 15px auto 50px auto; text-align: center; color: var(--muted-text-color); font-size: 1.1rem; }

/* --- ANIMAÇÕES E BARRA DE PROGRESSO --- */
#progressBar { position: fixed; top: 0; left: 0; height: 4px; background: var(--secondary-color); width: 0%; z-index: 1001; }
[data-aos] { opacity: 0; transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
[data-aos="fade-up"] { transform: translateY(30px); }
[data-aos="zoom-in"] { transform: scale(0.9); }
[data-aos="fade-in"] { opacity: 0; }
[data-aos].aos-animate { opacity: 1; transform: translateY(0) scale(1); }

/* --- HEADER --- */
.header { background-color: rgba(18, 18, 18, 0.8); backdrop-filter: blur(10px); padding: 15px 0; position: fixed; width: 100%; top: 0; z-index: 1000; border-bottom: 1px solid #2a2a2a; }
.header .container { display: flex; justify-content: space-between; align-items: center; }
.logo img { width: 220px; height: auto; }
.nav-list { display: flex; list-style: none; gap: 30px; }
.nav-list a { text-decoration: none; color: var(--text-color); font-weight: 600; transition: color 0.3s ease; }
.nav-list a:hover { color: var(--secondary-color); }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 10px; z-index: 1001; }
.hamburger span { display: block; width: 25px; height: 2px; background-color: var(--primary-color); margin: 6px 0; transition: all 0.3s ease-in-out; }

/* --- BOTÕES --- */
.cta-button { position: relative; display: inline-block; background-color: var(--secondary-color); color: #000; padding: 15px 35px; border-radius: 50px; text-decoration: none; font-weight: 700; transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s, border-color 0.3s; border: 2px solid var(--secondary-color); cursor: pointer; text-align: center; overflow: hidden; }
.cta-button:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0, 245, 160, 0.2); }
.cta-button.secondary { background-color: transparent; color: var(--secondary-color); }
.cta-button.secondary:hover { background-color: var(--secondary-color); color: #000; }
.cta-button.large { font-size: 1.1rem; }
.cta-button.whatsapp { display: flex; align-items: center; justify-content: center; gap: 10px; }
.cta-button.whatsapp img { width: 24px; height: 24px; }
.hero-secondary-btn { background-color: transparent; border-color: #888; color: #fff; }
.hero-secondary-btn:hover { border-color: var(--secondary-color); box-shadow: 0 0 20px rgba(0, 245, 160, 0.3); background-color: rgba(0, 245, 160, 0.1); color: #fff; }
.hero-tertiary-btn { background-color: transparent; border-color: rgba(255, 255, 255, 0.2); color: #fff; }
.hero-tertiary-btn:hover { border-color: #fff; background-color: rgba(255, 255, 255, 0.1); }


/* --- HERO --- */
.hero-section { background: linear-gradient(rgba(18, 18, 18, 0.7), rgba(18, 18, 18, 0.9)), url('https://images.pexels.com/photos/3408744/pexels-photo-3408744.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1') center/cover no-repeat; padding: 160px 0 120px; }
.hero-section .subtitle { font-size: 1.2rem; max-width: 700px; margin: 20px auto 40px auto; text-align: center; }
.cta-container { display: flex; justify-content: center; align-items: center; gap: 20px; flex-wrap: wrap;}

/* --- BENEFÍCIOS --- */
.benefits-section { background-color: var(--surface-color); }
.benefits-carousel-wrapper { position: relative; }
.benefits-scroller { display: flex; gap: 30px; overflow-x: auto; padding: 10px; scroll-behavior: smooth; /* Oculta a barra de rolagem visualmente */ -ms-overflow-style: none; /* IE and Edge */ scrollbar-width: none; /* Firefox */ }
.benefits-scroller::-webkit-scrollbar { display: none; /* Safari and Chrome */ }
.benefit-card { background-color: var(--background-color); padding: 30px; border: 1px solid #2a2a2a; border-radius: 12px; text-align: center; transition: transform 0.3s ease, border-color 0.3s ease; flex: 0 0 280px; }
.benefit-card:hover { transform: translateY(-5px); border-color: var(--secondary-color); }
.benefit-card .icon { display: block; margin-bottom: 15px; width: 48px; height: 48px; margin-left: auto; margin-right: auto;}
.benefits-nav { position: absolute; top: 50%; transform: translateY(-50%); background-color: rgba(30,30,30,0.7); backdrop-filter: blur(5px); border: 1px solid var(--muted-text-color); color: var(--text-color); width: 45px; height: 45px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; z-index: 10; transition: all 0.2s ease; }
.benefits-nav:hover { border-color: var(--secondary-color); color: var(--secondary-color); transform: translateY(-50%) scale(1.1); }
.benefits-nav.prev { left: -22px; }
.benefits-nav.next { right: -22px; }
.benefits-nav:disabled { opacity: 0.3; cursor: not-allowed; }

/* --- PROCESSO CRIATIVO --- */
.process-section { background-color: var(--background-color); }
.process-container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.process-visual img { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,0.4);}
.process-steps .step { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 30px; }
.step-number { background-color: var(--secondary-color); color: #000; font-size: 1.5rem; font-weight: 700; min-width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; transition: transform 0.3s; }
.step:hover .step-number { transform: scale(1.1); }
.step-content p { color: var(--muted-text-color); }

/* --- CTA INTERMEDIÁRIO (QUIZ) --- */
.cta-quiz-section {
    background-color: var(--background-color);
    background-image: radial-gradient(circle at center, var(--surface-color) 0%, var(--background-color) 80%);
    text-align: center;
}
.cta-quiz-section h2 {
    max-width: 600px;
    margin: 0 auto 20px;
}
.cta-quiz-section p {
    color: var(--muted-text-color);
    margin-bottom: 40px;
}

/* --- SEÇÃO CEOS --- */
.ceos-showcase-section { background-image: linear-gradient(rgba(18, 18, 18, 0.95), rgba(18, 18, 18, 0.9)), url('https://i.ibb.co/GfC1rjCw/pexels-photo-8386440.jpg'); background-size: cover; background-position: center; background-attachment: fixed; }
.ceos-showcase-section h2 span { background-image: linear-gradient(45deg, var(--secondary-color), var(--plan-professional-color1)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ceos-showcase-section .section-description { margin-bottom: 80px; }
.ceo-showcase-item { display: grid; grid-template-columns: 1fr 1fr; min-height: 60vh; margin-bottom: 40px; border-radius: 12px; overflow: hidden; background-color: var(--surface-color); }
.ceo-text-content { padding: 5vw; display: flex; flex-direction: column; justify-content: center; grid-column: 1 / 2; grid-row: 1 / 2; }
.ceo-showcase-role { font-size: 1.1rem; font-weight: 700; color: var(--secondary-color); text-transform: uppercase; letter-spacing: 1px; }
.ceo-text-content h3 { font-size: clamp(2.5rem, 4vw, 3rem); margin-bottom: 20px; }
.ceo-showcase-bio { font-size: 1rem; color: var(--muted-text-color); max-width: 500px; }
.ceo-image-content { width: 100%; height: 100%; background-size: cover; background-position: center; filter: grayscale(100%); transition: filter 0.5s ease; grid-column: 2 / 3; grid-row: 1 / 2; -webkit-mask-image: linear-gradient(to left, black 60%, transparent 100%); mask-image: linear-gradient(to left, black 60%, transparent 100%); }
.ceo-showcase-item:hover .ceo-image-content { filter: grayscale(0%); }
.ceo-showcase-item.reverse .ceo-text-content { grid-column: 2 / 3; }
.ceo-showcase-item.reverse .ceo-image-content { grid-column: 1 / 2; -webkit-mask-image: linear-gradient(to right, black 60%, transparent 100%); mask-image: linear-gradient(to right, black 60%, transparent 100%); }

/* --- PORTFÓLIO COVER FLOW --- */
.portfolio-section { background: #0e0e0e; overflow: visible; padding: 80px 0; }
.portfolio-container { max-width: 100%; padding: 0; }
.portfolio-title { margin-bottom: 60px; }
.portfolio-carousel { position: relative; width: 100%; height: 450px; }
.carousel-track-container { height: 100%; position: relative; overflow: hidden; }
.carousel-track { height: 100%; text-align: center; position: absolute; top:0; left:0; right: 0; bottom: 0; }
.carousel-slide {
    position: absolute; width: 35%; height: 80%; top: 10%;
    left: 0; right: 0; margin: auto;
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0.4;
    transform: scale(0.6);
}
.carousel-slide a { display: block; width: 100%; height: 100%; text-decoration: none; border-radius: 10px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.5); position: relative; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.slide-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 40px 20px 20px; background: linear-gradient(transparent, rgba(0,0,0,0.9)); opacity: 0; transition: opacity 0.5s ease; color: #fff;}
.carousel-slide.active a:hover .slide-content { opacity: 1; }
.slide-content h3 { font-size: 1.4rem; }

/* Posições dos slides */
.carousel-slide.active { opacity: 1; transform: scale(1) translateX(0); z-index: 3; }
.carousel-slide.prev { opacity: 0.6; transform: scale(0.8) translateX(-70%); z-index: 2; }
.carousel-slide.next { opacity: 0.6; transform: scale(0.8) translateX(70%); z-index: 2; }
.carousel-slide.far-prev { opacity: 0.3; transform: scale(0.6) translateX(-130%); z-index: 1; }
.carousel-slide.far-next { opacity: 0.3; transform: scale(0.6) translateX(130%); z-index: 1; }
.carousel-slide.hidden { opacity: 0; transform: scale(0.5) translateX(0); z-index: 0; }

.portfolio-nav { position: absolute; top: 50%; transform: translateY(-50%); background-color: rgba(30, 30, 30, 0.5); backdrop-filter: blur(4px); color: #fff; border: 1px solid #444; border-radius: 50%; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; z-index: 10; cursor: pointer; transition: all 0.3s ease; }
.portfolio-nav svg { width: 24px; height: 24px; fill: #fff; transition: fill 0.3s; }
.portfolio-nav:hover { background-color: var(--secondary-color); transform: translateY(-50%) scale(1.1);}
.portfolio-nav:hover svg { fill: #000; }
.portfolio-nav.prev { left: 10%; }
.portfolio-nav.next { right: 10%; }


/* --- SEÇÃO DE PLANOS --- */
.plans-section { background-color: var(--surface-color); }
.plans-title { margin-bottom: 60px; }
.plans-container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; align-items: start; }
.plan-card { background: var(--background-color); border: 1px solid #2a2a2a; padding: 30px; border-radius: 12px; display: flex; flex-direction: column; transition: all 0.3s ease; }
.plan-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); }
.plan-card h3 { margin-bottom: 15px; font-size: 1.4rem; font-weight: 700; text-align: center; }
.plan-card.plan-basic h3 { color: var(--muted-text-color); }
.plan-card.plan-essential h3 { background-image: linear-gradient(90deg, var(--plan-essential-color1), var(--plan-essential-color2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan-card.plan-professional h3 { background-image: linear-gradient(90deg, var(--plan-professional-color1), var(--plan-professional-color2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan-card.plan-premium h3 { background-image: linear-gradient(90deg, var(--plan-premium-color1), var(--plan-premium-color2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan-card .price { font-size: 2.2rem; font-weight: 700; margin-bottom: 15px; text-align: center; }
.plan-card .plan-description { color: var(--muted-text-color); text-align: center; margin-bottom: 25px; flex-grow: 1; font-size: 0.9rem; }
.plan-card ul { list-style: none; margin-bottom: 25px; padding-left: 0; }
.plan-card ul li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.plan-card ul li::before { content: '✓'; position: absolute; left: 0; top: 1px; color: var(--secondary-color); font-weight: 900; }
.plan-card ul li.missing { color: var(--muted-text-color); opacity: 0.5; }
.plan-card ul li.missing::before { content: '✕'; color: #666; }
.plan-card .cta-button { width: 100%; margin-top: auto; }
.plan-card.featured { border: 2px solid var(--plan-professional-color1); position: relative; transform: translateY(-10px); }
.featured-badge { position: absolute; top: -25px; left: 50%; transform: translateX(-50%); background: var(--plan-professional-color1); color: #fff; padding: 6px 22px; border-radius: 20px; font-size: 0.9rem; font-weight: 700; white-space: nowrap; }


/* --- DEMAIS SEÇÕES E FOOTER --- */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { background-color: var(--surface-color); margin-bottom: 10px; border-radius: 8px; border: 1px solid #2a2a2a; }
.faq-item summary { font-size: 1.1rem; font-weight: 600; padding: 20px; cursor: pointer; position: relative; list-style: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--secondary-color); transition: transform 0.3s ease; }
.faq-item[open] summary { color: var(--secondary-color); }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }

/* Animação do FAQ */
.faq-item p {
    color: var(--muted-text-color);
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease-out, opacity 0.3s ease-in, padding 0.4s ease-out;
}
.faq-item[open] > p {
    max-height: 300px; /* Altura suficiente para o conteúdo */
    opacity: 1;
    padding: 0 20px 20px 20px;
    transition: max-height 0.5s ease-in, opacity 0.4s ease-in 0.1s, padding 0.5s ease-in;
}

/* --- QUIZ SECTION --- */
#quiz-section { background-color: var(--surface-color); }
.quiz-content { text-align: center; max-width: 700px; margin: 0 auto; }
#quiz-section h2 { background-image: linear-gradient(90deg, var(--primary-color), var(--secondary-color)); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.3; }
.quiz-subtitle { color: var(--muted-text-color); margin-top: 15px; font-size: 1.1rem; }
.quiz-cta { margin: 40px 0 15px; font-size: 1.2rem !important; padding: 20px 45px !important; }
.quiz-assurance { color: var(--muted-text-color); font-size: 0.9rem; }
.quiz-trust-signals { display: flex; justify-content: center; align-items: center; gap: 30px; margin-top: 40px; flex-wrap: wrap; }
.trust-signal-item { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--muted-text-color); }
.trust-signal-item img { width: 20px; height: 20px; opacity: 0.7; }

/* Animação do botão do Quiz */
.quiz-cta .shiny-effect { position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: rgba(255,255,255,0.2); transform: rotate(45deg); pointer-events: none; transition: left 0.6s, top 0.6s; }
.quiz-cta:hover .shiny-effect { top: calc(var(--y, 0) * 1% - 50%); left: calc(var(--x, 0) * 1% - 50%); }

.final-cta-section { background-color: var(--surface-color); border: none;}
.final-cta-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 60px; align-items: center; }
.cta-benefits-list { list-style: none; margin-top: 30px; padding: 0; }
.cta-benefits-list li { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; font-weight: 600; }
.cta-form-content { background-color: var(--background-color); padding: 40px; border-radius: 12px; text-align: center; }
.footer { background-color: #0c0c0c; color: var(--muted-text-color); text-align: center; padding: 20px 0; font-size: 0.9rem; border: none; }

/* --- BOTÃO WHATSAPP FLUTUANTE --- */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    z-index: 1000;
    transition: transform 0.3s ease;
    animation: pulse 2s infinite;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    animation: none;
}
.whatsapp-float img {
    width: 32px;
    height: 32px;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 992px) {
    .plans-container { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
    .plan-card.featured { transform: translateY(0); }
    .ceo-showcase-item { grid-template-columns: 1fr; }
    .ceo-text-content { grid-column: 1 / -1; grid-row: 1 / 2; background: linear-gradient(to top, var(--surface-color) 40%, transparent 100%); align-self: end; z-index: 2; padding-top: 80px; text-align: center; }
    .ceo-text-content h3, .ceo-text-content p { margin-left: auto; margin-right: auto; }
    .ceo-image-content { grid-column: 1 / -1; grid-row: 1 / 2; min-height: 500px; -webkit-mask-image: none; mask-image: none; }
    .ceo-showcase-item.reverse .ceo-text-content, .ceo-showcase-item.reverse .ceo-image-content { grid-column: 1 / -1; }
    .portfolio-nav.prev { left: 3%; }
    .portfolio-nav.next { right: 3%; }
}

@media (max-width: 768px) {
    .hamburger { display: block; }
    .nav-list { display: none; flex-direction: column; position: fixed; top: 0; right: 0; background: var(--surface-color); width: 280px; height: 100vh; padding: 80px 20px 20px 20px; text-align: center; box-shadow: -5px 0 15px rgba(0,0,0,0.2); transform: translateX(100%); transition: transform 0.3s ease-in-out; }
    .nav.active .nav-list { display: flex; transform: translateX(0); }
    .nav.active .hamburger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .nav.active .hamburger span:nth-child(2) { opacity: 0; }
    .nav.active .hamburger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    
    /* --- Alteração aqui --- */
    .benefits-scroller { 
        scroll-snap-type: x mandatory; 
        padding-bottom: 20px; 
    }
    .benefits-nav {
        /* Ajusta o tamanho e posição para telas menores */
        width: 40px;
        height: 40px;
    }
    .benefits-nav.prev {
        left: 5px; /* Reposiciona para dentro da tela */
    }
    .benefits-nav.next {
        right: 5px; /* Reposiciona para dentro da tela */
    }
    /* Fim da alteração */

    .process-container { grid-template-columns: 1fr; gap: 30px; }
    .process-visual { max-width: 250px; margin: 0 auto; }
    
    .portfolio-carousel { height: 350px; }
    .carousel-slide { width: 55%; }
    .slide-content h3 { font-size: 1.2rem; }
    .carousel-slide.active a:hover .slide-content, .carousel-slide.active .slide-content { opacity: 1; }
    .portfolio-nav { width: 40px; height: 40px; }
    .portfolio-nav.prev { left: 15px; }
    .portfolio-nav.next { right: 15px; }

    .plans-container { grid-template-columns: 1fr; }
    .plan-card.featured { transform: scale(1.02); }
}```
