/* Bossa Office — CSS compartilhado por todas as páginas do site.
   Editar AQUI, nunca inline numa página: é o que impede o nav/botão/rodapé
   de divergirem entre index, hub de módulos e páginas de módulo.
   Blocos: base/nav/hero/mockups/seções da home + template de subpágina. */

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

    :root {
      --blue:    #1e40af;
      --blue-l:  #3b82f6;
      --blue-xl: #eff6ff;
      --dark:    #0f172a;
      --text:    #1e293b;
      --muted:   #64748b;
      --white:   #ffffff;
      --green:   #16a34a;
      --amber:   #fbbf24;
      --wa:      #25d366;
    }

    html { scroll-behavior: smooth; }
    body { font-family: "Inter", system-ui, sans-serif; color: var(--text); background: var(--white); overflow-x: hidden; }
    a { text-decoration: none; color: inherit; }

    /* ── REVEAL (microanimação) ───────────────────────────── */
    .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
    .reveal.in { opacity: 1; transform: none; }
    @media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

    /* ── NAV ─────────────────────────────────────────────── */
    nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 100;
      display: flex; align-items: center; justify-content: space-between;
      padding: 16px 6%;
      background: rgba(255,255,255,0.97);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(30,64,175,0.12);
      box-shadow: 0 1px 12px rgba(15,23,42,0.05);
    }
    nav img { height: 44px; display: block; }
    .nav-links { display: flex; gap: 32px; align-items: center; }
    .nav-links a { font-size: 14px; color: var(--muted); font-weight: 500; transition: color .2s; }
    .nav-links a:hover { color: var(--blue); }
    .btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border-radius: 10px; font-weight: 600; font-size: 14px; cursor: pointer; transition: all .2s; }
    .btn-primary { background: var(--blue); color: #fff; }
    .btn-primary:hover { background: #1d3a9e; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(30,64,175,.35); }
    .btn-outline { border: 1.5px solid #bfdbfe; color: var(--blue); background: transparent; }
    .btn-outline:hover { background: var(--blue-xl); }

    /* ── HERO ─────────────────────────────────────────────── */
    .hero {
      min-height: 100vh;
      background: url('/bg.webp') center/cover no-repeat;
      display: flex; align-items: center;
      padding: 120px 6% 80px;
      position: relative;
    }
    .hero::before {
      content: "";
      position: absolute; inset: 0;
      background: linear-gradient(120deg, rgba(15,23,42,.78) 0%, rgba(30,64,175,.48) 100%);
    }
    .hero-inner {
      position: relative; width: 100%; max-width: 1200px; margin: 0 auto;
      display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
    }
    .hero-content { max-width: 620px; }
    .hero-badge {
      display: inline-flex; align-items: center; gap: 8px;
      background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25);
      color: #fff; font-size: 12px; font-weight: 600; padding: 6px 14px; border-radius: 20px;
      margin-bottom: 28px; letter-spacing: .04em;
    }
    .hero h1 {
      font-size: clamp(36px, 5vw, 58px); font-weight: 900; color: #fff;
      line-height: 1.1; margin-bottom: 20px; letter-spacing: -.02em;
    }
    .hero h1 span { color: #60a5fa; }
    .hero p {
      font-size: 18px; color: rgba(255,255,255,.85); line-height: 1.7; margin-bottom: 36px; font-weight: 400;
    }
    .hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
    .btn-hero { padding: 14px 28px; font-size: 15px; border-radius: 12px; }
    .hero-note { margin-top: 20px; font-size: 13px; color: rgba(255,255,255,.6); }
    .hero-mock { transform: rotate(.5deg); }

    /* ── MOCKUPS (on-brand, sem imagem) ───────────────────── */
    .mock {
      background: #fff; border-radius: 14px; border: 1px solid #e2e8f0;
      box-shadow: 0 24px 70px rgba(15,23,42,.22); overflow: hidden; width: 100%;
    }
    .mock-bar { display: flex; gap: 7px; align-items: center; padding: 11px 14px; background: #f1f5f9; border-bottom: 1px solid #e2e8f0; }
    .mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
    .mock-bar i:nth-child(1) { background: #f87171; }
    .mock-bar i:nth-child(2) { background: #fbbf24; }
    .mock-bar i:nth-child(3) { background: #34d399; }
    .mock-bar .mock-title { margin-left: 10px; font-size: 11px; color: #94a3b8; font-weight: 600; }
    .mock-body { padding: 18px; }
    .mk-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
    .mk-kpi { background: var(--blue-xl); border-radius: 10px; padding: 12px; }
    .mk-kpi span { font-size: 11px; color: var(--muted); display: block; }
    .mk-kpi strong { font-size: 16px; color: var(--blue); }
    .mk-kpi.pos { background: #ecfdf5; }
    .mk-kpi.pos strong { color: var(--green); }
    .mk-chart { display: flex; align-items: flex-end; gap: 8px; height: 96px; padding-top: 8px; }
    .mk-chart span { flex: 1; background: linear-gradient(180deg, #60a5fa, #1e40af); border-radius: 6px 6px 0 0; }
    .mk-chat { padding: 16px; display: flex; flex-direction: column; gap: 10px; background: #f8fafc; }
    .bub { max-width: 78%; font-size: 13px; line-height: 1.45; padding: 9px 13px; border-radius: 14px; }
    .bub.in  { align-self: flex-start; background: #fff; border: 1px solid #e2e8f0; border-bottom-left-radius: 4px; }
    .bub.out { align-self: flex-end; background: var(--wa); color: #053d23; border-bottom-right-radius: 4px; }
    .bub.ai  { align-self: flex-start; background: var(--blue-xl); color: var(--blue); font-weight: 600; font-size: 12px; }
    .bub.cfo { align-self: flex-start; background: #fff; border: 1px solid #e2e8f0; }

    /* ── NÚMEROS ──────────────────────────────────────────── */
    .stats {
      background: var(--dark);
      padding: 40px 6%;
      display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0;
    }
    .stat { text-align: center; padding: 24px; border-right: 1px solid rgba(255,255,255,.06); }
    .stat:last-child { border-right: none; }
    .stat-num { font-size: 36px; font-weight: 800; color: #60a5fa; }
    .stat-pre { font-size: 12px; color: rgba(255,255,255,.45); margin-bottom: 4px; }
    .stat-label { font-size: 13px; color: rgba(255,255,255,.5); margin-top: 4px; }

    /* ── SEÇÕES GENÉRICAS ─────────────────────────────────── */
    section { padding: 96px 6%; }
    .section-badge {
      display: inline-block; background: var(--blue-xl); color: var(--blue);
      font-size: 11px; font-weight: 700; letter-spacing: .08em;
      padding: 5px 14px; border-radius: 20px; margin-bottom: 16px; text-transform: uppercase;
    }
    h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; line-height: 1.2; letter-spacing: -.02em; margin-bottom: 16px; }
    .subtitle { font-size: 17px; color: var(--muted); line-height: 1.7; max-width: 560px; }
    .center { text-align: center; }
    .center .subtitle { margin: 0 auto; }

    /* ── DOR ──────────────────────────────────────────────── */
    .pain { background: var(--blue-xl); }
    .pain-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 56px; }
    .pain-list { display: flex; flex-direction: column; gap: 20px; }
    .pain-item {
      display: flex; align-items: flex-start; gap: 16px;
      background: #fff; border-radius: 14px; padding: 20px;
      box-shadow: 0 2px 12px rgba(30,64,175,.06);
      border: 1px solid #dbeafe;
    }
    .pain-icon { font-size: 24px; flex-shrink: 0; margin-top: 2px; }
    .pain-item h3 { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
    .pain-item p { font-size: 13px; color: var(--muted); line-height: 1.6; }
    .pain-img { border-radius: 20px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.15); }
    .pain-img img { width: 100%; height: 380px; object-fit: cover; display: block; }

    /* ── FUNCIONALIDADES (grid) ───────────────────────────── */
    .features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 56px; }
    .feature-card {
      background: var(--white); border: 1px solid #e2e8f0; border-radius: 16px;
      padding: 28px; transition: all .25s;
    }
    .feature-card:hover { border-color: #bfdbfe; box-shadow: 0 8px 32px rgba(30,64,175,.10); transform: translateY(-3px); }
    .feature-icon { font-size: 30px; margin-bottom: 16px; }
    .feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
    .feature-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }

    /* ── MÓDULOS (linhas alternadas mock + texto) ─────────── */
    .modules { background: linear-gradient(180deg, #fff 0%, var(--blue-xl) 100%); }
    .modrow { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-top: 72px; }
    .modrow:first-of-type { margin-top: 56px; }
    .modrow.reverse .modrow-text { order: 2; }
    .mod-opt { font-weight: 600; color: #64748b; border-left: 1px solid #dbeafe; padding-left: 8px; }
    .mod-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--blue); background: #fff; border: 1px solid #dbeafe; padding: 5px 12px; border-radius: 20px; margin-bottom: 14px; }
    .modrow-text h3 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; line-height: 1.2; margin-bottom: 12px; letter-spacing: -.01em; }
    .modrow-text p { font-size: 16px; color: var(--muted); line-height: 1.7; margin-bottom: 18px; }
    .mod-list { display: flex; flex-direction: column; gap: 10px; }
    .mod-list li { list-style: none; display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text); line-height: 1.5; }
    .mod-list li::before { content: "✓"; color: var(--green); font-weight: 800; flex-shrink: 0; }

    .mini-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 64px; }

    /* ── CONCEITO ─────────────────────────────────────────── */
    .concept {
      background: var(--dark);
      display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
    }
    .concept-mock { transform: rotate(-.5deg); }
    .concept h2 { color: #fff; }
    .concept .subtitle { color: rgba(255,255,255,.6); }
    .concept-points { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
    .concept-point { display: flex; align-items: center; gap: 14px; }
    .concept-point .dot { width: 8px; height: 8px; border-radius: 50%; background: #60a5fa; flex-shrink: 0; }
    .concept-point span { font-size: 15px; color: rgba(255,255,255,.8); line-height: 1.5; }

    /* ── CONFIANÇA / SEGURANÇA ────────────────────────────── */
    .trust { background: #fff; }
    .trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 20px; margin-top: 48px; }
    .trust-item { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 1px solid #e2e8f0; border-radius: 14px; background: #f8fafc; }
    .trust-item .ti-icon { font-size: 26px; flex-shrink: 0; }
    .trust-item h4 { font-size: 14px; font-weight: 700; margin-bottom: 2px; }
    .trust-item p { font-size: 12px; color: var(--muted); line-height: 1.5; }

    /* ── PREÇO ────────────────────────────────────────────── */
    .pricing { background: var(--blue-xl); }
    .price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 860px; margin: 56px auto 0; }
    .price-card {
      background: #fff; border-radius: 24px;
      box-shadow: 0 8px 32px rgba(30,64,175,.10);
      border: 2px solid #bfdbfe; overflow: hidden;
      position: relative;
    }
    .price-card.featured { border-color: var(--blue); box-shadow: 0 20px 60px rgba(30,64,175,.20); }
    .price-badge {
      position: absolute; top: 16px; right: 16px;
      background: #fbbf24; color: #92400e;
      font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 20px;
      letter-spacing: .04em;
    }
    .price-header { padding: 32px; text-align: center; }
    .price-card:not(.featured) .price-header { background: var(--blue-xl); }
    .price-card.featured .price-header { background: var(--blue); }
    .price-header h3 { font-size: 16px; font-weight: 700; margin-bottom: 12px; }
    .price-card:not(.featured) .price-header h3 { color: var(--blue); }
    .price-card.featured .price-header h3 { color: rgba(255,255,255,.8); }
    .price-value { font-size: 48px; font-weight: 900; line-height: 1; }
    .price-card:not(.featured) .price-value { color: var(--blue); }
    .price-card.featured .price-value { color: #fff; }
    .price-value span { font-size: 20px; font-weight: 500; }
    .price-period { font-size: 13px; margin-top: 6px; }
    .price-card:not(.featured) .price-period { color: var(--muted); }
    .price-card.featured .price-period { color: rgba(255,255,255,.6); }
    .price-body { padding: 28px; }
    .price-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
    .price-features li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text); }
    .price-features li::before { content: "✓"; color: var(--green); font-weight: 700; font-size: 15px; }
    .price-cta { width: 100%; padding: 14px; border-radius: 12px; font-size: 15px; font-weight: 700; border: none; cursor: pointer; display: block; text-align: center; }
    .price-note { text-align: center; margin-top: 12px; font-size: 12px; color: var(--muted); }
    @media (max-width: 640px) { .price-grid { grid-template-columns: 1fr; } }

    /* ── CTA FINAL ────────────────────────────────────────── */
    .cta-final {
      background: var(--blue);
      text-align: center; padding: 96px 6%;
    }
    .cta-final h2 { color: #fff; margin-bottom: 16px; }
    .cta-final p { color: rgba(255,255,255,.7); font-size: 17px; margin-bottom: 36px; }

    /* ── FOOTER ───────────────────────────────────────────── */
    footer {
      background: var(--dark); padding: 40px 6%;
      display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
    }
    footer img { height: 34px; opacity: .7; }
    .footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
    .footer-links a { font-size: 13px; color: rgba(255,255,255,.5); transition: color .2s; }
    .footer-links a:hover { color: rgba(255,255,255,.9); }
    footer .copy { font-size: 13px; color: rgba(255,255,255,.35); width: 100%; text-align: center; border-top: 1px solid rgba(255,255,255,.08); padding-top: 18px; margin-top: 4px; }

    /* ── RESPONSIVO ───────────────────────────────────────── */
    @media (max-width: 900px) {
      .hero-inner { grid-template-columns: 1fr; gap: 40px; }
      .hero-mock { display: none; }
    }
    @media (max-width: 768px) {
      .pain-grid, .concept, .modrow, .modrow.reverse { grid-template-columns: 1fr; }
      .modrow.reverse .modrow-text { order: 0; }
      .pain-img { order: -1; }
      .concept-mock { order: -1; transform: none; }
      .nav-links { display: none; }
      nav img { height: 38px; }
      .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.06); }
      footer { justify-content: center; text-align: center; }
    }

/* ── TEMPLATE DE SUBPÁGINA (módulos e afins) ─────────────── */
/* ── Específico desta página ─────────────────────────── */
    .subhero { padding: 130px 6% 60px; background: linear-gradient(160deg, #0f172a 0%, #1e40af 130%); color: #fff; }
    .subhero-inner { max-width: 860px; margin: 0 auto; }
    .subhero h1 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 900; line-height: 1.12; letter-spacing: -.02em; margin-bottom: 18px; }
    .subhero p { font-size: 17px; line-height: 1.75; color: rgba(255,255,255,.85); margin-bottom: 30px; }
    .subhero .hero-note { color: rgba(255,255,255,.62); }
    .wrap { max-width: 860px; margin: 0 auto; padding: 64px 6%; }
    .wrap h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; color: var(--dark); letter-spacing: -.02em; margin-bottom: 14px; }
    .wrap p { font-size: 16px; line-height: 1.8; color: var(--muted); margin-bottom: 16px; }
    .steps { display: grid; gap: 14px; margin: 26px 0 8px; }
    .step { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 18px 20px; }
    .step-n { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--blue-xl); color: var(--blue); font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; }
    .step h3 { font-size: 16px; color: var(--dark); margin-bottom: 4px; }
    .step p { font-size: 14.5px; margin: 0; }
    .bank-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 6px; }
    .bank { font-size: 14px; font-weight: 600; color: var(--blue); background: var(--blue-xl); border: 1px solid #dbeafe; border-radius: 10px; padding: 9px 16px; }
    .bank.soon { color: #475569; background: #f8fafc; border-color: #e2e8f0; font-weight: 500; }
    .callout { background: #f8fafc; border-left: 3px solid var(--blue-l); border-radius: 0 10px 10px 0; padding: 18px 22px; margin: 26px 0; }
    .callout p { margin: 0; font-size: 15px; }
    .endcta { background: var(--blue-xl); border-top: 1px solid #dbeafe; padding: 60px 6%; text-align: center; }
    .endcta h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; color: var(--dark); margin-bottom: 12px; letter-spacing: -.02em; }
    .endcta p { color: var(--muted); font-size: 16px; margin-bottom: 26px; }
    @media (max-width: 768px) { .subhero { padding-top: 110px; } }

/* ── HUB DE MÓDULOS (/modulos) ───────────────────────────── */
.wrap.wide { max-width: 1100px; }
.hub-group { margin-top: 54px; }
.hub-group:first-of-type { margin-top: 4px; }
.hub-group h2 { margin-bottom: 8px; }
.hub-note { font-size: 15.5px; color: var(--muted); line-height: 1.7; margin: 0; }
.hub-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; margin-top: 24px; }
.mod-card { display: block; background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 22px; transition: all .25s; }
a.mod-card:hover { border-color: #bfdbfe; box-shadow: 0 8px 32px rgba(30,64,175,.10); transform: translateY(-3px); }
.mod-card .ico { font-size: 26px; line-height: 1; margin-bottom: 12px; display: block; }
.mod-card h3 { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.mod-card p { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0; }
.mod-card .more { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--blue); }
.mod-card.locked { background: #f8fafc; border-style: dashed; }
.selo { display: inline-block; margin-top: 12px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #475569; background: #fff; border: 1px solid #e2e8f0; border-radius: 20px; padding: 4px 10px; }
.selo.ask { color: var(--blue); background: var(--blue-xl); border-color: #dbeafe; }
