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

:root {
    --ink:       #111111;
    --ink-soft:  #444444;
    --muted:     #888888;
    --bg:        #faf8f4;
    --surface:   #ffffff;
    --border:    #dddddd;
    --border-lt: #eeeeee;
    --green:     #28a745;
    --red:       #dc3545;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ─── NOISE TEXTURE OVERLAY ─── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    opacity: .4;
}

/* ─── NAVBAR ─── */
.lnav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(250, 248, 244, 0.88);
    backdrop-filter: blur(14px) saturate(1.4);
    -webkit-backdrop-filter: blur(14px) saturate(1.4);
    border-bottom: 1px solid transparent;
    padding: 0;
    transition: border-color .25s;
}
.lnav.scrolled { border-bottom-color: var(--border); }

.lnav-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: .9rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lnav-brand {
    display: flex;
    align-items: center;
    gap: .45rem;
    text-decoration: none;
    color: var(--ink);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -.01em;
}
.lnav-brand i { font-size: 1.4rem; }

.lnav-login {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: var(--ink);
    color: #fff !important;
    text-decoration: none;
    font-size: .85rem;
    font-weight: 600;
    padding: .45rem 1.1rem;
    border-radius: 7px;
    transition: opacity .15s, transform .15s;
}
.lnav-login:hover { opacity: .82; transform: translateY(-1px); color: #fff !important; }

/* ─── HERO ─── */
.hero {
    padding: 130px 0 90px;
    position: relative;
    overflow: hidden;
}

/* dot-grid background */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, #bbbbbb 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: .28;
    pointer-events: none;
}

/* fade mask on dot-grid */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 70% at 50% 40%, transparent 0%, var(--bg) 100%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--ink-soft);
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .07em;
    padding: .3rem .8rem;
    border-radius: 20px;
    margin-bottom: 1.4rem;
}
.hero-eyebrow span.dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--green);
    display: inline-block;
    animation: blink 2s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

.hero h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.13;
    letter-spacing: -.03em;
    color: var(--ink);
    margin-bottom: 1.2rem;
}

.hero h1 em {
    font-style: normal;
    position: relative;
    display: inline-block;
}
/* underline animated */
.hero h1 em::after {
    content: '';
    position: absolute;
    left: 0; bottom: -3px;
    width: 100%; height: 3px;
    background: var(--ink);
    border-radius: 2px;
    transform-origin: left;
    animation: underlineIn .6s .4s cubic-bezier(.22,1,.36,1) both;
}
@keyframes underlineIn { from{transform:scaleX(0)} to{transform:scaleX(1)} }

.hero-sub {
    font-size: 1.05rem;
    color: var(--ink-soft);
    line-height: 1.65;
    max-width: 440px;
    margin-bottom: 2.2rem;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-solid {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    background: var(--ink);
    color: #fff;
    text-decoration: none;
    font-size: .95rem;
    font-weight: 600;
    padding: .72rem 1.6rem;
    border-radius: 9px;
    transition: opacity .15s, transform .15s, box-shadow .2s;
    box-shadow: 0 2px 0 rgba(0,0,0,.35), 0 6px 18px rgba(0,0,0,.18);
}
.btn-solid:hover { opacity: .85; transform: translateY(-2px); color: #fff; box-shadow: 0 4px 0 rgba(0,0,0,.3), 0 10px 24px rgba(0,0,0,.18); }

.hero-note {
    font-size: .82rem;
    color: var(--muted);
}

/* ─── CHAT MOCKUP ─── */
.mockup-wrap {
    position: relative;
}

.mockup-glow {
    position: absolute;
    inset: -30px;
    background: radial-gradient(ellipse at 50% 50%, rgba(17,17,17,.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.mockup {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(0,0,0,.04),
        0 4px 8px rgba(0,0,0,.04),
        0 16px 40px rgba(0,0,0,.10),
        0 40px 80px rgba(0,0,0,.08);
    max-width: 420px;
    margin: 0 auto;
    animation: floatY 5s ease-in-out infinite;
}
@keyframes floatY {
    0%,100%{transform:translateY(0)}
    50%{transform:translateY(-8px)}
}

.mockup-bar {
    background: var(--ink);
    padding: .9rem 1.1rem;
    display: flex;
    align-items: center;
    gap: .6rem;
}
.mockup-dots span {
    display: inline-block;
    width: 10px; height: 10px;
    border-radius: 50%;
    margin-right: 4px;
}
.mockup-dots span:nth-child(1){background:#ff5f57}
.mockup-dots span:nth-child(2){background:#febc2e}
.mockup-dots span:nth-child(3){background:#28c840}

.mockup-bar-title {
    flex: 1;
    text-align: center;
    font-size: .8rem;
    color: rgba(255,255,255,.6);
    letter-spacing: .04em;
}

.online-pill {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    background: rgba(40,167,69,.18);
    color: #4ade80;
    font-size: .7rem;
    font-weight: 600;
    padding: .2rem .55rem;
    border-radius: 10px;
}
.online-pill::before {
    content: '';
    width: 6px; height: 6px;
    background: #4ade80;
    border-radius: 50%;
    animation: blink 2s infinite;
}

.mockup-body {
    padding: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: .65rem;
    background: var(--bg);
}

.msg { display: flex; flex-direction: column; max-width: 78%; }
.msg.out { align-self: flex-end; align-items: flex-end; }
.msg.in  { align-self: flex-start; align-items: flex-start; }

.msg-avatar {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--border);
    display: flex; align-items: center; justify-content: center;
    font-size: .65rem;
    color: var(--muted);
    margin-bottom: .2rem;
}

.bubble {
    padding: .55rem .85rem;
    border-radius: 13px;
    font-size: .84rem;
    line-height: 1.45;
}
.in  .bubble { background: var(--surface); border: 1px solid var(--border-lt); color: var(--ink); border-bottom-left-radius: 4px; }
.out .bubble { background: var(--ink); color: #fff; border-bottom-right-radius: 4px; }

.msg-meta { font-size: .7rem; color: var(--muted); margin-top: .2rem; }

.mockup-typing {
    display: flex;
    align-items: center;
    gap: .35rem;
    padding: .6rem 1.1rem .5rem;
    font-size: .75rem;
    color: var(--muted);
    border-top: 1px solid var(--border-lt);
    background: var(--surface);
}
.typing-dots span {
    display: inline-block;
    width: 5px; height: 5px;
    background: var(--muted);
    border-radius: 50%;
    animation: typeDot 1.2s infinite;
}
.typing-dots span:nth-child(2){animation-delay:.2s}
.typing-dots span:nth-child(3){animation-delay:.4s}
@keyframes typeDot { 0%,80%,100%{transform:scale(.8);opacity:.4} 40%{transform:scale(1);opacity:1} }

/* badge flutuante no mockup */
.mockup-badge {
    position: absolute;
    bottom: -18px;
    right: -18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: .65rem 1rem;
    display: flex;
    align-items: center;
    gap: .5rem;
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
    font-size: .8rem;
    font-weight: 600;
    color: var(--ink);
    white-space: nowrap;
}
.mockup-badge i { font-size: 1.1rem; color: var(--green); }


/* ─── CONTAINER ─── */
.lcontainer {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ─── SECTION HEADER ─── */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--ink-soft);
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: .25rem .75rem;
    border-radius: 20px;
    margin-bottom: .9rem;
}

.section-title {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-weight: 800;
    letter-spacing: -.025em;
    color: var(--ink);
    line-height: 1.2;
    margin-bottom: .65rem;
}

.section-sub {
    font-size: .97rem;
    color: var(--ink-soft);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.65;
}

/* ─── FEATURES / BENTO ─── */
.features { padding: 96px 0; background: var(--bg); }

.bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto auto;
    gap: .9rem;
    margin-top: 3.5rem;
}

.bcard {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color .2s, box-shadow .2s, transform .2s;
    position: relative;
}
.bcard:hover {
    border-color: #bbb;
    box-shadow: 0 8px 32px rgba(0,0,0,.08);
    transform: translateY(-2px);
}

/* span helpers */
.bcard.col2 { grid-column: span 2; }
.bcard.col3 { grid-column: span 3; }

/* text area */
.bcard-text {
    padding: 1.6rem 1.75rem;
}
.bcard-text h4 {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -.015em;
    color: var(--ink);
    margin-bottom: .4rem;
}
.bcard-text p {
    font-size: .85rem;
    color: var(--ink-soft);
    line-height: 1.65;
    margin: 0;
}

/* visual area — fills the top of each card */
.bcard-visual {
    flex: 1;
    min-height: 160px;
    background: var(--bg);
    border-bottom: 1px solid var(--border-lt);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

/* ── visual: realtime ws ── */
.ws-visual {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    width: 100%;
    justify-content: center;
}
.ws-node {
    width: 48px; height: 48px;
    border-radius: 14px;
    border: 1.5px solid var(--border);
    background: var(--surface);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    color: var(--ink);
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    z-index: 1;
}
.ws-line {
    flex: 1;
    position: relative;
    height: 2px;
    background: var(--border-lt);
    max-width: 90px;
}
.ws-pulse {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--ink);
    animation: wsPulse 1.6s ease-in-out infinite;
}
.ws-pulse:nth-child(2) { animation-delay: .8s; }
@keyframes wsPulse {
    0%   { left: 0;    opacity: 1; }
    100% { left: 100%; opacity: 0; }
}
.ws-label {
    position: absolute;
    bottom: .6rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: .68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--muted);
    white-space: nowrap;
}

/* ── visual: avatar stack ── */
.avatars-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .9rem;
}
.avatar-stack {
    display: flex;
}
.av {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 2px solid var(--surface);
    display: flex; align-items: center; justify-content: center;
    font-size: .75rem;
    font-weight: 700;
    color: #fff;
    margin-left: -8px;
    background: var(--ink);
}
.av:first-child { margin-left: 0; }
.av:nth-child(2) { background: #555; }
.av:nth-child(3) { background: #888; }
.av:nth-child(4) { background: #bbb; color: var(--ink); }
.av-more {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 2px solid var(--surface);
    background: var(--bg);
    border-color: var(--border);
    display: flex; align-items: center; justify-content: center;
    font-size: .7rem;
    font-weight: 600;
    color: var(--muted);
    margin-left: -8px;
}
.av-label {
    font-size: .75rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .06em;
}

/* ── visual: transfer ── */
.transfer-visual {
    display: flex;
    align-items: center;
    gap: .8rem;
    width: 100%;
    justify-content: center;
}
.agent-pill {
    display: flex;
    align-items: center;
    gap: .5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: .4rem .9rem;
    font-size: .78rem;
    font-weight: 600;
    color: var(--ink);
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
    white-space: nowrap;
}
.agent-pill i { font-size: 1rem; }
.transfer-arrow {
    font-size: 1.2rem;
    color: var(--ink);
    animation: arrowBounce 1.5s ease-in-out infinite;
}
@keyframes arrowBounce {
    0%,100% { transform: translateX(0); }
    50%      { transform: translateX(5px); }
}

/* ── visual: history ── */
.history-visual {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: .45rem;
}
.hrow {
    display: flex;
    align-items: center;
    gap: .65rem;
    background: var(--surface);
    border: 1px solid var(--border-lt);
    border-radius: 8px;
    padding: .45rem .75rem;
    font-size: .78rem;
}
.hrow i { font-size: .9rem; color: var(--muted); flex-shrink: 0; }
.hrow-name { font-weight: 600; color: var(--ink); flex: 1; }
.hrow-date { color: var(--muted); font-size: .72rem; white-space: nowrap; }
.hrow-badge {
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: .15rem .5rem;
    border-radius: 10px;
}
.hrow-badge.closed { background: #f1f1f1; color: #888; }
.hrow-badge.open   { background: #e6f9ec; color: #28a745; }

/* ── visual: widget code ── */
.code-visual {
    background: #1a1a1a;
    border-radius: 11px;
    padding: 1rem 1.1rem;
    width: 100%;
    font-family: 'Courier New', monospace;
    font-size: .78rem;
    line-height: 1.7;
}
.code-visual .c-comment { color: #666; }
.code-visual .c-tag     { color: #9cdcfe; }
.code-visual .c-attr    { color: #ce9178; }
.code-visual .c-val     { color: #6a9955; }
.code-cursor {
    display: inline-block;
    width: 7px; height: 13px;
    background: #aaa;
    vertical-align: middle;
    margin-left: 2px;
    animation: cursorBlink 1s step-start infinite;
}
@keyframes cursorBlink { 0%,100%{opacity:1} 50%{opacity:0} }

/* ── visual: departments (col3) ── */
.dept-visual {
    display: flex;
    align-items: stretch;
    gap: .9rem;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
}

.dept-card {
    flex: 1;
    min-width: 150px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 13px;
    padding: 1rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: .6rem;
    transition: border-color .2s, box-shadow .2s;
}
.bcard:hover .dept-card { border-color: #bbb; }

.dept-header {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .82rem;
    font-weight: 700;
    color: var(--ink);
}
.dept-header i { font-size: 1rem; }

.dept-manager {
    display: flex;
    align-items: center;
    gap: .3rem;
    font-size: .72rem;
    color: var(--muted);
    font-weight: 500;
}
.dept-manager i { font-size: .85rem; }

.dept-agents {
    display: flex;
    align-items: center;
    margin-top: auto;
}
.dept-av {
    width: 26px; height: 26px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    font-size: .6rem;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid var(--surface);
    margin-left: -6px;
}
.dept-av:first-child { margin-left: 0; }
.dept-av:nth-child(2) { background: #555; }
.dept-av:nth-child(3) { background: #888; }
.dept-count {
    font-size: .7rem;
    color: var(--muted);
    font-weight: 600;
    margin-left: .45rem;
}

/* ─── HOW IT WORKS ─── */
.how { padding: 96px 0; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.how-steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: start;
    gap: 0;
    margin-top: 3.5rem;
}

.step {
    padding: 1rem;
    text-align: center;
}

.step-num {
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
    font-weight: 800;
    color: var(--ink);
    margin: 0 auto 1.1rem;
    background: var(--surface);
    transition: background .2s, color .2s;
}
.step:hover .step-num { background: var(--ink); color: #fff; }

.step h4 { font-size: 1rem; font-weight: 700; margin-bottom: .4rem; letter-spacing: -.01em; }
.step p  { font-size: .875rem; color: var(--ink-soft); line-height: 1.55; margin: 0; }

.step-arrow {
    display: flex;
    align-items: flex-start;
    padding-top: 1.75rem;
    color: var(--border);
    font-size: 1.5rem;
}

/* ─── CTA ─── */
.cta-section {
    padding: 96px 0;
    background: var(--ink);
    position: relative;
    overflow: hidden;
    text-align: center;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}
.cta-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(17,17,17,.5) 0%, transparent 100%);
    pointer-events: none;
}

.cta-inner { position: relative; z-index: 1; }

.cta-tag {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    border: 1px solid rgba(255,255,255,.18);
    color: rgba(255,255,255,.6);
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: .25rem .8rem;
    border-radius: 20px;
    margin-bottom: 1.25rem;
}

.cta-section h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -.03em;
    margin-bottom: .7rem;
    line-height: 1.15;
}

.cta-section p {
    font-size: 1rem;
    color: rgba(255,255,255,.55);
    margin-bottom: 2rem;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}

.btn-ghost-white {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    background: #fff;
    color: var(--ink);
    text-decoration: none;
    font-size: .95rem;
    font-weight: 700;
    padding: .72rem 1.8rem;
    border-radius: 9px;
    transition: opacity .15s, transform .15s;
    box-shadow: 0 2px 0 rgba(0,0,0,.25), 0 6px 20px rgba(0,0,0,.3);
}
.btn-ghost-white:hover { opacity: .9; transform: translateY(-2px); color: var(--ink); }

/* ─── FOOTER ─── */
.lfooter {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 1.6rem 0;
    text-align: center;
    font-size: .82rem;
    color: var(--muted);
}
.lfooter a { color: var(--ink); text-decoration: none; font-weight: 500; }
.lfooter a:hover { text-decoration: underline; }

/* ─── RESPONSIVE ─── */
@media (max-width: 992px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .hero-eyebrow { margin-left: auto; margin-right: auto; }
    .hero-sub { margin-left: auto; margin-right: auto; }
    .hero-cta { justify-content: center; }
    .mockup { max-width: 380px; }
    .bento { grid-template-columns: 1fr 1fr; }
    .bcard.col2 { grid-column: span 2; }
    .bcard.col3 { grid-column: span 2; }
    .how-steps { grid-template-columns: 1fr; gap: 1.5rem; }
    .step-arrow { display: none; }
    .dept-visual { gap: .6rem; }
    .dept-card { min-width: 120px; padding: .85rem .9rem; }
}

@media (max-width: 640px) {
    .bento { grid-template-columns: 1fr; }
    .bcard.col2, .bcard.col3 { grid-column: span 1; }
    .hero { padding: 110px 0 70px; }
    .mockup-badge { display: none; }
    .dept-visual { flex-direction: column; }
    .dept-card { min-width: unset; }
}

/* ─── CHANNELS ─── */
.channels {
    padding: 96px 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
}

.channel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 3.5rem;
}

.channel-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: border-color .2s, box-shadow .2s;
}
.channel-card:hover {
    border-color: #bbb;
    box-shadow: 0 8px 32px rgba(0,0,0,.08);
}

.ch-head {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.ch-icon-wrap {
    width: 48px; height: 48px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}
.ch-web { background: var(--ink); color: #fff; }
.ch-wa  { background: #25d366; color: #fff; box-shadow: 0 4px 16px rgba(37,211,102,.3); }

.ch-name {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -.01em;
}
.ch-sub {
    display: block;
    font-size: .78rem;
    color: var(--muted);
    font-weight: 500;
    margin-top: .1rem;
}

.ch-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 260px;
    background: var(--surface);
    border: 1px solid var(--border-lt);
    border-radius: 14px;
    padding: 1.5rem;
    overflow: hidden;
}

.ch-desc {
    font-size: .9rem;
    color: var(--ink-soft);
    line-height: 1.65;
    margin: 0;
}

.ch-list {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
.ch-list li {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .85rem;
    color: var(--ink-soft);
    font-weight: 500;
}
.ch-list li i { color: var(--green); font-size: 1rem; flex-shrink: 0; }

/* ─── PHONE FRAME (WhatsApp) ─── */
.phone-frame {
    width: 215px;
    background: #fff;
    border-radius: 30px;
    border: 2.5px solid #1a1a1a;
    overflow: hidden;
    box-shadow:
        0 0 0 6px rgba(0,0,0,.06),
        0 20px 60px rgba(0,0,0,.2);
    animation: floatY 5s ease-in-out infinite;
    animation-delay: .5s;
}

.phone-wa-header {
    background: #075e54;
    padding: .65rem .9rem;
    display: flex;
    align-items: center;
    gap: .55rem;
}
.phone-wa-avatar {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: #128c7e;
    display: flex; align-items: center; justify-content: center;
    font-size: .85rem;
    color: #fff;
    flex-shrink: 0;
}
.phone-wa-info { flex: 1; }
.phone-wa-name {
    font-size: .67rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}
.phone-wa-status {
    font-size: .6rem;
    color: rgba(255,255,255,.65);
}
.phone-wa-actions {
    font-size: .9rem;
    color: rgba(255,255,255,.6);
}

.phone-wa-body {
    background: #e5ddd5;
    padding: .75rem .6rem;
    display: flex;
    flex-direction: column;
    gap: .55rem;
    min-height: 170px;
}

.wa-msg {
    display: flex;
    flex-direction: column;
}
.wa-msg.in  { align-items: flex-start; }
.wa-msg.out { align-items: flex-end; }

.wa-bubble {
    padding: .4rem .65rem;
    border-radius: 8px;
    font-size: .7rem;
    max-width: 85%;
    line-height: 1.45;
    word-break: break-word;
    box-shadow: 0 1px 1px rgba(0,0,0,.1);
}
.wa-msg.in  .wa-bubble { background: #fff; color: #111; border-bottom-left-radius: 2px; }
.wa-msg.out .wa-bubble { background: #dcf8c6; color: #111; border-bottom-right-radius: 2px; }

.wa-time {
    font-size: .57rem;
    color: rgba(0,0,0,.4);
    margin-top: .15rem;
    padding: 0 .2rem;
}

.phone-wa-footer {
    background: #f0f0f0;
    padding: .45rem .65rem;
    display: flex;
    align-items: center;
    gap: .5rem;
    border-top: 1px solid #ddd;
}
.phone-wa-input-fake {
    flex: 1;
    background: #fff;
    border-radius: 20px;
    padding: .3rem .7rem;
    font-size: .62rem;
    color: #aaa;
    border: 1px solid #ddd;
}
.phone-wa-send {
    width: 26px; height: 26px;
    background: #075e54;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: .7rem;
    color: #fff;
    flex-shrink: 0;
}

@media (max-width: 992px) {
    .channel-grid { grid-template-columns: 1fr; }
    .ch-visual { min-height: 220px; }
}

/* ── visual: AI flow (cliente → IA → agente) ── */
.ai-flow-visual {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    width: 100%;
    justify-content: center;
}
.ai-node {
    width: 56px !important;
    height: 56px !important;
    font-size: 1.5rem !important;
    background: var(--ink) !important;
    color: #fff !important;
    border-color: var(--ink) !important;
}

/* ── visual: WhatsApp ── */
.wa-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .75rem;
}
.wa-icon-node {
    width: 56px; height: 56px;
    border-radius: 16px;
    background: #25d366;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.7rem;
    color: #fff;
    box-shadow: 0 4px 20px rgba(37,211,102,.25);
}
.wa-badge {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #1da851;
    background: rgba(37,211,102,.12);
    border: 1px solid rgba(37,211,102,.25);
    padding: .2rem .65rem;
    border-radius: 20px;
}

/* ── LEGAL (Política de Privacidade / páginas de texto) ── */
.legal {
    padding: 140px 0 80px;
    background: var(--bg);
}

.legal-inner {
    max-width: 1120px;
}

.legal-head {
    margin-bottom: 2.5rem;
}

.legal-head h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--ink);
    margin: .6rem 0 .4rem;
    letter-spacing: -0.02em;
}

.legal-updated {
    font-size: .85rem;
    color: var(--muted);
    margin: 0;
}

.legal h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ink);
    margin: 2.2rem 0 .8rem;
}

.legal h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
    margin: 1.4rem 0 .5rem;
}

.legal p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--ink-soft);
    margin: 0 0 1rem;
}

.legal ul {
    margin: 0 0 1rem;
    padding-left: 1.25rem;
}

.legal li {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--ink-soft);
    margin-bottom: .4rem;
}

.legal strong {
    color: var(--ink);
    font-weight: 600;
}
