/* ================================================== */
/* CONFIGURAÇÕES BASE E VARIÁVEIS (ESTILO FINAL)      */
/* ================================================== */
:root {
    --background-color: #0d0d0d;
    --surface-color: #1a1a1a;
    --border-color: #2a2a2a;
    --text-primary: #f0f0f0;
    --text-secondary: #a0a0a0;
    --cta-primary-bg: #00f0a0; /* Verde-água/Ciano */
    --cta-primary-text: #0d0d0d;
    --cta-dark-bg: #1C1C1C;
    --cta-dark-text: #f0f0f0;
    --font-family: 'Roboto', sans-serif;
    --max-width: 1600px;
    --text-max-width: 800px;
}

/* --- RESET E ESTILOS BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--background-color);
    color: var(--text-primary);
    font-family: var(--font-family);
    line-height: 1.7;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 3.8rem; font-weight: 900; text-align: center; }
h2 { font-size: 2.8rem; text-align: center; margin-bottom: 1.5rem; }
p { color: var(--text-secondary); font-size: 1.1rem; }

.section-subtitle {
    text-align: center;
    max-width: var(--text-max-width);
    margin: 0 auto 4rem auto;
    font-size: 1.2rem;
}

.text-container {
    max-width: var(--text-max-width);
    margin-left: auto;
    margin-right: auto;
}

.highlight-tag {
    display: inline-block;
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ================================================== */
/* HEADER E NAVBAR (ESTILO FINAL)                     */
/* ================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 2rem;
    background-color: rgba(13, 13, 13, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: padding 0.3s ease, background-color 0.3s ease;
}
.main-header.scrolled {
    background-color: rgba(13, 13, 13, 0.95);
}
.main-header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 0.75rem; font-size: 1.5rem; font-weight: 700; text-decoration: none; color: var(--text-primary); }
.logo img { height: 40px; }
.main-nav { display: flex; gap: 1.5rem; }
.main-nav a { text-decoration: none; color: var(--text-secondary); font-weight: 500; font-size: 1rem; transition: color 0.3s ease; }
.main-nav a:hover { color: var(--cta-primary-bg); }
.header-actions { display: flex; gap: 1rem; }

.btn {
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}
.btn-primary { background-color: var(--cta-primary-bg); color: var(--cta-primary-text); }
.btn-primary:hover { background-color: #fff; color: #000; }
.btn-primary::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent); transition: left 0.6s ease; }
.btn-primary:hover::before { left: 100%; }
.btn-secondary { background-color: var(--cta-dark-bg); color: var(--cta-dark-text); border-color: var(--border-color); }
.btn-secondary:hover { border-color: var(--text-secondary); }
.btn-tertiary { color: var(--text-secondary); background: transparent; }
.btn-tertiary:hover { color: var(--text-primary); }
.btn-large { padding: 0.8rem 2rem; font-size: 1rem; }
.mobile-menu-toggle { display: none; background: none; border: none; color: var(--text-primary); cursor: pointer; z-index: 1001; }

/* ================================================== */
/* SEÇÃO HERO E BARRA DE DESTAQUES                    */
/* ================================================== */
.hero-section { padding-top: 12rem; text-align: center; }
.hero-content .subtitle { font-size: 1.2rem; color: var(--text-secondary); margin: 1.5rem auto 3rem; }
.hero-actions { display: flex; justify-content: center; gap: 1rem; }
#typewriter-title.typing::after { content: '|'; animation: blink 0.7s infinite; color: var(--cta-primary-bg); }
@keyframes blink { 50% { opacity: 0; } }
.hero-background-glow { display: none; }

.features-bar-section {
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.features-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}
.feature-item i {
    color: var(--cta-primary-bg);
}

/* ================================================== */
/* ESTILOS DAS SEÇÕES DE CONTEÚDO                     */
/* ================================================== */
.presentation-video-section, .demo-section, .ia-persona-section, .persona-section, .pricing-section, .faq-section, .cta-section, .about-section { padding: 6rem 2rem; }
.presentation-video-section, .demo-section, .cta-section { text-align: center; }

/* --- AJUSTE APLICADO AQUI --- */
.video-player-wrapper {
    position: relative;
    /* max-width: 1100px;  <-- Linha removida */
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16 / 9;
    background-color: #000;
    border: 1px solid var(--border-color);
}

.video-player-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#play-video-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    border: 2px solid var(--text-primary);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

#play-video-btn i {
    margin-left: 5px;
}

.video-player-wrapper:hover #play-video-btn {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-player-wrapper.playing #play-video-btn {
    opacity: 0;
    pointer-events: none;
}

.demo-container { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; background-color: var(--surface-color); padding: 2rem; border-radius: 24px; border: 1px solid var(--border-color); }
.demo-video-wrapper { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 9; }
#demo-video { width: 100%; height: 100%; object-fit: cover; }
.demo-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; pointer-events: none; }
.demo-overlay.active { opacity: 1; }
.scanner-line { width: 100%; height: 3px; background: var(--cta-primary-bg); box-shadow: 0 0 15px var(--cta-primary-bg); position: absolute; top: 0; animation: scan 3s linear infinite; }
@keyframes scan { 0% { top: 0; } 100% { top: 100%; } }
#demo-status-text { font-weight: 500; color: var(--text-primary); }
.demo-prompt-wrapper { display: flex; flex-direction: column; }
.prompt-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.prompt-header h3 { font-size: 1.2rem; }
.btn-copy { background: var(--cta-dark-bg); border: 1px solid var(--border-color); color: var(--text-secondary); border-radius: 8px; padding: 0.5rem; cursor: pointer; display: flex; align-items: center; gap: 0.5rem; transition: all 0.2s; }
.btn-copy:hover { color: var(--cta-primary-bg); border-color: var(--cta-primary-bg); }
.btn-copy i { width: 16px; height: 16px; }
#demo-prompt-output { width: 100%; flex-grow: 1; background-color: var(--background-color); border: 1px solid var(--border-color); border-radius: 12px; padding: 1rem; color: var(--text-secondary); font-size: 1rem; resize: none; line-height: 1.6; }
#demo-prompt-output:focus { outline: none; border-color: var(--cta-primary-bg); }
.demo-actions { text-align: center; margin-top: 2.5rem; }
.demo-actions .spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.ia-persona-section {
    padding-top: 0;
}
.ia-persona-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: stretch;
    gap: 0;
    background-color: var(--surface-color);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}
.ia-persona-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ia-persona-text {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.ia-persona-text h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: left;
}
.ia-persona-text p {
    margin-bottom: 2rem;
    max-width: 95%;
}
.ia-persona-actions {
    display: flex;
    gap: 1rem;
}

.persona-grid, .pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.persona-card, .pillar-card, .plano-card { background-color: var(--surface-color); padding: 2rem; border-radius: 16px; border: 1px solid var(--border-color); transition: border-color 0.3s ease, transform 0.3s ease; }
.persona-card:hover, .pillar-card:hover, .plano-card:hover { border-color: var(--cta-primary-bg); transform: translateY(-5px); }
.icon-wrapper { height: 40px; display: flex; align-items: center; justify-content: flex-start; margin-bottom: 1.5rem; }
.icon-wrapper svg { width: 36px; height: 36px; fill: var(--cta-primary-bg); }
.persona-card h3, .pillar-card h4 { font-size: 1.5rem; margin-bottom: 0.5rem; text-align: left; }
.persona-card p, .pillar-card p { text-align: left; }

.pricing-section { background-color: var(--background-color); }
.planos-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; align-items: flex-start; }
.plano-card { text-align: left; display: flex; flex-direction: column; height: 100%; }
.plano-card.destaque { border-color: var(--cta-primary-bg); transform: scale(1.05); position: relative; z-index: 1; }
.plano-tag { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background-color: var(--cta-primary-bg); color: var(--cta-primary-text); border-radius: 20px; font-size: 0.9rem; font-weight: 700; padding: 0.4rem 1rem; }
.plano-card h3 { font-size: 1.2rem; font-weight: 500; }
.plano-preco { font-size: 2.5rem; font-weight: 700; color: var(--cta-primary-bg); margin: 0.5rem 0; }
.plano-descricao { margin-bottom: 1.5rem; min-height: 40px; }
.plano-features { list-style: none; padding: 0; margin-bottom: 2rem; flex-grow: 1; }
.plano-features li { display: flex; gap: 0.75rem; margin-bottom: 0.75rem; align-items: center; }
.plano-features li i { color: var(--cta-primary-bg); width: 20px; height: 20px; flex-shrink: 0; }
.plano-card .btn { width: 100%; margin-top: auto; }

.faq-section .highlight-tag { display: block; width: fit-content; margin-left: auto; margin-right: auto; }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-color); }
.faq-question { background: none; border: none; width: 100%; text-align: left; padding: 1.5rem 0; display: flex; justify-content: space-between; align-items: center; cursor: pointer; color: var(--text-primary); font-size: 1.2rem; font-weight: 500; }
.faq-question span { text-align: left; }
.faq-question i { color: var(--cta-primary-bg); transition: transform 0.3s ease; }
.faq-item.active .faq-question i { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out, padding 0.4s ease-out; }
.faq-answer p { padding: 0 0 1.5rem 0; color: var(--text-secondary); text-align: left; }
.faq-item.active .faq-answer { max-height: 200px; }

.cta-section { text-align: center; }
.cta-section h2 { font-size: 2.5rem; }
.cta-section p { 
    font-size: 1.2rem; 
    margin: 1rem auto 2.5rem auto;
}

.about-section { background-color: var(--surface-color); }
.about-pillars { margin-bottom: 5rem; }
.about-us-text { max-width: 800px; margin: 0 auto; text-align: center; }
.about-us-text h3 { font-size: 2rem; margin-bottom: 1rem; text-align: center; }

/* ================================================== */
/* FOOTER E WHATSAPP (ESTILO FINAL)                   */
/* ================================================== */
.main-footer { padding: 4rem 2rem 2rem; border-top: 1px solid var(--border-color); background-color: var(--surface-color); }
.footer-content { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; max-width: var(--max-width); margin: 0 auto; }
.footer-column h4 { font-size: 1rem; font-weight: 500; margin-bottom: 1.5rem; color: var(--text-primary); }
.footer-about .logo { margin-bottom: 1rem; }
.footer-about p { max-width: 300px; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { color: var(--text-secondary); text-decoration: none; transition: color 0.3s ease; }
.footer-links a:hover { color: var(--cta-primary-bg); }
.contact-link { color: var(--cta-primary-bg); text-decoration: none; font-weight: 500; display: block; margin-top: 0.5rem; }
.social-icons { display: flex; gap: 1rem; margin-top: 1.5rem; }
.social-icons a { color: var(--text-secondary); }
.social-icons a:hover { color: var(--cta-primary-bg); }
.trust-seals { display: flex; justify-content: center; align-items: center; gap: 2rem; flex-wrap: wrap; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border-color); }
.seal-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; color: var(--text-secondary); }
.seal-item i { color: var(--cta-primary-bg); }
.seal-item img { height: 24px; filter: grayscale(100%) opacity(0.6); }
.footer-bottom { text-align: center; padding-top: 2rem; color: var(--text-secondary); font-size: 0.9rem; }

.whatsapp-float { position: fixed; bottom: 25px; right: 25px; width: 60px; height: 60px; background-color: #25D366; color: #FFF; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0,0,0,0.3); z-index: 100; transition: transform 0.3s ease; animation: pulse 2s infinite; }
.whatsapp-float:hover { transform: scale(1.1); animation: none; }
.whatsapp-float i { 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 20px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

/* ================================================== */
/* ANIMAÇÕES E RESPONSIVIDADE                         */
/* ================================================== */
.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; transition-delay: var(--animation-delay, 0s); }
.animate-on-scroll.is-visible { opacity: 1; transform: translateY(0); }

/* --- BARRA DE ROLAGEM --- */
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--background-color); }
::-webkit-scrollbar-thumb { background-color: var(--border-color); border-radius: 20px; border: 3px solid var(--background-color); }
::-webkit-scrollbar-thumb:hover { background-color: var(--cta-primary-bg); }
#demo-prompt-output::-webkit-scrollbar { width: 14px; }
#demo-prompt-output::-webkit-scrollbar-track { background: transparent; }
#demo-prompt-output::-webkit-scrollbar-thumb { background-color: var(--border-color); border-radius: 20px; border: 4px solid var(--background-color); }
#demo-prompt-output::-webkit-scrollbar-thumb:hover { background-color: var(--cta-primary-bg); }

@media (max-width: 992px) {
    .main-nav { display: none; }
    .header-actions { display: none; }
    .mobile-menu-toggle { display: block; }
    .mobile-nav-container { display: flex; flex-direction: column; position: fixed; top: 0; right: -100%; width: 300px; height: 100vh; background-color: var(--surface-color); padding: 6rem 2rem 2rem 2rem; transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1); z-index: 999; }
    .mobile-nav-container.open { right: 0; }
    .mobile-nav-container .main-nav { display: flex; flex-direction: column; gap: 0; width: 100%; }
    .mobile-nav-container .main-nav a { padding: 1rem; border-bottom: 1px solid var(--border-color); }
    .mobile-nav-container .header-actions { display: flex; flex-direction: column; gap: 1rem; margin-top: auto; width: 100%; }
    .mobile-nav-container .header-actions .btn { width: 100%; }
    .ia-persona-content { grid-template-columns: 1fr; }
    .demo-container { grid-template-columns: 1fr; }
    .persona-grid, .pillars-grid { grid-template-columns: 1fr; }
    .planos-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
}
@media (min-width: 993px) { .mobile-nav-container { display: none !important; } }
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    section { padding: 4rem 1rem; }
    .hero-section { padding-top: 10rem; }
    .planos-grid { grid-template-columns: 1fr; }
    .ia-persona-content { padding: 2rem; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .footer-about .logo, .social-icons { justify-content: center; }
    .footer-about p { margin-left: auto; margin-right: auto; }
    .footer-column { align-items: center; text-align: center; }
}
