/* ======================= RESET & GLOBAL STYLES ======================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary: #7F5AF0;       /* Roxo Moderno */
    --secondary: #00C1FF;      /* Azul Elétrico / Ciano */
    --tertiary: #2CB67D;      /* Verde para destaque (ex: ícones de 'check') */
    --background: #0A0A10;    /* Preto/Azul muito escuro */
    --surface: #161623;       /* Superfície para cards */
    --text-headline: #FFFFFE; /* Branco puro para títulos */
    --text-body: #94A1B2;      /* Cinza azulado para corpo de texto */
    --text-muted: #72757E;     /* Cinza mais escuro */

    --accent-gradient: linear-gradient(90deg, var(--primary), var(--secondary));
    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'DM Serif Display', serif;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 8px 15px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 15px 30px rgba(0, 0, 0, 0.25);
}

html { scroll-behavior: smooth; scroll-padding-top: 100px; }

body {
    background-color: var(--background);
    color: var(--text-body);
    font-family: var(--font-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1200px; width: 100%; margin: 0 auto; padding: 0 2rem; }
section { padding-block: clamp(5rem, 12vh, 8rem); }
h1, h2, h3 { font-family: var(--font-primary); color: var(--text-headline); line-height: 1.2; font-weight: 600; }
h1 { font-size: clamp(2.8rem, 5vw + 1rem, 4.5rem); font-family: var(--font-secondary); font-weight: 400;}
h2 { font-size: clamp(2.2rem, 4vw + 1rem, 3.5rem); margin-bottom: 1rem; font-family: var(--font-secondary); font-weight: 400;}
h3 { font-size: 1.5rem; }
p { max-width: 65ch; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header p { margin: 0 auto; color: var(--text-body); font-size: clamp(1rem, 2vw, 1.2rem); max-width: 50ch; }

/* ======================= BUTTONS ======================= */
.btn {
    display: block; width: 100%; padding: 0.85rem 1.75rem; border-radius: 8px;
    text-decoration: none; font-weight: 600; font-size: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    border: 2px solid transparent; cursor: pointer; text-align: center;
}
.hero-cta-buttons .btn { display: inline-block; width: auto; }
.btn-primary {
    background-image: var(--accent-gradient); color: white;
    box-shadow: 0 4px 15px rgba(127, 90, 240, 0.2);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0, 193, 255, 0.3);
}
.btn-secondary {
    background-color: rgba(255, 255, 255, 0.05); color: var(--text-headline);
    border: 2px solid rgba(255, 255, 255, 0.1);
}
.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}
.btn-large { padding: 1rem 2.2rem; font-size: 1.1rem; }

/* ======================= HEADER ======================= */
.site-header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    padding-block: 1.5rem;
    transition: padding-block 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
    padding-block: 0.75rem;
    background-color: rgba(10, 10, 16, 0.8);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.header-container { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--text-headline); font-weight: 600; font-size: 1.25rem; }
.main-nav ul { display: flex; gap: 2rem; list-style: none; }
.main-nav a { text-decoration: none; color: var(--text-body); font-weight: 500; transition: color 0.3s ease; }
.main-nav a:hover { color: var(--text-headline); }
.mobile-nav-toggle { display: none; background: none; border: none; cursor: pointer; z-index: 1001; }
.mobile-nav-toggle .icon-close { display: none; }
.mobile-nav-toggle svg { color: var(--text-headline); }

/* ======================= HERO SECTION ======================= */
.hero-section {
    padding-top: 150px; padding-bottom: 5rem;
    background: radial-gradient(ellipse at 50% -20%, rgba(127, 90, 240, 0.15), var(--background) 40%);
    overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1fr 0.8fr; align-items: center; gap: 2rem; }
.hero-content { text-align: left; }
.hero-subheadline { margin: 1.5rem 0 2.5rem; }
.hero-cta-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-visual svg { max-width: 500px; width: 100%; height: auto; opacity: 0.7; }

/* ======================= SOCIAL PROOF ======================= */
.social-proof-section { padding-block: 2.5rem; background-color: transparent; border-bottom: 1px solid var(--surface); }
.social-proof-text { color: var(--text-muted); font-weight: 500; text-align: center; margin-bottom: 2rem; }
.company-logos { display: flex; justify-content: center; align-items: center; gap: clamp(2rem, 6vw, 4rem); flex-wrap: wrap; }
.company-logos p { font-family: var(--font-secondary); font-size: 1.5rem; color: var(--text-muted); transition: color 0.3s ease; }
.company-logos p:hover { color: var(--text-headline); }


/* ======================= PRICING SECTION (NOVO) ======================= */
.pricing-section { background-color: var(--background); }
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    align-items: center;
}
.pricing-card {
    background-color: var(--surface);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}
.pricing-card .card-description {
    color: var(--text-body);
    margin: 0.5rem 0 1.5rem;
    min-height: 70px; /* Alinhar verticalmente */
}
.price-tag {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-headline);
    margin-bottom: 2rem;
    line-height: 1;
}
.price-tag span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-body);
    margin-left: 0.5rem;
}
.benefits-list {
    list-style: none;
    margin: 0 0 2rem 0;
    padding: 0;
    flex-grow: 1; /* Faz a lista crescer para alinhar botões */
}
.benefits-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-body);
}
.benefits-list li svg {
    color: var(--tertiary);
    flex-shrink: 0;
}
.benefits-list li strong {
    color: var(--text-headline);
    font-weight: 600;
}

/* Estilo do card em destaque */
.pricing-card.highlighted {
    transform: scale(1.05);
    border: 2px solid var(--primary);
    box-shadow: 0 0 30px rgba(127, 90, 240, 0.3);
}
.badge {
    position: absolute;
    top: 0;
    right: 0;
    background-image: var(--accent-gradient);
    color: white;
    padding: 0.5rem 2rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    transform: rotate(45deg) translate(28%, -10px);
    transform-origin: center;
    width: 150px;
    text-align: center;
}


/* ======================= BENEFÍCIOS, PLATAFORMA, COMUNIDADE ... ======================= */
/* Todos os estilos das seções subsequentes permanecem os mesmos da versão anterior */
.benefits-section { background-color: var(--surface); }
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; }
.benefit-card { background-color: var(--background); padding: 2rem; border-radius: 12px; border: 1px solid rgba(255,255,255,0.05); transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.benefit-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(127, 90, 240, 0.5); }
.benefit-icon { display: inline-flex; padding: 0.75rem; background-image: var(--accent-gradient); border-radius: 8px; margin-bottom: 1.5rem; }
.benefit-icon svg { stroke: white; width: 28px; height: 28px; }
.benefit-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.feature-section, .feature-section-alt { overflow: hidden; }
.feature-grid, .feature-grid-reversed { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 8vw, 6rem); }
.feature-content { text-align: left; }
.feature-list { list-style: none; margin-top: 1.5rem; padding-left: 0; }
.feature-list li { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.feature-list svg { color: var(--tertiary); flex-shrink: 0; }
.feature-visual { padding: 1rem; }
.feature-visual svg { border-radius: 12px; width: 100%; height: auto; }
.feature-section-alt { background-color: var(--surface); }
.testimonial-carousel-container { position: relative; max-width: 800px; margin: 0 auto; }
.testimonial-carousel-wrapper { display: flex; overflow: hidden; }
.testimonial-slide { flex: 0 0 100%; padding: 2.5rem; background-color: var(--surface); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; scroll-snap-align: start; transition: transform 0.5s ease-in-out; }
.stars { color: #FFC107; font-size: 1.25rem; margin-bottom: 1rem; }
blockquote { font-size: clamp(1.1rem, 2vw, 1.4rem); font-style: italic; margin-bottom: 1.5rem; border: none; padding: 0; color: var(--text-headline); }
.author { display: flex; align-items: center; gap: 1rem; }
.author img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
.author cite { font-style: normal; }
.author strong { display: block; color: var(--text-headline); }
.author span { color: var(--text-body); }
.carousel-navigation { display: flex; justify-content: center; gap: 1rem; margin-top: 2rem; }
.carousel-btn { background: var(--surface); border: 1px solid rgba(255, 255, 255, 0.1); color: var(--text-headline); width: 44px; height: 44px; border-radius: 50%; cursor: pointer; font-size: 1.5rem; transition: all 0.2s ease; }
.carousel-btn:hover { background-color: var(--primary); }
.faq-section { background-color: var(--surface); }
.faq-container { max-width: 800px; margin: 0 auto; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.faq-item { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.faq-question { width: 100%; background: none; border: none; padding: 1.5rem 0; display: flex; justify-content: space-between; align-items: center; cursor: pointer; text-align: left; color: var(--text-headline); font-size: 1.2rem; font-weight: 500; }
.faq-icon { transition: transform 0.3s ease; flex-shrink: 0; color: var(--primary); }
.faq-item.active .faq-icon { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out, padding-bottom 0.4s ease; }
.faq-answer p { padding-bottom: 1.5rem; color: var(--text-body); }
.faq-item.active .faq-answer { max-height: 200px; }
.final-cta-section { background: var(--accent-gradient); text-align: center; }
.final-cta-section h2 { color: white; }
.final-cta-section p { color: rgba(255,255,255,0.9); margin: 1rem auto 2.5rem; }
.btn-cta-final { background: white; color: var(--primary); box-shadow: var(--shadow-lg); }
.btn-cta-final:hover { background-color: #f0f0f0; transform: translateY(-3px) scale(1.05); box-shadow: 0 10px 25px rgba(0,0,0,0.2); }
.site-footer-bottom { background-color: #06060c; padding-block: 2rem; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.footer-info { display: flex; align-items: center; gap: 1.5rem; }
.footer-info p { color: var(--text-muted); font-size: 0.9rem; }
.footer-social { display: flex; gap: 1rem; }
.footer-social a { color: var(--text-muted); transition: color 0.3s ease; }
.footer-social a:hover { color: white; }

/* ======================= ANIMATIONS & RESPONSIVENESS ======================= */
.reveal-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.reveal-on-scroll.is-visible { opacity: 1; transform: translateY(0); }
.reveal-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.reveal-on-scroll:nth-child(3) { transition-delay: 0.2s; }

/* Media Queries */
@media (max-width: 992px) {
    .hero-grid, .feature-grid, .feature-grid-reversed { grid-template-columns: 1fr; }
    .hero-content { text-align: center; }
    .hero-cta-buttons { justify-content: center; }
    .hero-visual { margin-top: 3rem; order: 2; }
    .hero-content { order: 1; }
    .feature-grid-reversed .feature-visual { order: 2; }
    .feature-grid-reversed .feature-content { order: 1; }
    .feature-content { text-align: center; }
    .feature-list { display: inline-block; text-align: left; }
    .pricing-card.highlighted { transform: scale(1); } /* Remove a escala no mobile para evitar sobreposição */
}

@media (max-width: 768px) {
    .main-nav, .header-actions { display: none; }
    .mobile-nav-toggle { display: block; }
    .site-header.nav-open .main-nav { display: flex; flex-direction: column; position: fixed; top: 0; right: 0; width: 100%; height: 100vh; background: var(--background); padding: 6rem 2rem 2rem; text-align: center; }
    .site-header.nav-open .main-nav ul { flex-direction: column; gap: 2rem; }
    .site-header.nav-open .main-nav a { font-size: 1.5rem; color: var(--text-headline); }
    .site-header.nav-open .header-actions { display: block; margin-top: 2rem; }
    .site-header.nav-open .mobile-nav-toggle .icon-menu { display: none; }
    .site-header.nav-open .mobile-nav-toggle .icon-close { display: block; }
    .footer-content { flex-direction: column; text-align: center; }
}