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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--background-color);
    color: var(--text-primary);
    font-family: var(--font-family);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

* {
    box-sizing: border-box;
}

/* ================================================== */
/* HEADER E NAVBAR FINAL                              */
/* ================================================== */
.main-header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    background-color: rgba(13, 13, 13, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.navbar-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-links {
    display: flex;
    gap: 1.5rem;
}

.navbar-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.navbar-links a:hover {
    color: var(--text-primary);
}

.cta-button {
    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: flex;
    align-items: center;
    justify-content: center;
}

.cta-button.primary {
    background-color: var(--cta-primary-bg);
    color: var(--cta-primary-text);
}
.cta-button.primary:hover {
    background-color: #fff;
    color: #000;
}

.cta-button.dark {
    background-color: var(--cta-dark-bg);
    color: var(--cta-dark-text);
    border-color: var(--border-color);
}
.cta-button.dark:hover {
    border-color: var(--text-secondary);
}

.cta-button.transparent {
    background-color: transparent;
    color: var(--text-secondary);
    border-color: var(--border-color);
}
.cta-button.transparent:hover {
    color: var(--text-primary);
    border-color: var(--text-primary);
}

/* ================================================== */
/* SEÇÕES GENÉRICAS (Títulos, etc.)                   */
/* ================================================== */
.hero-section, .persona-section, .info-section, .features-section, .benefits-section, .video-section, .faq-section, .final-cta-section, .pricing-section, .values-section, .about-section, .info-section-compact {
    padding: 6rem 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
}
.hero-section, .info-section, .features-section, .benefits-section, .faq-section, .pricing-section, .values-section, .about-section, .info-section-compact {
    text-align: center;
}

.info-section-compact {
    padding-bottom: 2rem;
    padding-top: 6rem;
}

.info-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);
}

.info-title {
    font-size: 2.8rem;
    font-weight: 700;
    max-width: 800px;
    margin: 0 auto 1rem;
    line-height: 1.2;
}

.info-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 3rem;
}

.info-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* ================================================== */
/* HERO SECTION                                       */
/* ================================================== */
.hero-section {
    padding-top: 12rem;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-title {
    font-size: 3.8rem;
}

.hero-cta-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--cta-dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.5rem;
    max-width: 600px;
    margin: 0 auto 1rem;
}

.prompt-display {
    flex-grow: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-secondary);
    font-size: 1rem;
    padding: 0 1rem;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
}
.cursor {
    animation: blink 1s step-end infinite;
    color: var(--cta-primary-bg);
    font-weight: bold;
}
@keyframes blink {
    from, to { opacity: 1; }
    50% { opacity: 0; }
}

.hero-credit-info {
    display: block;
    margin-top: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ================================================== */
/* SLIDER DE TECNOLOGIAS                              */
/* ================================================== */
.tech-slider-section {
    padding: 2rem 0;
    overflow: hidden;
    position: relative;
    background-color: #000;
    max-width: 100%;
}
.tech-slider-section::before, .tech-slider-section::after {
    content: '';
    position: absolute;
    top: 0;
    width: 15%;
    height: 100%;
    z-index: 2;
}
.tech-slider-section::before {
    left: 0;
    background: linear-gradient(to right, #000, transparent);
}
.tech-slider-section::after {
    right: 0;
    background: linear-gradient(to left, #000, transparent);
}
.slider {
    width: 100%;
    display: flex;
    align-items: center;
}
.slide-track {
    display: flex;
    animation: scroll 20s linear infinite;
}
.slide {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.slide img {
    width: 1520px;
    height: 57px;
    object-fit: contain;
}
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-1520px); }
}

/* ================================================== */
/* SEÇÃO DA PERSONA                                   */
/* ================================================== */
.persona-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 0;
    align-items: stretch;
    background-color: var(--surface-color);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}
.persona-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.persona-text {
    padding: 4rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.persona-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}
.persona-text p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* ================================================== */
/* GRIDS DE RECURSOS, BENEFÍCIOS E VALORES            */
/* ================================================== */
.features-grid.four-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: left;
}
.feature-card {
    background-color: var(--surface-color);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
}
.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--cta-primary-bg);
}
.feature-card h3, .feature-card h4 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}
.feature-card p {
    color: var(--text-secondary);
    margin: 0;
}
.icon-wrapper {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.icon-wrapper svg {
    width: 40px;
    height: 40px;
    fill: var(--cta-primary-bg);
}

/* ================================================== */
/* VIDEO SECTION                                      */
/* ================================================== */
.video-section {
    padding-top: 0;
}
.video-container {
    position: relative;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16 / 9;
    background-color: #000;
}
.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.play-button {
    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);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}
.play-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 54%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 25px solid var(--text-primary);
}
.video-container:hover .play-button { transform: translate(-50%, -50%) scale(1.1); }
.video-container.playing .play-button { opacity: 0; }

/* ================================================== */
/* SEÇÃO DE PLANOS (PRICING)                          */
/* ================================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    align-items: stretch; /* Garante que os cards alinhem suas alturas */
}
.plano-card {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.plano-card .icon-wrapper {
    justify-content: flex-start;
    margin-bottom: 1.5rem;
}
.plano-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.5rem;
}
.plano-preco {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--cta-primary-bg);
    margin: 0.5rem 0;
}
.plano-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0 0 1.5rem;
}
.plano-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    flex-grow: 1;
}
.plano-features li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}
.plano-card.popular {
    border-color: var(--cta-primary-bg);
    position: relative;
    transform: scale(1.05);
}
.plano-card.popular:hover {
    transform: scale(1.08) translateY(-5px);
}
.popular-tag {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--cta-primary-bg);
    color: var(--cta-primary-text);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

/* ================================================== */
/* SEÇÃO SOBRE NÓS                                    */
/* ================================================== */
.about-section {
    border-top: 1px solid var(--border-color);
}
.about-section .info-subtitle {
    text-align: left;
    max-width: 900px;
    line-height: 1.8;
}

/* ================================================== */
/* FAQ                                                */
/* ================================================== */
.faq-section { border-top: 1px solid var(--border-color); }
.faq-container { max-width: 800px; margin: 3rem auto 0; text-align: left; }
.faq-item { border-bottom: 1px solid var(--border-color); padding: 1.5rem 0; }
.faq-item summary { font-size: 1.1rem; font-weight: 500; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; transition: color 0.2s ease; }
.faq-item summary:hover { color: var(--cta-primary-bg); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.5rem; font-weight: 400; transition: transform 0.3s ease; }
.faq-item[open] summary { color: var(--cta-primary-bg); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--text-secondary); margin-top: 1rem; max-width: 95%; line-height: 1.7; }

/* ================================================== */
/* CTA FINAL E FOOTER                                 */
/* ================================================== */
.final-cta-section { padding: 6rem 2rem; }
.final-cta-content { max-width: 800px; margin: 0 auto; padding: 4rem; text-align: center; background: var(--surface-color); border-radius: 24px; border: 1px solid var(--border-color); }
.final-cta-content h3 { font-size: 2rem; margin-bottom: 2rem; }
.cta-button.large { padding: 1rem 3rem; font-size: 1.1rem; }

.main-footer { padding: 4rem 2rem 2rem; border-top: 1px solid var(--border-color); max-width: 100%; }
.footer-content { display: flex; justify-content: space-between; max-width: var(--max-width); margin: 0 auto; gap: 3rem; }
.footer-logo { font-size: 1.5rem; font-weight: bold; }
.footer-links { display: flex; gap: 4rem; }
.link-column h4 { margin-bottom: 1rem; color: var(--text-secondary); font-size: 0.9rem; font-weight: 400; }
.link-column a { display: block; color: var(--text-primary); text-decoration: none; margin-bottom: 0.75rem; transition: color 0.2s ease; }
.link-column a:hover { color: var(--cta-primary-bg); }
.footer-bottom { text-align: center; margin-top: 4rem; color: var(--text-secondary); font-size: 0.9rem; }

/* ================================================== */
/* BOTÃO FLUTUANTE WHATSAPP                           */
/* ================================================== */
.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;
}
.whatsapp-float:hover {
    transform: scale(1.1);
}
.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

/* ================================================== */
/* RESPONSIVIDADE                                     */
/* ================================================== */
@media (max-width: 992px) {
    .features-grid.four-columns, .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .persona-card {
        grid-template-columns: 1fr;
    }
    .persona-text {
        padding: 3rem;
    }
}
@media (max-width: 768px) {
    .main-header { padding: 0.5rem 1rem; }
    .navbar-links { display: none; }
    .hero-title, .info-title { font-size: 2.2rem; }
    .persona-text { padding: 2rem; }
    .features-grid.four-columns, .pricing-grid { grid-template-columns: 1fr; }
    .footer-content, .footer-links { flex-direction: column; }
}
