/* ══════════════════════════════════════════════════════════
   ChatADM — Design System & Layout
   Paleta extraída do site original
   ══════════════════════════════════════════════════════════ */

/* ── Fontes ── */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* ── Variáveis ── */
:root {
    /* Cores primárias */
    --green:        #00ff88;
    --green-hover:  #00e67a;
    --green-soft:   rgba(0, 255, 136, 0.15);
    --green-muted:  #64e79e;        /* rgb(100,231,158) */
    --green-dark:   #0c6132;
    --green-badge:  rgba(0, 255, 136, 0.85);

    /* Destaque "Grátis" */
    --gold:         #f4ff85;
    --gold-hover:   #e6f06e;
    --gold-soft:    rgba(244, 255, 133, 0.15);
    --gold-badge:   rgba(244, 255, 133, 0.90);

    /* Backgrounds */
    --bg-body:      #030705;         /* quase preto */
    --bg-deep:      #0b0f14;         /* deep dark */
    --bg-card:      #1c1f26;         /* cards */
    --bg-card-a:    rgba(28,31,38,0.9);
    --bg-surface:   #0d0d0d;
    --bg-input:     #000000;

    /* Texto */
    --text-primary:  #fdfdfd;
    --text-secondary:#b8b8b8;
    --text-muted:    rgba(253,253,253,0.6);
    --text-faded:    rgba(253,253,253,0.4);

    /* Bordas */
    --border-color:  #444645;
    --border-subtle: rgba(11,15,20,0.6);

    /* Misc */
    --radius-sm:  8px;
    --radius-md: 15px;
    --radius-lg: 22px;
    --radius-pill:300px;
    --shadow: 0 4px 30px rgba(0,0,0,.4);

    /* Espaçamento */
    --section-py: 100px;
    --container-max: 1200px;
    --gap: 24px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-body);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
input, textarea { font: inherit; }

/* ── Utilitários ── */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }
.row      { display: flex; flex-wrap: wrap; }
.between  { justify-content: space-between; }
.center   { align-items: center; }

/* ══════════════════════════════════════
   TOPBAR
   ══════════════════════════════════════ */
.topbar {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: var(--container-max);
    z-index: 1000;
    background: var(--bg-card-a);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-pill);
    padding: 12px 28px;
    border: 1px solid rgba(255,255,255,0.06);
}

.topbar .container { padding: 0; }

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 400;
    color: var(--text-primary);
}
.brand strong { font-weight: 700; }
.brand-logo { height: 28px; width: auto; }

.menu {
    display: flex;
    align-items: center;
    gap: 28px;
}
.menu a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    transition: color .2s;
}
.menu a:hover { color: var(--text-primary); }
.menu a.btn { color: var(--bg-body); }
.menu a.btn:hover { color: var(--bg-body); }

/* Menu dropdown */
.menu-dropdown-wrapper {
    position: relative;
}

.menu-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: color .2s;
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
}
.menu-dropdown-trigger:hover { color: var(--text-primary); }
.menu-dropdown-trigger svg {
    width: 14px;
    height: 14px;
    transition: transform .2s;
}
.menu-dropdown-wrapper.is-open .menu-dropdown-trigger svg {
    transform: rotate(180deg);
}
.menu-dropdown-wrapper.is-open .menu-dropdown-trigger {
    color: var(--text-primary);
}

.menu-dropdown {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 280px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s, transform .2s, visibility .2s;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.menu-dropdown-wrapper.is-open .menu-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.menu-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: background .15s, color .15s;
    text-decoration: none;
}
.menu-dropdown-item:hover {
    background: rgba(255,255,255,0.04);
    color: var(--text-primary);
}
.menu-dropdown-item svg {
    width: 20px;
    height: 20px;
    color: var(--green);
    flex-shrink: 0;
}

.menu-dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 6px 0;
}

.menu-dropdown-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    color: var(--green);
    transition: background .15s;
    text-decoration: none;
}
.menu-dropdown-footer:hover {
    background: rgba(0,255,136,0.06);
}
.menu-dropdown-footer svg {
    width: 14px;
    height: 14px;
}

/* ══════════════════════════════════════
   BOTÕES
   ══════════════════════════════════════ */
.btn, .btn-submit-form {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 700;
    border-radius: var(--radius-pill);
    transition: all .25s;
    white-space: nowrap;
}

.btn {
    background: var(--green-muted);
    color: var(--bg-body);
}
.btn:hover { background: var(--green); }

.btn-small {
    padding: 10px 22px;
    font-size: 14px;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--text-primary);
    color: var(--text-primary);
}
.btn-outline:hover {
    background: var(--text-primary);
    color: var(--bg-body);
}

.btn-gold {
    background: var(--gold);
    color: var(--bg-body);
}
.btn-gold:hover {
    background: var(--gold-hover);
    color: var(--bg-body);
}
.btn-gold .arrow-circle {
    background: var(--bg-body);
    color: var(--gold);
}

.btn-arrow { gap: 12px; }

.arrow-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-body);
    color: var(--green-muted);
    flex-shrink: 0;
}

.arrow-circle-green {
    background: var(--green);
    color: var(--bg-body);
}

.btn-submit-form {
    width: 100%;
    justify-content: center;
    background: var(--text-primary);
    color: var(--bg-body);
    font-weight: 600;
    border-radius: var(--radius-pill);
    padding: 16px 28px;
}
.btn-submit-form:hover { background: #e0e0e0; }
.btn-submit-form:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ══════════════════════════════════════
   HERO
   ══════════════════════════════════════ */
.hero {
    position: relative;
    padding: 180px 0 80px;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,255,136,0.06) 0%, transparent 70%),
        var(--bg-body);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}
.hero-text h1 span {
    color: var(--green);
}

.hero-subtitle {
    margin-top: 16px;
    font-size: 30px;
    font-weight: 300;
    font-style: italic;
    color: var(--text-secondary);
}

.lead {
    margin-top: 20px;
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 500px;
}
.lead strong { color: var(--text-primary); font-weight: 600; }

.actions { margin-top: 32px; display: flex; gap: 16px; flex-wrap: wrap; }

.hero-chat-wrapper {
    position: relative;
    background: var(--bg-deep);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    min-height: 400px;
    overflow: hidden;
}

/* ══════════════════════════════════════
   ANIMATED CHAT COMPONENT
   ══════════════════════════════════════ */
#chatadm-animated-chat {
    font-family: 'Poppins', sans-serif;
    width: 100%;
    height: 100%;
}

.chatadm-chat-container {
    position: relative;
    width: 100%;
    height: 100%;
    background: transparent;
}

.chatadm-messages-wrapper {
    width: 100%;
    height: 100%;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.chatadm-messages {
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow: hidden;
    flex: 1;
}

.chatadm-message {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    animation: chatadmFadeInUp 0.3s ease-out;
    opacity: 0;
    animation-fill-mode: forwards;
    flex-shrink: 0;
}

.chatadm-message.user {
    flex-direction: row-reverse;
}

.chatadm-message.visible {
    opacity: 1;
}

.chatadm-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.chatadm-avatar.user {
    background: var(--green-muted);
    color: #0b0f14;
    padding: 6px;
}

.chatadm-avatar.user svg {
    width: 100%;
    height: 100%;
}

.chatadm-avatar.bot {
    background: var(--green-soft);
    padding: 4px;
}

.chatadm-avatar.bot img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.chatadm-content {
    flex: 1;
    background: var(--bg-card-a);
    padding: 12px 16px;
    border-radius: 16px;
    max-width: 75%;
    position: relative;
}

.chatadm-content.user {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.chatadm-content.bot {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
}

.chatadm-text {
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.chatadm-text table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
    font-size: 13px;
}

.chatadm-text table th,
.chatadm-text table td {
    padding: 8px 12px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.chatadm-text table th {
    color: var(--green);
    font-weight: 600;
    background: rgba(0, 255, 136, 0.05);
}

.chatadm-text table td {
    color: var(--text-secondary);
}

.chatadm-text table tr:last-child td {
    border-bottom: none;
}

.chatadm-export-btn {
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--green-soft);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: var(--radius-sm);
    color: var(--green);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.chatadm-export-btn:hover {
    background: rgba(0, 255, 136, 0.25);
    border-color: rgba(0, 255, 136, 0.4);
    transform: translateY(-1px);
}

@keyframes chatadmFadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ══════════════════════════════════════
   MARQUEE (letreiro rolante)
   ══════════════════════════════════════ */
.marquee-section {
    padding: 20px 0;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-shrink: 0;
    padding-right: 32px;
}

.marquee-item {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    white-space: nowrap;
}

.marquee-divider {
    color: var(--green);
    font-size: 8px;
}

@keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ══════════════════════════════════════
   SEÇÕES GENÉRICAS
   ══════════════════════════════════════ */
.section {
    padding: var(--section-py) 0;
}

.section-dark {
    background: var(--bg-deep);
}

.section-soft {
    background: linear-gradient(180deg, var(--bg-body) 0%, var(--bg-deep) 100%);
}

.section h2 {
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 48px;
}

/* ══════════════════════════════════════
   SOBRE — Stats
   ══════════════════════════════════════ */
.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
    margin: 48px 0 32px;
}

.stat-item {
    background: var(--bg-deep);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 32px 24px;
    text-align: left;
}

.kpi-value {
    display: block;
    font-size: clamp(36px, 4vw, 48px);
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 8px;
}

.stat-item span {
    font-size: 14px;
    color: var(--text-secondary);
}

.stat-description {
    margin-top: 24px;
}
.stat-description h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}
.stat-description p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* ══════════════════════════════════════
   FEATURES (grid de cards)
   ══════════════════════════════════════ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: border-color .3s;
}
.feature-card:hover { border-color: var(--green); }

.feature-card.span-2 { grid-column: span 2; }

.feature-card-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--green);
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 600;
}

.feature-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Feature tags */
.feature-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.feature-tag {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    border-radius: var(--radius-pill);
    background: rgba(0,255,136,0.08);
    color: var(--green);
    border: 1px solid rgba(0,255,136,0.15);
}

/* Feature chat input */
.feature-chat-input {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    font-size: 14px;
    color: var(--text-muted);
}
.send-icon { width: 20px; height: 20px; color: var(--green); }

/* Feature bars */
.feature-bars { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.feature-bar { display: flex; align-items: center; gap: 12px; }
.feature-bar-label { font-size: 13px; color: var(--text-muted); min-width: 80px; }
.feature-bar-track {
    flex: 1; height: 8px;
    background: rgba(255,255,255,0.06);
    border-radius: 99px; overflow: hidden;
}
.feature-bar-fill {
    height: 100%;
    background: var(--green);
    border-radius: 99px;
    transition: width 1s ease;
}
.feature-bar-value { font-size: 13px; font-weight: 600; color: var(--green); min-width: 36px; text-align: right; }

/* Feature big number */
.feature-big-number {
    font-size: clamp(48px, 6vw, 72px);
    font-weight: 700;
    color: var(--green);
    line-height: 1;
}

/* Feature user card */
.feature-user-card {
    display: flex; align-items: center; gap: 14px;
    margin-top: auto;
    padding: 16px;
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
}
.feature-user-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--green-soft);
    color: var(--green);
    display: flex; align-items: center; justify-content: center;
    font-weight: 600; font-size: 14px;
}
.feature-user-info strong { display: block; font-size: 14px; }
.feature-user-info span  { font-size: 13px; color: var(--text-muted); }

/* ══════════════════════════════════════
   MARQUEE CTA
   ══════════════════════════════════════ */
.marquee-cta {
    padding: 18px 0;
    background: var(--gold);
    overflow: hidden;
}
.marquee-cta .marquee-track { animation: marquee 40s linear infinite; }
.marquee-cta .marquee-content { gap: 40px; }

.marquee-cta-text {
    font-size: 15px;
    font-weight: 500;
    color: var(--bg-body);
    white-space: nowrap;
}
.marquee-cta .btn-small {
    background: var(--bg-body);
    color: var(--gold);
    flex-shrink: 0;
}
.marquee-cta .btn-small:hover {
    background: #1a1d22;
}

/* ══════════════════════════════════════
   COMO FUNCIONA — Steps
   ══════════════════════════════════════ */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap);
    margin-top: 48px;
}

.steps article {
    background: var(--bg-deep);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 32px 24px;
    transition: border-color .3s;
}
.steps article:hover { border-color: var(--green); }

.steps article span {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 16px;
}

.steps article h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.steps article p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* ══════════════════════════════════════
   DEPOIMENTOS
   ══════════════════════════════════════ */
.testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
}

.testimonials blockquote {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.55;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.testimonials blockquote h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.testimonials blockquote footer {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.06);
    font-size: 13px;
    color: var(--text-muted);
}
.testimonials blockquote footer strong {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
}

/* ══════════════════════════════════════
   FAQ
   ══════════════════════════════════════ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

.faq-list details {
    background: var(--bg-deep);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color .3s;
}
.faq-list details[open] { border-color: var(--green); }

.faq-list summary {
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
    content: '+';
    font-size: 22px;
    font-weight: 300;
    color: var(--green);
    transition: transform .2s;
}
.faq-list details[open] summary::after { content: '−'; }

.faq-list details p {
    padding: 0 24px 20px;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ══════════════════════════════════════
   COMPARAÇÃO
   ══════════════════════════════════════ */
.comparison-section { overflow: hidden; }

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap);
    margin-top: 48px;
}

.comparison-card {
    border-radius: var(--radius-md);
    padding: 40px 32px;
}

.comparison-card.chatadm {
    background: rgba(0,194,110,0.4);
    border: 1px solid var(--border-subtle);
}
.comparison-card.traditional {
    background: rgba(28,31,38,0.64);
    border: 1px solid var(--border-subtle);
}

.comparison-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 24px;
}

.comparison-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.comparison-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-secondary);
}

.comparison-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}
.chatadm .comparison-icon    { background: var(--green-soft); color: var(--green); }
.traditional .comparison-icon { background: rgba(255,255,255,0.06); color: var(--text-faded); }

/* ══════════════════════════════════════
   PREÇO
   ══════════════════════════════════════ */
.pricing-center { text-align: center; }

.pricing-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 48px 40px;
    max-width: 420px;
    width: 100%;
    text-align: left;
    position: relative;
}

.pricing-promo {
    position: absolute;
    top: -1px; right: 32px;
    background: var(--gold-badge);
    color: var(--bg-body);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 0 0 6px 6px;
    text-transform: uppercase;
}

.pricing-badge {
    display: inline-block;
    background: rgba(0,255,136,0.1);
    color: var(--green);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    margin-bottom: 24px;
    letter-spacing: 0.05em;
}

.pricing-old-price {
    font-size: 16px;
    color: var(--text-faded);
    text-decoration: line-through;
}

.pricing-price {
    font-size: 48px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.1;
    margin: 4px 0;
}

.pricing-period {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}
.pricing-features li {
    font-size: 14px;
    color: var(--text-secondary);
    padding-left: 24px;
    position: relative;
}
.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
}

.pricing-note {
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
}

/* ══════════════════════════════════════
   CONTATO / CTA
   ══════════════════════════════════════ */
.cta {
    background:
        radial-gradient(ellipse 70% 50% at 50% 100%, rgba(0,255,136,0.08) 0%, transparent 70%),
        var(--bg-body);
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.cta-text h2 {
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 600;
    line-height: 1.15;
}
.cta-text h2 span { color: var(--green); }

.cta-subtitle {
    margin-top: 12px;
    font-size: 16px;
    color: var(--text-secondary);
}

/* ── Formulário ── */
.form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.form-group label,
.form-card > label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
}
.form-group input,
.form-card > input {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    font-size: 15px;
    color: var(--text-primary);
    outline: none;
    transition: border-color .2s;
}
.form-group input::placeholder,
.form-card > input::placeholder { color: var(--text-faded); }
.form-group input:focus,
.form-card > input:focus { border-color: var(--green); }

.input-password-wrapper {
    position: relative;
}
.input-password-wrapper input { width: 100%; padding-right: 48px; }
.password-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    padding: 4px;
    transition: color .2s;
}
.password-toggle:hover { color: var(--green); }

.form-notice {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}
.form-consent {
    text-align: center;
    font-size: 12px;
    color: var(--text-faded);
}

.form-feedback {
    font-size: 0.88rem;
    margin-top: 8px;
    text-align: center;
    min-height: 1.2em;
}

/* ══════════════════════════════════════
   FOOTER
   ══════════════════════════════════════ */
.site-footer {
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}
.footer-brand img { height: 28px; width: auto; }

.footer-about p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 320px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}
.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all .2s;
}
.footer-social a:hover { background: var(--green-soft); color: var(--green); }
.footer-social svg { width: 18px; height: 18px; }

.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
    font-size: 14px;
    color: var(--text-muted);
    transition: color .2s;
}
.footer-col a:hover { color: var(--green); }

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-muted);
}
.footer-contact-item svg { width: 16px; height: 16px; flex-shrink: 0; }

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-faded);
}

.footer-bottom p { margin: 0; }

.footer-bottom-links {
    display: flex;
    gap: 24px;
}
.footer-bottom-links a { color: var(--text-muted); transition: color .2s; }
.footer-bottom-links a:hover { color: var(--green); }

/* ══════════════════════════════════════
   PÁGINA 404
   ══════════════════════════════════════ */
.page-404 {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    padding: 60px 20px;
    padding-top: 120px;
}

.container-404 {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.card-404 {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.img-404 {
    max-width: 380px;
    width: 100%;
    height: auto;
    margin-bottom: 12px;
}

.text-404 {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.btn-404 {
    font-size: 15px;
    padding: 14px 32px;
    margin-top: 8px;
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .card-404 {
        padding: 40px 24px;
    }

    .img-404 {
        max-width: 260px;
    }
}

/* ══════════════════════════════════════
   LEGAL PAGES
   ══════════════════════════════════════ */
.legal-page {
    max-width: 800px;
    padding: 32px 0 64px;
}

.legal-page h1 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 8px;
}

.legal-updated {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 32px;
}

.legal-page h2 {
    font-size: 1.2rem;
    margin-top: 32px;
    margin-bottom: 10px;
    color: var(--green);
}

.legal-page p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
}

.legal-page ul {
    color: var(--text-secondary);
    line-height: 1.7;
    padding-left: 20px;
    margin-bottom: 12px;
}

.legal-page li {
    margin-bottom: 6px;
}

.legal-page strong {
    color: var(--text-primary);
}

/* ══════════════════════════════════════
   ANIMAÇÕES DE ENTRADA
   ══════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(4px);
    transition:
        opacity 0.65s ease var(--reveal-delay, 0ms),
        transform 0.65s ease var(--reveal-delay, 0ms),
        filter 0.65s ease var(--reveal-delay, 0ms);
}

.reveal.from-left {
    transform: translateX(-28px);
}

.reveal.from-right {
    transform: translateX(28px);
}

.reveal.zoom {
    transform: scale(0.96);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateX(0) translateY(0) scale(1);
    filter: blur(0);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.92); }
    to   { opacity: 1; transform: scale(1); }
}

/* ══════════════════════════════════════
   RESPONSIVO
   ══════════════════════════════════════ */
@media (max-width: 1024px) {
    .hero-grid        { grid-template-columns: 1fr; }
    .features-grid    { grid-template-columns: 1fr 1fr; }
    .feature-card.span-2 { grid-column: span 1; }
    .steps            { grid-template-columns: repeat(2, 1fr); }
    .comparison-grid  { grid-template-columns: 1fr; }
    .cta-grid         { grid-template-columns: 1fr; }
    .footer-grid      { grid-template-columns: 1fr 1fr; }
}

/* ══════════════════════════════════════
   MOBILE MENU
   ══════════════════════════════════════ */

/* Botão hambúrguer — escondido no desktop */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    -webkit-tap-highlight-color: transparent;
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Animação X quando aberto */
.mobile-menu-toggle.is-active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mobile-menu-toggle.is-active .hamburger-line:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.is-active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Overlay escuro por trás do drawer */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(3,7,5,0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-menu-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

/* Drawer lateral */
.mobile-menu-drawer {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    max-width: 85vw;
    height: 100%;
    background: var(--bg-card);
    border-left: 1px solid rgba(255,255,255,0.06);
    display: flex;
    flex-direction: column;
    padding: 24px;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.mobile-menu-overlay.is-open .mobile-menu-drawer {
    transform: translateX(0);
}

/* Header do drawer (logo + botão fechar) */
.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.mobile-menu-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.06);
    color: var(--text-muted);
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}
.mobile-menu-close:hover {
    background: rgba(255,255,255,0.12);
    color: var(--text-primary);
}

/* Links de navegação do drawer */
.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}
.mobile-menu-links a {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: background 0.15s, color 0.15s;
}
.mobile-menu-links a:hover {
    background: rgba(255,255,255,0.04);
    color: var(--text-primary);
}

/* CTA no rodapé do drawer */
.mobile-menu-cta {
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
    margin-top: auto;
}

/* Body lock quando menu mobile está aberto */
body.mobile-menu-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    :root { --section-py: 64px; }

    .topbar { padding: 10px 18px; }
    .menu { display: none; }
    .mobile-menu-toggle { display: flex; }

    .hero { padding: 140px 0 48px; }
    .hero-text h1 { font-size: 32px; }

    .stats-row        { grid-template-columns: 1fr; }
    .features-grid    { grid-template-columns: 1fr; }
    .testimonials     { grid-template-columns: 1fr; }
    .steps            { grid-template-columns: 1fr; }
    .footer-grid      { grid-template-columns: 1fr; gap: 32px; }
    .form-row         { grid-template-columns: 1fr; }
    .form-card        { padding: 24px; gap: 16px; }

    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* ══════════════════════════════════════
   LANDING PAGE (/lp)
   ══════════════════════════════════════ */

/* Hero sem topbar */
.hero-lp {
    padding: 80px 0 80px;
}

/* ── Modal Lead Form ── */
.lp-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(3, 7, 5, 0.25);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lp-modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.lp-modal {
    position: relative;
    width: 100%;
    max-width: 520px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: clamp(24px, 3vh, 40px) clamp(20px, 3vw, 40px);
    margin: 16px;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.3s ease;
}

.lp-modal-overlay.is-open .lp-modal {
    transform: translateY(0) scale(1);
}

.lp-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    background: rgba(255,255,255,0.06);
    transition: all 0.2s;
    z-index: 1;
}
.lp-modal-close:hover {
    background: rgba(255,255,255,0.12);
    color: var(--text-primary);
}

/* Modal form: 4 blocos com espaçamento uniforme */
.lp-modal-form {
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 2.4vh, 24px);
    background: transparent;
    border: none;
    padding: 0;
}

/* Bloco 1: Título + Subtítulo */
.lp-modal-header h2 {
    font-size: clamp(18px, 2.5vh, 24px);
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
    padding-right: 40px;
}

.lp-modal-header .lp-modal-subtitle {
    font-size: clamp(12px, 1.5vh, 14px);
    color: var(--text-secondary);
    margin: 0;
}

/* Bloco 2: Campos */
.lp-modal-fields {
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 1.5vh, 16px);
}

.lp-modal-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(10px, 1.5vh, 16px);
}

.lp-modal-form .form-group {
    width: 100%;
    gap: 4px;
}

.lp-modal-form .form-group input {
    width: 100%;
    padding: clamp(10px, 1.4vh, 14px) 16px;
    font-size: clamp(13px, 1.5vh, 15px);
}

.lp-modal-form .input-password-wrapper {
    width: 100%;
}

/* Bloco 3: Botão */
.lp-modal-action {
    display: flex;
}

.lp-modal-action .btn-submit-form {
    width: 100%;
    padding: 8px 28px;
    font-size: clamp(13px, 1.5vh, 15px);
}

/* Bloco 4: Texto de apoio */
.lp-modal-footer-text {
    text-align: center;
}

.lp-modal-footer-text .form-notice {
    font-size: clamp(10px, 1.3vh, 12px);
    color: var(--text-faded);
    margin: 0;
}

/* ── Footer LP minimalista ── */
.lp-footer {
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    text-align: center;
}

.lp-footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.lp-footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 400;
    color: var(--text-primary);
}
.lp-footer-brand strong { font-weight: 700; }
.lp-footer-brand img { height: 28px; width: auto; }

.lp-footer-links {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
}
.lp-footer-links a {
    color: var(--text-muted);
    transition: color 0.2s;
}
.lp-footer-links a:hover {
    color: var(--green);
}
.lp-footer-divider {
    color: var(--text-faded);
    font-size: 12px;
}

/* Body lock when modal is open */
body.modal-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero-lp { padding: 48px 0 40px; }

    .lp-modal {
        margin: 8px;
    }

    .lp-modal-form .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-height: 700px) {
    .lp-modal {
        padding: 16px 20px;
    }

    .lp-modal-form {
        gap: 12px;
    }

    .lp-modal-fields {
        gap: 8px;
    }

    .lp-modal-form .form-group input {
        padding: 8px 12px;
    }

    .lp-modal-action .btn-submit-form {
        padding: 8px 20px;
    }

    .lp-modal-footer-text .form-notice {
        font-size: 10px;
    }
}

/* ══════════════════════════════════════
   FUNCIONALIDADES PAGE
   ══════════════════════════════════════ */
.hero-funcionalidades {
    padding-bottom: 40px;
}

.hero-func-content {
    text-align: center;
    max-width: 100%;
}

.hero-func-content h1 {
    font-size: clamp(32px, 4.5vw, 56px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-func-content h1 span {
    color: var(--green);
}

.hero-func-content .hero-subtitle {
    margin: 16px auto 0;
}

.hero-func-content .lead {
    max-width: 60%;
    width: 60%;
    margin: 20px auto 0;
    text-align: center;
}

.funcionalidades-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
}

.func-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: border-color .3s, transform .3s;
}
.func-card:hover {
    border-color: var(--green);
    transform: translateY(-4px);
}

.func-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(0,255,136,0.08);
    border: 1px solid rgba(0,255,136,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    flex-shrink: 0;
}

.func-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.func-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

a.func-card-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.func-card-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--green);
    margin-top: auto;
    padding-top: 8px;
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity .25s, transform .25s;
}

.func-card:hover .func-card-action {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 1024px) {
    .funcionalidades-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .funcionalidades-grid {
        grid-template-columns: 1fr;
    }
}

/* ══════════════════════════════════════
   FUNCIONALIDADE DETALHE PAGE
   ══════════════════════════════════════ */
.func-detalhe-hero {
    text-align: center;
    max-width: 100%;
}

.func-detalhe-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 32px;
    transition: color .2s;
}
.func-detalhe-back:hover {
    color: var(--green);
}

.func-detalhe-icon-hero {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: rgba(0,255,136,0.08);
    border: 1px solid rgba(0,255,136,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    margin: 0 auto 24px;
}

.func-detalhe-hero h1 {
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

/* Grid principal */
.func-detalhe-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

/* Blocos de conteúdo */
.func-detalhe-content {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.func-detalhe-block h2 {
    font-size: clamp(22px, 2.5vw, 30px);
    font-weight: 600;
    margin-bottom: 16px;
    line-height: 1.2;
}

.func-detalhe-block p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.75;
}

.func-detalhe-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--green);
    background: rgba(0,255,136,0.08);
    border: 1px solid rgba(0,255,136,0.15);
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    margin-bottom: 16px;
}

/* Benefícios */
.func-detalhe-benefits {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.func-detalhe-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.55;
}

.func-detalhe-check {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background: rgba(0,255,136,0.1);
    border: 1px solid rgba(0,255,136,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    margin-top: 1px;
}

/* Sidebar */
.func-detalhe-sidebar {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Vídeo frame */
.func-detalhe-video-wrapper {
    display: flex;
    flex-direction: column;
}

.func-detalhe-video-frame {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    box-shadow:
        0 0 0 1px rgba(0,255,136,0.06),
        0 4px 24px rgba(0,0,0,0.3),
        0 0 60px rgba(0,255,136,0.04);
}

.func-detalhe-video-frame::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 20%;
    right: 20%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--green), transparent);
    border-radius: 2px;
    z-index: 1;
}

.func-detalhe-video-inner {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
}

.func-detalhe-video-inner iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Placeholder quando não tem vídeo */
.func-detalhe-video-placeholder {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
}

.func-detalhe-video-placeholder-inner {
    position: relative;
    width: 100%;
    padding: 60px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 12px;
    min-height: 240px;
    background:
        radial-gradient(ellipse 60% 50% at 50% 50%, rgba(0,255,136,0.04) 0%, transparent 70%);
}

.func-detalhe-video-placeholder-inner svg {
    color: var(--text-faded);
    opacity: 0.4;
}

.func-detalhe-video-placeholder-inner p {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-muted);
    margin: 0;
}

.func-detalhe-video-placeholder-inner span {
    font-size: 13px;
    color: var(--text-faded);
}

/* Steps card */
.func-detalhe-steps-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px;
}

.func-detalhe-steps-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
}

.func-detalhe-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    counter-reset: none;
}

.func-detalhe-steps li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.55;
    position: relative;
    padding-left: 0;
}

.func-detalhe-step-num {
    font-size: 13px;
    font-weight: 700;
    color: var(--green);
    min-width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0,255,136,0.08);
    border: 1px solid rgba(0,255,136,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Responsivo */
@media (max-width: 1024px) {
    .func-detalhe-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .func-detalhe-hero {
        text-align: center;
    }

    .func-detalhe-icon-hero {
        width: 64px;
        height: 64px;
        border-radius: 16px;
    }

    .func-detalhe-icon-hero svg {
        width: 32px;
        height: 32px;
    }

    .func-detalhe-steps-card {
        padding: 24px;
    }

    .func-detalhe-video-placeholder-inner {
        padding: 40px 20px;
        min-height: 180px;
    }
}

/* ══════════════════════════════════════
   FAQ PAGE (central de artigos)
   ══════════════════════════════════════ */
.hero-faq {
    padding-bottom: 0;
}

.faq-hero-content {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.faq-hero-content h1 {
    font-size: clamp(32px, 4.5vw, 56px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.faq-hero-content h1 span {
    color: var(--green);
}

.faq-hero-desc {
    margin-top: 20px;
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* Search */
.faq-search-wrapper {
    max-width: 640px;
    margin: 0 auto 32px;
}

.faq-search-bar {
    position: relative;
    display: flex;
    align-items: center;
}

.faq-search-icon {
    position: absolute;
    left: 18px;
    width: 20px;
    height: 20px;
    color: var(--text-faded);
    pointer-events: none;
}

.faq-search-bar input {
    width: 100%;
    padding: 16px 20px 16px 50px;
    font-size: 15px;
    color: var(--text-primary);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill);
    outline: none;
    transition: border-color .2s;
}

.faq-search-bar input::placeholder {
    color: var(--text-faded);
}

.faq-search-bar input:focus {
    border-color: var(--green);
}

/* Controls row */
.faq-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.faq-results-count {
    font-size: 14px;
    color: var(--text-muted);
}

.faq-per-page {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
}

.faq-per-page select {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    padding: 8px 12px;
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    outline: none;
    transition: border-color .2s;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23b8b8b8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px;
}

.faq-per-page select:focus {
    border-color: var(--green);
}

/* Article cards */
.faq-articles {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-article {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px 36px;
    position: relative;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .4s ease, transform .4s ease, border-color .3s;
}

.faq-article:hover {
    border-color: var(--green);
}

.faq-article-number {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--green);
    background: rgba(0,255,136,0.08);
    border: 1px solid rgba(0,255,136,0.15);
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.faq-article h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.35;
}

.faq-article p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* No results */
.faq-no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 60px 20px;
    text-align: center;
}

.faq-no-results svg {
    width: 48px;
    height: 48px;
    color: var(--text-faded);
}

.faq-no-results p {
    font-size: 16px;
    color: var(--text-muted);
}

/* Infinite scroll loader */
.faq-scroll-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
    padding: 20px 0;
    color: var(--text-muted);
    font-size: 14px;
}

.faq-spinner {
    width: 22px;
    height: 22px;
    border: 2.5px solid var(--border-color);
    border-top-color: var(--green);
    border-radius: 50%;
    animation: faqSpin .7s linear infinite;
}

@keyframes faqSpin {
    to { transform: rotate(360deg); }
}

.faq-article.faq-article-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom page scrollbar */
html {
    scrollbar-width: thin;
    scrollbar-color: var(--green) var(--bg-card);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-card);
}

::-webkit-scrollbar-thumb {
    background: var(--green-muted);
    border-radius: 99px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--green);
}

/* Support card */
.faq-support {
    margin-top: 64px;
}

.faq-support-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px 36px;
}

.faq-support-card > svg {
    width: 32px;
    height: 32px;
    color: var(--green);
    flex-shrink: 0;
    margin-top: 2px;
}

.faq-support-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.faq-support-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
}

.faq-support-email {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 600;
    color: var(--green);
    transition: opacity .2s;
}

.faq-support-email:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .faq-article {
        padding: 24px 20px;
    }

    .faq-support-card {
        flex-direction: column;
        padding: 24px 20px;
    }

    .faq-controls {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ══════════════════════════════════════
   FREE BADGE (reutilizável)
   ══════════════════════════════════════ */
.free-badge {
    display: inline-block;
    background: var(--gold);
    color: var(--bg-body);
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    vertical-align: middle;
}
.free-badge-outline {
    display: inline-block;
    background: var(--gold-soft);
    color: var(--gold);
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    vertical-align: middle;
}

/* Hero free highlight */
.hero-free-highlight {
    margin-top: 16px;
    font-size: 15px;
    font-weight: 600;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.hero-free-highlight span {
    color: var(--text-secondary);
    font-weight: 400;
}

/* ══════════════════════════════════════
   SAVINGS TABLE (tabela comparativa de economia)
   ══════════════════════════════════════ */
.savings-section {
    overflow: hidden;
}

.savings-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
}

.savings-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.savings-table thead th {
    padding: 20px 24px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 1px solid var(--border-color);
}

.savings-table thead th:first-child {
    text-align: left;
    color: var(--text-secondary);
}

.savings-table thead th:nth-child(2) {
    text-align: center;
    color: var(--text-faded);
}

.savings-table thead th:nth-child(3) {
    text-align: center;
    color: var(--green);
}

.savings-table tbody td {
    padding: 18px 24px;
    font-size: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.savings-table tbody tr:last-child td {
    border-bottom: none;
}

.savings-table tbody td:first-child {
    color: var(--text-primary);
    font-weight: 500;
}

.savings-table tbody td:nth-child(2) {
    text-align: center;
    color: var(--text-faded);
    text-decoration: line-through;
    font-size: 14px;
}

.savings-table tbody td:nth-child(3) {
    text-align: center;
}

.savings-free {
    color: var(--gold);
    font-weight: 700;
    font-size: 15px;
}

.savings-total {
    background: rgba(0,255,136,0.06);
    border-top: 2px solid var(--green);
    margin-top: 24px;
    border-radius: var(--radius-md);
    padding: 32px;
    text-align: center;
}

.savings-total-label {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.savings-total-value {
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 700;
    color: var(--green);
    line-height: 1.1;
}

.savings-total-note {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 8px;
}

@media (max-width: 768px) {
    .savings-table {
        border: none;
        background: transparent;
    }

    .savings-table thead {
        display: none;
    }

    .savings-table tbody {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .savings-table tbody tr {
        display: flex;
        flex-direction: column;
        background: var(--bg-card);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-md);
        padding: 20px;
        gap: 8px;
    }

    .savings-table tbody td {
        padding: 0;
        border-bottom: none;
        font-size: 14px;
    }

    .savings-table tbody td:first-child {
        font-size: 15px;
        font-weight: 600;
        color: var(--text-primary);
        margin-bottom: 4px;
    }

    .savings-table tbody td:nth-child(2) {
        text-align: left;
        font-size: 13px;
    }

    .savings-table tbody td:nth-child(2)::before {
        content: "Outros ERPs: ";
        color: var(--text-muted);
        text-decoration: none;
        font-style: normal;
    }

    .savings-table tbody td:nth-child(3) {
        text-align: left;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .savings-table tbody td:nth-child(3)::before {
        content: "ChatADM: ";
        color: var(--text-muted);
        font-weight: 400;
        font-size: 13px;
    }

    .savings-total {
        padding: 24px 16px;
    }

    .savings-intro {
        margin-bottom: 32px;
    }
}

/* ══════════════════════════════════════
   PRICING — updated for 100% free
   ══════════════════════════════════════ */
.pricing-free-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.pricing-old-prices {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 8px;
}

.pricing-old-prices span {
    font-size: 14px;
    color: var(--text-faded);
    text-decoration: line-through;
}

.pricing-guarantee {
    margin-top: 20px;
    padding: 16px;
    background: var(--gold-soft);
    border: 1px solid rgba(244, 255, 133, 0.25);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-secondary);
    text-align: center;
    font-weight: 500;
}

.pricing-guarantee strong {
    color: var(--gold);
}

/* ══════════════════════════════════════
   REDUCED MOTION
   ══════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
        filter: none;
    }
}
