@font-face {
    font-family: 'RNS Camelia';
    src: url('fonts/RNSCamelia-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'RNS Camelia';
    src: url('fonts/RNSCamelia-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'RNS Camelia';
    src: url('fonts/RNSCamelia-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'RNS Camelia';
    src: url('fonts/RNSCamelia-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg-dark: #0a0a08;
    --color-primary: #1A1A14;
    --color-secondary: #5A6325;
    --color-accent: #e1ff3c;
    --color-white: #FFFFFF;
    --color-text-dim: rgba(255, 255, 255, 0.6);
    --font-heading: 'RNS Camelia', serif;
    --font-body: 'Montserrat', sans-serif;
}

/* ── Chat Mode: hero entra em modo foco ── */
.hero-section #cta-whatsapp,
.hero-section .social-links {
    transition: opacity 0.4s ease, max-height 0.4s ease, margin 0.4s ease;
    overflow: hidden;
    max-height: 200px;
    opacity: 1;
}

.hero-section.chat-mode #cta-whatsapp,
.hero-section.chat-mode .social-links {
    max-height: 0;
    opacity: 0;
    margin: 0;
    pointer-events: none;
}

/* testimonials no right-col somem no modo chat */
.right-col .testimonials {
    transition: opacity 0.4s ease, max-height 0.4s ease;
    overflow: hidden;
    max-height: 200px;
    opacity: 1;
}
.right-col.chat-mode-right .testimonials {
    max-height: 0;
    opacity: 0;
    pointer-events: none;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-dark);
    color: var(--color-white);
    font-family: var(--font-body);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
}

.bg-texture {
    position: fixed; top: 0; left: 0;
    width: 100vw; height: 100vh;
    background-image: url('bg-verbo.jpg');
    background-size: cover; background-position: center;
    opacity: 1; z-index: -1; pointer-events: none; mix-blend-mode: normal;
}

body::before, body::after {
    content: ''; position: fixed;
    width: 50vw; height: 50vw; border-radius: 50%;
    filter: blur(100px); z-index: -2; opacity: 0.1;
    animation: float 20s infinite ease-in-out alternate;
}
body::before { background: var(--color-accent); top: -20%; left: -10%; }
body::after  { background: var(--color-secondary); bottom: -20%; right: -10%; animation-delay: -10s; }
@keyframes float {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(5%, 10%) scale(1.2); }
}

/* ── Util ── */
.hidden { display: none !important; }

/* ── Floating WhatsApp Button ── */
#float-whatsapp {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #25D366;
    color: #fff;
    text-decoration: none;
    padding: 0.75rem 1.2rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: floatPop 3s infinite ease-in-out;
}
#float-whatsapp svg { width: 20px; height: 20px; flex-shrink: 0; }
#float-whatsapp:hover { transform: scale(1.05); box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6); }
@keyframes floatPop {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-6px); }
}
/* On desktop, show only icon to not clutter; on mobile, show full */
@media (min-width: 901px) {
    #float-whatsapp span { display: none; }
    #float-whatsapp { padding: 0.85rem; border-radius: 50%; }
}

/* ── Lead Modal ── */
.lead-modal {
    position: fixed; inset: 0; z-index: 2000;
    display: flex; align-items: center; justify-content: center;
    padding: 1rem;
}
.lead-modal-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(4px);
}
.lead-modal-box {
    position: relative; z-index: 1;
    background: var(--color-primary);
    border: 2px solid var(--color-accent);
    border-radius: 12px;
    padding: 2.5rem;
    width: 100%; max-width: 420px;
    box-shadow: 8px 8px 0 rgba(225,255,60,0.15);
    animation: fadeIn 0.3s ease;
}
.lead-modal-title {
    font-family: var(--font-heading);
    font-size: 1.8rem; font-weight: 800;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}
.lead-modal-desc { font-size: 0.9rem; color: var(--color-text-dim); margin-bottom: 1.5rem; line-height: 1.6; }
.lgpd-text {
    font-size: 0.7rem;
    color: var(--color-text-dim);
    line-height: 1.4;
    text-align: center;
    margin: 0.2rem 0;
    opacity: 0.85;
}
#lead-form { display: flex; flex-direction: column; gap: 0.75rem; }
#lead-form input {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    padding: 0.85rem 1rem;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 0.2s;
}
#lead-form input:focus { outline: none; border-color: var(--color-accent); }
#lead-form input::placeholder { color: rgba(255,255,255,0.3); }
.lead-form-actions { display: flex; gap: 0.75rem; margin-top: 0.5rem; }
#lead-skip {
    flex: 1; background: transparent; border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px; color: var(--color-text-dim);
    font-family: var(--font-body); font-size: 0.85rem; cursor: pointer;
    padding: 0.75rem; transition: all 0.2s;
}
#lead-skip:hover { border-color: rgba(255,255,255,0.5); color: var(--color-white); }
#lead-submit {
    flex: 2; background: var(--color-accent); color: var(--color-primary);
    border: none; border-radius: 8px; font-family: var(--font-body);
    font-size: 0.95rem; font-weight: 700; cursor: pointer;
    padding: 0.75rem; transition: all 0.2s;
}
#lead-submit:hover { transform: translateY(-2px); box-shadow: 0 4px 14px rgba(225,255,60,0.3); }

/* ── App Container ── */
.app-container {
    width: 100%; max-width: 1200px;
    padding: 0.5rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    min-height: calc(100vh - 1rem);
}
@media (max-width: 900px) {
    .app-container { grid-template-columns: 1fr; gap: 1.5rem; padding: 1rem; }
}

/* ── Right Column ── */
.right-col {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

/* ── Hero ── */
.hero-section { 
    display: flex; flex-direction: column; gap: 2rem; 
    align-items: center; text-align: center;
}

.verbo-logo {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: -0.5rem;
}

.verbo-logo img {
    width: 160px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.lead-modal-logo img {
    max-width: 120px;
    height: auto;
    display: block;
    margin: 0 auto 0.5rem;
}

.hero-text { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 1rem; 
}

.brand-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: transparent; border: 1px solid var(--color-accent);
    border-radius: 6px; padding: 0.5rem 1rem;
    font-size: 0.7rem; font-weight: 700; letter-spacing: 2px;
    color: var(--color-accent); width: fit-content; text-transform: uppercase;
}
.badge-divider { opacity: 0.4; }
.badge-count { font-weight: 500; letter-spacing: 0.5px; opacity: 0.9; }
.pulse-dot {
    width: 8px; height: 8px; background-color: var(--color-accent);
    border-radius: 50%; box-shadow: 0 0 10px var(--color-accent);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(225,255,60,0.7); }
    70%  { box-shadow: 0 0 0 10px rgba(225,255,60,0); }
    100% { box-shadow: 0 0 0 0 rgba(225,255,60,0); }
}
.main-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 900; line-height: 1.05;
    text-transform: uppercase; letter-spacing: -1px;
}
.subtitle {
    font-size: 0.95rem; font-weight: 400;
    color: var(--color-text-dim); line-height: 1.6;
    max-width: 480px;
}

/* ── How it works ── */
.how-it-works {
    display: flex; align-items: center; gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0.5rem;
}
.how-step {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.4rem;
    background: rgba(225,255,60,0.03);
    border: 1px solid rgba(225,255,60,0.12);
    border-radius: 12px; padding: 0.5rem 0.6rem;
    width: 120px; height: 78px; text-align: center;
}
.step-num { 
    width: 24px; height: 24px;
    background: var(--color-accent);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    font-size: 0.8rem; font-weight: 800;
}
.step-label { font-size: 0.72rem; color: var(--color-text-dim); font-weight: 600; line-height: 1.3; }
.how-arrow { color: rgba(225,255,60,0.4); font-size: 1rem; }

/* ── Benefits ── */
.benefits { display: flex; flex-direction: column; gap: 0.75rem; }
.benefit-item {
    display: flex; align-items: center; gap: 0.9rem;
    background: rgba(225,255,60,0.04);
    border: 1px solid rgba(225,255,60,0.12);
    border-radius: 8px; padding: 0.75rem 1rem;
}
.benefit-icon { font-size: 1.4rem; flex-shrink: 0; }
.benefit-item div { display: flex; flex-direction: column; gap: 0.1rem; }
.benefit-item strong { font-size: 0.9rem; font-weight: 700; color: var(--color-white); }
.benefit-item span { font-size: 0.78rem; color: var(--color-text-dim); }

/* ── CTA WhatsApp ── */
#cta-whatsapp {
    display: inline-flex; align-items: center; gap: 0.6rem;
    background: var(--color-accent); color: var(--color-primary);
    text-decoration: none; padding: 0.75rem 1.4rem; border-radius: 8px;
    font-family: var(--font-body); font-size: 0.9rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.5px; width: fit-content;
    transition: all 0.25s ease;
}
#cta-whatsapp svg { width: 18px; height: 18px; flex-shrink: 0; }
#cta-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(225,255,60,0.25);
}

/* ── Social Links ── */
.social-links { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.social-btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: transparent; border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px; padding: 0.5rem 0.9rem;
    color: rgba(255,255,255,0.6); text-decoration: none;
    font-family: var(--font-body); font-size: 0.8rem; font-weight: 500;
    transition: all 0.25s ease;
}
.social-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.social-btn:hover { border-color: var(--color-accent); color: var(--color-accent); transform: translateY(-2px); }

/* ── Testimonials ── */
.testimonials-label {
    font-size: 0.72rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 1.5px; color: rgba(225,255,60,0.5); margin-bottom: -0.25rem;
}
.testimonials { display: flex; flex-direction: column; gap: 0.5rem; }
.testimonials-track { position: relative; min-height: 70px; }
.testimonial-card {
    display: none;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(225,255,60,0.12);
    border-left: 3px solid var(--color-accent);
    border-radius: 8px;
    padding: 0.75rem 1.1rem;
    animation: fadeIn 0.5s ease;
}
.testimonial-card.active { display: block; }
.testimonial-card p { font-size: 0.84rem; color: var(--color-white); line-height: 1.55; font-style: italic; margin-bottom: 0.4rem; }
.testimonial-card span { font-size: 0.74rem; color: var(--color-accent); font-weight: 600; }
.testimonials-dots { 
    display: flex; 
    gap: 0.6rem; 
    padding: 5px; 
    overflow: visible;
}
.dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(255,255,255,0.2); border: none; cursor: pointer;
    transition: all 0.3s ease;
}
.dot.active { background: var(--color-accent); transform: scale(1.3); }

/* ── Benefits compactos (acima da área de testes) ── */
.benefits-compact {
    display: flex; flex-wrap: wrap; gap: 0.5rem;
    /* Ocupa coluna 2 do grid, acima do segment selector */
}
.benefit-chip {
    display: inline-flex; align-items: center; gap: 0.3rem;
    background: rgba(225,255,60,0.06);
    border: 1px solid rgba(225,255,60,0.2);
    border-radius: 20px;
    padding: 0.28rem 0.75rem;
    font-size: 0.72rem; font-weight: 600;
    color: rgba(255,255,255,0.75);
    white-space: nowrap;
}

/* ── Segment Selector ── */
.segment-selector {
    background: var(--color-primary);
    border: 2px solid var(--color-accent);
    border-radius: 12px; padding: 1.1rem 1rem;
    display: flex; flex-direction: column; gap: 0.85rem;
    box-shadow: 8px 8px 0px rgba(225,255,60,0.2);
    animation: fadeIn 0.5s ease;
}
.segment-title {
    font-family: var(--font-heading); font-size: 1.25rem;
    color: var(--color-accent); text-align: center; text-transform: uppercase;
    letter-spacing: 1px;
}
/* ── Agent Type Tabs ── */
.agent-type-tabs {
    display: flex; gap: 0.5rem;
    border-bottom: 1px solid rgba(225,255,60,0.2);
    padding-bottom: 0.6rem;
}
.type-tab {
    flex: 1; background: transparent;
    border: 1px solid rgba(225,255,60,0.3); border-radius: 6px;
    padding: 0.42rem 0.5rem; color: rgba(225,255,60,0.6);
    font-family: var(--font-body); font-size: 0.72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.5px; cursor: pointer;
    transition: all 0.25s ease;
}
.type-tab.active { background: var(--color-accent); color: var(--color-primary); border-color: var(--color-accent); }
.type-tab:hover:not(.active) { border-color: var(--color-accent); color: var(--color-accent); }

.segment-group { display: flex; flex-direction: column; }

.segment-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
@media (max-width: 600px) { .segment-cards { grid-template-columns: 1fr; } }
.segment-card {
    background: transparent; border: 1px solid var(--color-accent); border-radius: 8px;
    padding: 0.7rem 0.6rem; color: var(--color-accent);
    font-family: var(--font-body); cursor: pointer; transition: all 0.3s ease;
    display: flex; flex-direction: column; align-items: center; gap: 0.3rem; text-align: center;
}
.segment-card .icon { font-size: 1.55rem; transition: transform 0.3s ease; }
.segment-card strong { font-size: 0.84rem; font-weight: 700; text-transform: uppercase; }
.segment-card .card-desc { font-size: 0.66rem; color: rgba(225,255,60,0.6); font-weight: 400; line-height: 1.35; }
.segment-card:hover {
    background: var(--color-accent); color: var(--color-primary);
    transform: translateY(-4px); box-shadow: 0 6px 20px rgba(225,255,60,0.2);
}
.segment-card:hover .icon { transform: scale(1.15); }
.segment-card:hover .card-desc { color: rgba(26,26,20,0.7); }

/* ── Chat Container ── */
.chat-container {
    background: var(--color-primary); border: 2px solid var(--color-accent);
    border-radius: 12px; overflow: hidden;
    display: flex; flex-direction: column;
    height: 600px; max-height: 80vh;
    box-shadow: 10px 10px 0px rgba(225,255,60,0.2);
    transition: box-shadow 0.3s ease;
}
.chat-container:hover { box-shadow: 12px 12px 0px rgba(225,255,60,0.3); }

.chat-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 2px solid var(--color-accent);
    display: flex; justify-content: space-between; align-items: center;
    background: var(--color-accent); color: var(--color-primary);
    flex-shrink: 0;
}
.agent-info { display: flex; align-items: center; gap: 1rem; }
.agent-avatar {
    width: 44px; height: 44px; flex-shrink: 0;
    background: var(--color-primary); color: var(--color-accent);
    display: flex; justify-content: center; align-items: center; border-radius: 8px;
}
.agent-avatar svg { width: 22px; height: 22px; }
.agent-title-row { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.agent-info h2 {
    font-family: var(--font-heading); font-size: 1.25rem; font-weight: 800;
    color: var(--color-primary); text-transform: uppercase;
}
.segment-badge {
    background: var(--color-primary); color: var(--color-accent);
    font-size: 0.7rem; font-weight: 700; padding: 0.2rem 0.5rem;
    border-radius: 4px; text-transform: uppercase; letter-spacing: 0.5px;
}
.status-text {
    font-size: 0.75rem; font-weight: 600; color: var(--color-primary);
    display: flex; align-items: center; gap: 0.3rem; margin-top: 0.15rem;
}
.status-text::before {
    content: ''; display: inline-block; width: 7px; height: 7px;
    background-color: var(--color-primary); border-radius: 50%;
    animation: blink 1.5s infinite;
}
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:0; } }

#back-btn {
    background: var(--color-primary); color: var(--color-accent);
    border: 1px solid var(--color-primary); border-radius: 6px;
    padding: 0.45rem 0.9rem; font-family: var(--font-body);
    font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1px; cursor: pointer; transition: all 0.2s ease; white-space: nowrap;
}
#back-btn:hover { background: rgba(26,26,20,0.8); transform: translateX(-2px); }

/* ── Post-chat CTA ── */
.post-chat-cta {
    display: flex; align-items: center; gap: 0.75rem;
    background: rgba(225,255,60,0.07);
    border: 1px solid rgba(225,255,60,0.3);
    border-radius: 12px 12px 12px 4px;
    padding: 0.85rem 1.1rem;
    margin-top: 0.25rem;
    animation: fadeIn 0.4s ease;
}
.post-chat-cta p { font-size: 0.85rem; color: var(--color-text-dim); flex: 1; }
.post-chat-cta a {
    display: inline-flex; align-items: center; gap: 0.4rem;
    background: var(--color-accent); color: var(--color-primary);
    text-decoration: none; padding: 0.5rem 1rem; border-radius: 6px;
    font-family: var(--font-body); font-size: 0.8rem; font-weight: 700;
    white-space: nowrap; transition: all 0.2s ease; flex-shrink: 0;
}
.post-chat-cta a:hover { transform: scale(1.03); }
.post-chat-cta a svg { width: 14px; height: 14px; }
.chat-messages {
    flex: 1; padding: 1.5rem; overflow-y: auto;
    display: flex; flex-direction: column; gap: 1.25rem;
}
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-thumb { background: rgba(225,255,60,0.25); border-radius: 10px; }

.message { display: flex; flex-direction: column; max-width: 85%; animation: fadeIn 0.4s ease; }
.agent-message { align-self: flex-start; }
.user-message  { align-self: flex-end; align-items: flex-end; }

.message-content { padding: 0.85rem 1.1rem; font-size: 0.92rem; line-height: 1.55; width: fit-content; }
.agent-message .message-content {
    background: var(--color-primary); border: 1px solid var(--color-accent);
    border-radius: 12px 12px 12px 4px; color: var(--color-white);
}
.agent-message .message-content strong { color: var(--color-accent); }
.user-message .message-content {
    background: var(--color-accent); color: var(--color-primary);
    font-weight: 600; border-radius: 12px 12px 4px 12px;
}
.message-time { font-size: 0.68rem; color: var(--color-text-dim); margin-top: 0.3rem; padding: 0 0.25rem; }

.typing-indicator { 
    display: flex; gap: 5px; 
    padding: 0.8rem 1.1rem !important; 
    width: fit-content;
    line-height: 1 !important;
    justify-content: center;
    align-items: center;
    min-width: 60px;
}
.typing-dot {
    width: 7px; height: 7px; background: var(--color-accent);
    border-radius: 50%; animation: typing 1.4s infinite ease-in-out;
}
.typing-dot:nth-child(1) { animation-delay: 0s; }
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing {
    0%,100% { transform: translateY(0); opacity: 0.4; }
    50%      { transform: translateY(-4px); opacity: 1; }
}

/* ── Chips ── */
.chips-area {
    display: flex; flex-wrap: wrap; gap: 0.5rem;
    padding: 0.5rem 1.25rem 0.75rem;
    flex-shrink: 0;
}
.chip {
    background: transparent; border: 1px solid rgba(225,255,60,0.35);
    border-radius: 20px; padding: 0.4rem 0.9rem;
    color: var(--color-accent); font-family: var(--font-body);
    font-size: 0.78rem; font-weight: 600; cursor: pointer;
    transition: all 0.2s ease;
}
.chip:hover { background: var(--color-accent); color: var(--color-primary); }

/* ── Input Area ── */
.chat-input-area {
    padding: 1rem 1.25rem 1.25rem;
    background: var(--color-primary); border-top: 2px solid var(--color-accent);
    flex-shrink: 0;
}
#chat-form { display: flex; gap: 0.75rem; }
#user-input {
    flex: 1; background: transparent; border: 1px solid var(--color-accent);
    border-radius: 8px; padding: 0.85rem 1.25rem;
    color: var(--color-white); font-family: var(--font-body); font-size: 0.92rem;
    transition: all 0.3s ease;
}
#user-input:focus { outline: none; background: rgba(225,255,60,0.04); box-shadow: 0 0 10px rgba(225,255,60,0.15); }
#user-input::placeholder { color: rgba(225,255,60,0.35); }
#user-input:disabled { opacity: 0.45; cursor: not-allowed; }
#send-btn:disabled { opacity: 0.35; cursor: not-allowed; transform: none; box-shadow: none; }
#send-btn {
    width: 48px; height: 48px; flex-shrink: 0;
    background: var(--color-accent); color: var(--color-primary);
    border: none; border-radius: 8px; cursor: pointer;
    display: flex; justify-content: center; align-items: center; transition: all 0.3s ease;
}
#send-btn svg { width: 18px; height: 18px; transition: transform 0.2s ease; }
#send-btn:hover { transform: scale(1.05); box-shadow: 0 0 16px rgba(225,255,60,0.35); }
#send-btn:hover svg { transform: translate(2px,-2px); }

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

/* ── Markdown Rendering ── */
.message-content .md-p {
    margin: 0 0 0.5rem 0;
    line-height: 1.65;
}
.message-content .md-p:last-child { margin-bottom: 0; }

.message-content .md-h2,
.message-content .md-h3,
.message-content .md-h4 {
    color: var(--color-accent);
    font-family: var(--font-body);
    font-weight: 800;
    margin: 0.75rem 0 0.35rem;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.message-content .md-h2 { font-size: 1rem; }
.message-content .md-h3 { font-size: 0.92rem; }
.message-content .md-h4 { font-size: 0.85rem; }

.message-content .md-ul,
.message-content .md-ol {
    margin: 0.35rem 0 0.5rem 1.1rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.message-content .md-ul { list-style: none; }
.message-content .md-ol { list-style: decimal; }

.message-content .md-ul li {
    line-height: 1.55;
    padding-left: 0.25rem;
}
.message-content .md-ol li { line-height: 1.55; padding-left: 0.25rem; }

.message-content strong { color: var(--color-accent); font-weight: 700; }
.agent-message .message-content strong { color: var(--color-accent); }
.user-message .message-content strong { color: var(--color-primary); }

.message-content em { font-style: italic; opacity: 0.9; }

.message-content .md-code {
    background: rgba(225,255,60,0.12);
    color: var(--color-accent);
    border: 1px solid rgba(225,255,60,0.25);
    border-radius: 4px;
    padding: 0.1rem 0.4rem;
    font-family: 'Courier New', monospace;
    font-size: 0.85em;
}

/* ── Mobile: chat mode ── */
@media (max-width: 900px) {
    /* Esconde botão WhatsApp flutuante quando chat está aberto */
    body.chat-open #float-whatsapp {
        display: none !important;
    }

    /* No mobile, esconde a hero section durante o chat para dar espaço total */
    body.chat-open .hero-section {
        display: none;
    }

    /* Chat container ocupa quase toda a tela no mobile */
    body.chat-open .app-container {
        padding: 0.5rem;
        align-items: flex-start;
        min-height: 100dvh;
    }

    body.chat-open .chat-container {
        height: calc(100dvh - 100px);
        max-height: none;
    }

    /* Header do chat mais compacto no mobile */
    .chat-header {
        padding: 0.85rem 1rem;
    }

    .agent-avatar {
        width: 36px;
        height: 36px;
    }

    .agent-info h2 {
        font-size: 1rem;
    }

    /* Input area sem espaço desperdiçado */
    .chat-input-area {
        padding: 0.75rem 1rem 1rem;
    }

    /* How-it-works forçado em 1 linha em qualquer mobile */
    .how-it-works {
        flex-wrap: nowrap;
        gap: 0.3rem;
    }

    .how-step {
        width: 86px;
        height: 58px;
        padding: 0.3rem 0.25rem;
        flex-shrink: 1;
    }

    .step-num {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
    }

    .step-label {
        font-size: 0.58rem;
        line-height: 1.25;
    }

    .how-arrow {
        font-size: 0.7rem;
        flex-shrink: 0;
    }

    /* Segmento cards em 2 colunas no mobile */
    .segment-cards {
        grid-template-columns: 1fr 1fr;
    }

    /* Chips menores no mobile */
    .chips-area {
        padding: 0.4rem 1rem 0.5rem;
        gap: 0.4rem;
    }

    .chip {
        font-size: 0.72rem;
        padding: 0.35rem 0.75rem;
    }

    /* Botão flutuante de WhatsApp sem texto no mobile para não ser tão intrusivo */
    #float-whatsapp {
        bottom: 1rem;
        right: 1rem;
        padding: 0.85rem;
        border-radius: 50%;
    }

    #float-whatsapp span {
        display: none;
    }
}

/* ── Mobile pequeno: harmonia geral ── */
@media (max-width: 600px) {
    .app-container {
        padding: 1rem 0.85rem;
        gap: 1rem;
    }

    /* Hero mais compacto */
    .hero-section {
        gap: 0.6rem;
    }

    .verbo-logo {
        margin-bottom: 0;
    }

    .verbo-logo img {
        width: 120px;
    }

    .brand-badge {
        font-size: 0.58rem;
        padding: 0.3rem 0.65rem;
        letter-spacing: 1.5px;
    }

    /* Título menor */
    .main-title {
        font-size: 1.5rem;
        letter-spacing: -0.5px;
        line-height: 1.08;
    }

    .subtitle {
        font-size: 0.78rem;
        line-height: 1.5;
        max-width: 100%;
    }

    /* CTA menor */
    #cta-whatsapp {
        font-size: 0.78rem;
        padding: 0.65rem 1rem;
        text-align: center;
    }

    /* Social links em coluna */
    .social-links {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .social-btn {
        font-size: 0.75rem;
    }

    /* Benefit chips menores */
    .benefit-chip {
        font-size: 0.67rem;
        padding: 0.22rem 0.6rem;
    }

    /* Segment selector mais compacto */
    .segment-selector {
        padding: 0.85rem 0.75rem;
        gap: 0.65rem;
    }

    .segment-title {
        font-size: 1rem;
        letter-spacing: 0.5px;
    }

    .type-tab {
        font-size: 0.68rem;
        padding: 0.38rem 0.4rem;
    }

    .segment-card {
        padding: 0.6rem 0.4rem;
    }

    .segment-card .icon {
        font-size: 1.3rem;
    }

    .segment-card strong {
        font-size: 0.75rem;
    }

    .segment-card .card-desc {
        font-size: 0.6rem;
    }

    /* Modal mais compacto */
    .lead-modal-box {
        padding: 1.5rem 1.25rem;
    }

    .lead-modal-title {
        font-size: 1.4rem;
    }

    .lead-modal-desc {
        font-size: 0.83rem;
    }

    #lead-form input {
        padding: 0.75rem 0.85rem;
        font-size: 0.88rem;
    }

    /* Botões do modal na mesma linha sem quebra */
    .lead-form-actions {
        gap: 0.5rem;
    }

    #lead-skip {
        font-size: 0.75rem;
        padding: 0.65rem 0.5rem;
        white-space: nowrap;
    }

    #lead-submit {
        font-size: 0.85rem;
        padding: 0.65rem 0.5rem;
    }
}

/* ===== Componente compartilhado Verbo: barra de produtos · cross-venda · rodapé ===== */
/* vira documento rolável (hero continua centrado dentro do app-container) */
body { flex-direction: column; justify-content: flex-start; align-items: stretch; padding-top: 46px; }
.app-container { min-height: calc(100dvh - 46px); margin: 0 auto; }

.vbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1500; background: #07070a; border-bottom: 1px solid #2a2e1c; }
.vbar-inner { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.vbar-brand { font-family: var(--font-heading); font-weight: 700; letter-spacing: 0.06em; font-size: 0.95rem; color: #fff; text-transform: uppercase; text-decoration: none; }
.vbar-brand b { color: #fff; font-weight: 700; }
.vbar-nav { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.vbar-nav a { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-text-dim); padding: 0.45rem 0.75rem; border-radius: 8px; text-decoration: none; transition: color 0.15s, background 0.15s; }
.vbar-nav a:hover { color: var(--color-accent); }
.vbar-nav a.active { color: var(--color-primary); background: var(--color-accent); }
@media (max-width: 560px) { body { padding-top: 0; } .vbar { position: static; } .vbar-inner { height: auto; min-height: 46px; padding: 0.5rem 1rem; } .vbar-brand { display: none; } .vbar-nav { width: 100%; justify-content: center; } .vbar-nav a { padding: 0.4rem 0.55rem; font-size: 0.7rem; } }

.vxsell { padding: 4rem 1.5rem; }
.vx-card { background: var(--color-primary); border: 1px solid var(--color-secondary); border-radius: 12px; box-shadow: 8px 8px 0 0 rgba(225,255,60,0.2); padding: 2.25rem 2rem; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; max-width: 920px; margin: 0 auto; }
.vx-ico { font-size: 2.6rem; flex-shrink: 0; line-height: 1; }
.vx-body { flex: 1; min-width: 240px; }
.vx-eyebrow { color: var(--color-accent); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.72rem; margin-bottom: 0.5rem; }
.vx-body h3 { font-family: var(--font-heading); font-size: 1.45rem; font-weight: 800; line-height: 1.15; margin-bottom: 0.5rem; color: #fff; text-transform: none; }
.vx-body p { color: var(--color-text-dim); font-size: 0.98rem; line-height: 1.55; }
.vx-btn { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--color-accent); color: var(--color-primary); font-weight: 800; padding: 0.85rem 1.5rem; border-radius: 99px; white-space: nowrap; text-decoration: none; transition: transform 0.15s, box-shadow 0.15s; box-shadow: 0 8px 30px rgba(225,255,60,0.18); }
.vx-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(225,255,60,0.28); }
@media (max-width: 620px) { .vx-card { flex-direction: column; text-align: center; align-items: center; } }

.vfoot { padding: 2.5rem 1.5rem; background: #07070a; }
.vfoot-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center; }
.vfoot img { height: 26px; opacity: 0.9; }
.vfoot-nav { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; }
.vfoot-nav a { font-size: 0.82rem; font-weight: 600; color: var(--color-text-dim); padding: 0.4rem 0.75rem; border-radius: 8px; text-decoration: none; transition: color 0.15s; }
.vfoot-nav a:hover { color: var(--color-accent); }
.vfoot-copy { color: rgba(255,255,255,0.38); font-size: 0.84rem; }
