/* ============================================================
   THBA Mídia — Landing (SaaS premium, light + teal)
   ============================================================ */

:root {
    /* Superfícies */
    --bg:            #ffffff;
    --bg-tint:       #f3f8f8;
    --surface:       #ffffff;

    /* Tinta / texto */
    --ink:           #0a2027;
    --ink-2:         #3f5a64;
    --ink-muted:     #7c95a0;

    /* Marca (teal) */
    --teal:          #0d9488;
    --teal-light:    #14b8a0;
    --teal-deep:     #0f766e;
    --teal-06:       rgba(13,148,136,0.06);
    --teal-10:       rgba(13,148,136,0.10);
    --teal-16:       rgba(20,184,160,0.16);

    /* WhatsApp */
    --wa:            #25D366;
    --wa-hover:      #1EB959;

    /* Linhas / sombras */
    --line:          rgba(10,34,49,0.09);
    --line-strong:   rgba(10,34,49,0.14);
    --shadow-sm:     0 1px 2px rgba(10,34,49,0.05);
    --shadow-md:     0 1px 3px rgba(10,34,49,0.05), 0 12px 28px -14px rgba(13,148,136,0.22);
    --shadow-lg:     0 2px 6px rgba(10,34,49,0.06), 0 34px 60px -28px rgba(13,148,136,0.30);

    /* Raio */
    --r-sm: 10px;
    --r:    16px;
    --r-lg: 24px;

    /* Layout */
    --container: 1160px;
    --font: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--ink-2);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* ---- Utilitários tipográficos ---- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal-deep);
}
.eyebrow-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 0 4px var(--teal-10);
}

.section { padding: clamp(4.5rem, 8vw, 8rem) 0; }
.section-tint { background: var(--bg-tint); }

.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-title {
    margin-top: 0.9rem;
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--ink);
}

/* ---- Botões ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1;
    padding: 0.9rem 1.5rem;
    border-radius: 9999px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .25s ease, background .2s ease, border-color .2s ease, color .2s ease;
    white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid var(--teal-16); outline-offset: 2px; }
.btn-sm { padding: 0.6rem 1.05rem; font-size: 0.9rem; }
.btn-lg { padding: 1.05rem 1.9rem; font-size: 1.08rem; }

.btn-wa {
    background: var(--wa);
    color: #fff;
    box-shadow: 0 6px 18px -4px rgba(37,211,102,0.45);
}
.btn-wa:hover { background: var(--wa-hover); transform: translateY(-2px); box-shadow: 0 12px 26px -6px rgba(37,211,102,0.5); }
.btn-wa:active { transform: translateY(0); }
.ico-wa { flex-shrink: 0; }

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-deep); background: var(--teal-06); }

/* ---- Header ---- */
.header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    transition: background .3s, box-shadow .3s, border-color .3s;
    border-bottom: 1px solid transparent;
}
.header.scrolled {
    background: rgba(255,255,255,0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom-color: var(--line);
}
.header-inner {
    max-width: var(--container);
    margin: 0 auto;
    height: 72px;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
.logo {
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: var(--ink);
}
.logo span { color: var(--teal); }

.nav-menu { display: flex; gap: 2rem; }
.nav-link {
    font-size: 0.95rem; font-weight: 500; color: var(--ink-2);
    transition: color .2s;
}
.nav-link:hover { color: var(--teal-deep); }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }

/* ---- Hero ---- */
.hero { position: relative; padding: 140px 0 clamp(4rem, 8vw, 7rem); overflow: hidden; }
.hero-glow {
    position: absolute; top: -20%; right: -10%;
    width: 780px; height: 780px;
    background: radial-gradient(circle, var(--teal-16) 0%, transparent 62%);
    pointer-events: none; z-index: 0;
}
.hero-glow::after {
    content: ''; position: absolute; top: 30%; left: -60%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(13,148,136,0.10) 0%, transparent 65%);
}
.hero-inner {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1.05fr 1fr;
    gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.hero-title {
    margin: 1.1rem 0 1.25rem;
    font-size: clamp(2.4rem, 5.2vw, 4rem);
    font-weight: 900; line-height: 1.05; letter-spacing: -0.04em;
    color: var(--ink);
}
.hero-title .hl {
    background: linear-gradient(120deg, var(--teal) 20%, var(--teal-light));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-sub {
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    color: var(--ink-2); max-width: 34rem; margin-bottom: 2rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 1.5rem; }
.hero-trust { font-size: 0.9rem; color: var(--ink-muted); }

/* Browser frame */
.hero-visual { position: relative; }
.browser {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.browser-bar {
    display: flex; align-items: center; gap: 0.45rem;
    padding: 0.7rem 1rem;
    background: #fbfdfd;
    border-bottom: 1px solid var(--line);
}
.browser-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: #d8e2e5; }
.browser-bar .dot:nth-child(1) { background: #ff5f57; }
.browser-bar .dot:nth-child(2) { background: #febc2e; }
.browser-bar .dot:nth-child(3) { background: #28c840; }
.browser-url {
    margin-left: 0.75rem;
    flex: 1;
    font-size: 0.78rem; color: var(--ink-muted);
    background: #eef4f4; border-radius: 8px;
    padding: 0.3rem 0.8rem;
    text-align: center;
    max-width: 280px;
}
.browser-shot { width: 100%; height: auto; display: block; }

/* Chips flutuantes */
.float-chip {
    position: absolute;
    display: flex; align-items: center; gap: 0.7rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0.7rem 1rem;
    box-shadow: var(--shadow-md);
}
.float-chip strong { display: block; font-size: 0.9rem; color: var(--ink); font-weight: 700; line-height: 1.2; }
.float-chip small { font-size: 0.75rem; color: var(--ink-muted); }
.chip-ico {
    width: 30px; height: 30px; border-radius: 9px;
    display: grid; place-items: center;
    font-weight: 800; font-size: 0.95rem;
}
.chip-ok { background: var(--teal-10); color: var(--teal-deep); }
.chip-live { background: rgba(37,211,102,0.15); position: relative; }
.chip-live::after {
    content: ''; width: 9px; height: 9px; border-radius: 50%;
    background: var(--wa); box-shadow: 0 0 0 0 rgba(37,211,102,0.5);
    animation: pulseDot 1.8s infinite;
}
@keyframes pulseDot {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
    70% { box-shadow: 0 0 0 8px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
.chip-a { top: 16%; left: -6%; animation: floatY 6s ease-in-out infinite; }
.chip-b { bottom: 12%; right: -5%; animation: floatY 7s ease-in-out infinite 1s; }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---- Trust strip ---- */
.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-tint); }
.trust-inner {
    display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 2rem;
    padding-top: 1.4rem; padding-bottom: 1.4rem;
}
.trust-label { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); }
.trust-items { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.4rem; }
.trust-item { font-size: 1.05rem; font-weight: 700; color: var(--ink); }
.trust-sep { width: 5px; height: 5px; border-radius: 50%; background: var(--line-strong); }

/* ---- Bento de recursos ---- */
.bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.feat {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(13,148,136,0.25); }
.feat-hero {
    grid-column: span 2; grid-row: span 2;
    display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem;
    background:
        radial-gradient(120% 90% at 100% 0%, var(--teal-06), transparent 55%),
        var(--surface);
}
.feat-hero .feat-title { font-size: 1.6rem; }
.feat-hero .feat-desc { font-size: 1.05rem; max-width: 30rem; }
.feat-icon {
    display: grid; place-items: center;
    width: 52px; height: 52px; border-radius: 14px;
    background: var(--teal-10); color: var(--teal-deep);
    margin-bottom: 1.25rem;
}
.feat-icon svg { width: 26px; height: 26px; }
.feat-title { font-size: 1.2rem; font-weight: 700; color: var(--ink); margin-bottom: 0.5rem; }
.feat-desc { color: var(--ink-2); font-size: 0.97rem; }
.feat-visual { align-self: stretch; }
.mini-browser {
    border: 1px solid var(--line); border-radius: var(--r);
    overflow: hidden; box-shadow: var(--shadow-md); background: #000;
}
.mini-browser img { width: 100%; height: auto; display: block; }

/* ---- Passos ---- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.step { position: relative; padding-top: 0.5rem; }
.step-num {
    font-size: 3.2rem; font-weight: 900; line-height: 1; letter-spacing: -0.04em;
    background: linear-gradient(135deg, var(--teal), var(--teal-light));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    display: block; margin-bottom: 0.9rem;
}
.step-title { font-size: 1.2rem; font-weight: 700; color: var(--ink); margin-bottom: 0.4rem; }
.step-desc { color: var(--ink-2); font-size: 0.95rem; }

/* ---- Showcase split ---- */
.showcase {
    display: grid; grid-template-columns: 1fr 1.1fr;
    gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.showcase-lead { font-size: 1.1rem; color: var(--ink-2); margin: 1rem 0 1.5rem; }
.check-list { display: grid; gap: 0.7rem; margin-bottom: 2rem; }
.check-list li { display: flex; align-items: center; gap: 0.7rem; color: var(--ink); font-weight: 500; }
.check {
    flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
    display: grid; place-items: center; font-size: 0.8rem; font-weight: 800;
    background: var(--teal-10); color: var(--teal-deep);
}

/* ---- Casos de uso ---- */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.case {
    position: relative; aspect-ratio: 4/3; border-radius: var(--r);
    overflow: hidden; border: 1px solid var(--line);
}
.case img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.case::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(6,26,32,0.82), transparent 58%);
}
.case:hover img { transform: scale(1.06); }
.case-title {
    position: absolute; left: 1.2rem; bottom: 1.1rem; z-index: 2;
    color: #fff; font-weight: 700; font-size: 1.2rem;
}
.case-more {
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--teal), var(--teal-light));
    border: none;
}
.case-more::after { display: none; }
.case-more-text { color: #fff; font-weight: 700; font-size: 1.2rem; }

/* ---- CTA final ---- */
.cta {
    padding: clamp(4rem, 8vw, 7rem) 0;
    background:
        radial-gradient(90% 120% at 50% 0%, var(--teal-06), transparent 60%),
        var(--bg);
    text-align: center;
    border-top: 1px solid var(--line);
}
.cta-inner {
    background: linear-gradient(135deg, #0f766e, #0d9488 55%, #14b8a0);
    border-radius: var(--r-lg);
    padding: clamp(3rem, 6vw, 5rem) 1.5rem;
    box-shadow: var(--shadow-lg);
    color: #fff;
}
.cta-title { font-size: clamp(1.9rem, 4.5vw, 3.1rem); font-weight: 900; line-height: 1.08; letter-spacing: -0.03em; color: #fff; }
.cta-sub { color: rgba(255,255,255,0.9); font-size: 1.1rem; max-width: 34rem; margin: 1rem auto 2rem; }
.cta-inner .btn-wa { background: #fff; color: var(--teal-deep); box-shadow: 0 10px 30px -8px rgba(0,0,0,0.3); }
.cta-inner .btn-wa:hover { background: #f0fdfa; }
.cta-note { display: block; margin-top: 1.1rem; font-size: 0.85rem; color: rgba(255,255,255,0.8); }

/* ---- Footer ---- */
.footer { background: #08191f; color: #9db4bc; padding: clamp(3rem, 6vw, 4.5rem) 0 2.5rem; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 3rem; }
.footer .logo { color: #fff; }
.footer .logo span { color: var(--teal-light); }
.footer-desc { margin: 1rem 0; max-width: 22rem; font-size: 0.95rem; }
.footer-copy { font-size: 0.82rem; color: #5f7981; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-col h4 { color: #fff; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col a { display: block; color: #9db4bc; font-size: 0.95rem; padding: 0.28rem 0; transition: color .2s; }
.footer-col a:hover { color: var(--teal-light); }

/* ---- FAB WhatsApp ---- */
.fab-wa {
    position: fixed; z-index: 90;
    right: clamp(1rem, 3vw, 1.75rem); bottom: clamp(1rem, 3vw, 1.75rem);
    width: 58px; height: 58px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--wa); color: #fff;
    box-shadow: 0 10px 26px -6px rgba(37,211,102,0.6);
    transition: transform .2s ease, box-shadow .25s ease;
}
.fab-wa:hover { transform: scale(1.07); box-shadow: 0 14px 30px -6px rgba(37,211,102,0.7); }

/* ============================================================
   Responsivo
   ============================================================ */
@media (max-width: 960px) {
    .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
    .hero-visual { max-width: 620px; margin: 0 auto; width: 100%; }
    .showcase { grid-template-columns: 1fr; }
    .bento { grid-template-columns: repeat(2, 1fr); }
    .feat-hero { grid-column: span 2; grid-row: auto; flex-direction: column; }
    .steps { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
    .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 640px) {
    .nav-menu { display: none; }
    .header-actions .btn-ghost { display: none; }
    .bento { grid-template-columns: 1fr; }
    .feat-hero { grid-column: auto; }
    .cases { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: 1fr; }
    .footer-cols { grid-template-columns: repeat(2, 1fr); }
    .float-chip { display: none; }
    .trust-inner { justify-content: center; text-align: center; }
}
