/* =====================================================================
   Fillux — CSS da landing page comercial (fillux-landing.html)
   ---------------------------------------------------------------------
   Extraído do bloco <style> inline em 25/09 (mesmo CSS, sem alteração de
   regra). O HTML agora só linka este arquivo:
       <link rel="stylesheet" href="/assets/css/landing.css?v=...">
   A landing é servida no domínio raiz pelo readfile() de index.php.
   ===================================================================== */
  :root {
    --bg: #ffffff;
    --bg-soft: #F8FAFC;
    --ink: #0F172A;
    --muted: #64748B;
    --line: #E2E8F0;
    --brand: #10B981;          /* verde Fillux — ação */
    --brand-dark: #047857;
    --brand-soft: #ECFDF5;
    --aqua: #064E3B;           /* verde profundo — estrutura */
    --gold: #e0a82e;
    --green: #047857;

    /* Tokens da marca, com os MESMOS nomes usados no app
       (assets/css/style.css). Centralizar aqui evita hex solto na landing. */
    --fillux-primary: #10B981;
    --fillux-primary-hover: #059669;
    --fillux-dark: #064E3B;
    --fillux-light: #A7F3D0;
    --fillux-soft: #ECFDF5;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
  }
  a { text-decoration: none; color: inherit; }
  .container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

  /* ---------- botões ---------- */
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-weight: 700; font-size: 15px; padding: 13px 22px; border-radius: 14px;
    border: 0; cursor: pointer; transition: transform .12s ease, box-shadow .2s ease, background .2s;
  }
  .btn:active { transform: scale(.98); }
  .btn-primary { background: linear-gradient(135deg, var(--brand), var(--aqua)); color: #fff; box-shadow: 0 10px 24px rgba(16, 185, 129,.28); }
  .btn-primary:hover { box-shadow: 0 14px 30px rgba(16, 185, 129,.4); }
  .btn-ghost { background: #fff; border: 1.5px solid var(--line); color: var(--ink); }
  .btn-ghost:hover { border-color: #E2E8F0; }
  .btn-block { width: 100%; }

  /* ---------- barra de urgência ---------- */
  .urgency {
    background: linear-gradient(90deg, var(--brand), var(--aqua));
    color: #fff; text-align: center; font-size: 13.5px; font-weight: 600; padding: 9px 16px;
  }
  .urgency strong { font-weight: 800; }
  @media (max-width: 639px) { .urgency { padding-left: 22px; padding-right: 22px; } }

  /* ---------- nav ---------- */
  .nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
  .nav-inner { height: 66px; display: flex; align-items: center; justify-content: space-between; }
  .logo { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 20px; letter-spacing: -.3px; }
  .logo-mark { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--brand), var(--aqua)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; }
  /* Símbolo oficial do Fillux (fluxo + conexão + spark). Substitui o antigo
     quadrado com a letra "F": a marca não usa mais letra como símbolo. */
  .logo-sym { width: 32px; height: 32px; flex-shrink: 0; display: block; }
  .logo-sym--sm { width: 23px; height: 23px; }
  .nav-links { display: flex; gap: 28px; font-size: 14.5px; font-weight: 600; color: var(--muted); }
  .nav-links a:hover { color: var(--ink); }
  .nav-cta { display: none; }
  @media (min-width: 760px) { .nav-links { display: flex; } .nav-cta { display: inline-flex; } }

  /* ---------- hero ---------- */
  .hero { position: relative; overflow: hidden; background:
      radial-gradient(900px 480px at 85% -10%, #ECFDF5 0%, transparent 60%),
      radial-gradient(700px 400px at 0% 110%, #ECFDF5 0%, transparent 55%), var(--bg); }
  .hero-grid { display: grid; grid-template-columns: 1fr; gap: 44px; padding: 56px 0 72px; align-items: center; }
  @media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr .95fr; padding: 72px 0 88px; } }
  .chip { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--brand-dark); background: var(--brand-soft); border: 1px solid #A7F3D0; padding: 7px 14px; border-radius: 999px; margin-bottom: 20px; }
  .hero h1 { font-size: clamp(34px, 5.4vw, 56px); line-height: 1.07; letter-spacing: -1px; font-weight: 800; }
  .hero h1 .grad { background: linear-gradient(90deg, var(--brand), var(--aqua)); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .hero p.lead { margin-top: 20px; font-size: 17px; color: var(--muted); max-width: 520px; }
  .hero p.lead strong { color: var(--ink); }
  .hero p.lead .sub { font-weight: 600; color: var(--brand-dark); }
  .hero-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
  .hero-trust { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13.5px; color: var(--muted); }
  .hero-trust span::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: 6px; }

  /* ---------- mockup navegador ---------- */
  .browser { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 30px 70px rgba(16, 185, 129,.18); overflow: hidden; }
  .browser-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
  .dot { width: 11px; height: 11px; border-radius: 50%; }
  .dot.r { background: #fda4af; } .dot.y { background: #fcd34d; } .dot.g { background: #A7F3D0; }
  .browser-url { margin-left: 10px; flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
  .browser-url .lock { font-size: 11px; color: var(--green); }
  .browser-body { padding: 20px; }
  .browser-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
  .browser-brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 14px; }
  .browser-brand .ava { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--aqua)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; }
  .browser-step { font-size: 11px; color: #94A3B8; font-weight: 600; }
  .browser-label { font-size: 11.5px; text-transform: uppercase; letter-spacing: .8px; color: var(--muted); margin-bottom: 12px; font-weight: 700; }
  .opt { display: flex; align-items: center; justify-content: space-between; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; }
  .opt.sel { border-color: var(--brand); background: var(--brand-soft); }
  .opt .left { display: flex; align-items: center; gap: 11px; }
  .opt .ico { font-size: 20px; }
  .opt .t { font-weight: 700; font-size: 14px; }
  .opt .s { font-size: 12px; color: var(--muted); }
  .check { width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; }
  .check.empty { background: transparent; border: 1.5px solid var(--line); }

  /* ---------- seções gerais ---------- */
  section { padding: 72px 0; }
  .sec-head { max-width: 620px; margin-bottom: 44px; }
  .sec-head.center { margin: 0 auto 44px; text-align: center; }
  .kicker { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--brand-dark); }
  .kicker.gold { color: var(--gold); }
  h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.12; letter-spacing: -.6px; font-weight: 800; margin-top: 10px; }
  .sec-sub { color: var(--muted); margin-top: 12px; font-size: 16px; }

  /* ---------- segmentos ---------- */
  .segments { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
  .segments-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 26px; padding: 22px 0; font-weight: 700; color: var(--muted); font-size: 14px; }

  /* ---------- cards de dor ---------- */
  .grid-2 { display: grid; grid-template-columns: 1fr; gap: 18px; }
  @media (min-width: 700px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
  .pain-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: 0 2px 10px rgba(23,17,29,.04); }
  .pain-card .ic { font-size: 26px; margin-bottom: 14px; }
  .pain-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
  .pain-card p { color: var(--muted); font-size: 14.5px; }

  /* ---------- módulos ---------- */
  .module { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; padding: 56px 0; border-top: 1px solid var(--line); }
  @media (min-width: 900px) { .module { grid-template-columns: 1fr 1fr; gap: 56px; } .module.flip .m-text { order: 2; } .module.flip .m-mock { order: 1; } }
  .m-tag { display: inline-flex; gap: 7px; align-items: center; font-size: 12.5px; font-weight: 600; color: #b45309; background: #fff7ed; border: 1px solid #fed7aa; padding: 6px 12px; border-radius: 999px; margin-bottom: 14px; }
  .module h3 { font-size: clamp(24px, 3vw, 30px); font-weight: 800; letter-spacing: -.5px; margin-bottom: 14px; }
  .module p.desc { color: var(--muted); margin-bottom: 20px; }
  .feat { display: flex; gap: 12px; margin-bottom: 14px; font-size: 14.5px; color: #475569; }
  .feat .fic { color: var(--brand); font-size: 17px; line-height: 1.2; }
  .feat strong { color: var(--ink); }
  .m-mock { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
  .m-mock .ml { font-size: 11px; text-transform: uppercase; letter-spacing: .8px; color: var(--muted); font-weight: 700; margin-bottom: 14px; }
  .row-line { display: flex; justify-content: space-between; align-items: center; font-size: 14px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
  .row-line:last-child { border-bottom: 0; }
  .row-line .muted { color: var(--muted); }
  .row-line .num { font-weight: 700; }
  .pill { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 700; }

  /* ---------- tudo incluso ---------- */
  .included { background: var(--bg-soft); border-top: 1px solid var(--line); }
  .check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  @media (min-width: 700px) { .check-grid { grid-template-columns: repeat(3, 1fr); } }
  .check-item { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; font-size: 13.5px; font-weight: 600; color: #475569; }
  .check-item .c { color: var(--green); font-weight: 800; }

  /* ---------- ROI ---------- */
  .roi { text-align: center; }
  .roi-cards { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; margin: 34px 0 22px; }
  .roi-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px 30px; }
  .roi-card .big { font-size: 34px; font-weight: 800; }
  .roi-card .small { font-size: 12px; color: var(--muted); margin-top: 2px; }
  .roi-op { color: var(--muted); font-size: 20px; }
  .roi-card.hl { background: var(--brand-soft); border-color: #A7F3D0; }
  .roi-card.hl .big { background: linear-gradient(90deg, var(--brand), var(--aqua)); -webkit-background-clip: text; background-clip: text; color: transparent; }

  /* ---------- planos ---------- */
  .plans { background: var(--bg-soft); border-top: 1px solid var(--line); }
  .plans-grid { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: stretch; }
  /* DUAS colunas: o Essencial saiu do produto em 21/10/2026, então são dois
     planos. Manter `repeat(3, 1fr)` deixaria uma coluna vazia à direita. */
  @media (min-width: 760px) { .plans-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }

  .plan {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 0 10px 12px;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(6, 78, 59,.08);
  }
  .plan.pop {
    border-color: #10B981;
    box-shadow: 0 12px 28px rgba(16, 185, 129,.20);
  }

  .plan-head {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 67px;
    padding: 9px 8px 8px;
  }
  .plan-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(145deg, #10B981, #10B981);
    box-shadow: 0 5px 12px rgba(16, 185, 129,.22);
  }
  .plan-icon.connect { background: linear-gradient(145deg, #047857, #047857); }
  .plan-icon.advance { background: linear-gradient(145deg, #10B981, #10B981); }
  .plan-icon svg { width: 21px; height: 21px; display: block; }
  .plan-head-copy { min-width: 0; }
  .plan-number {
    display: block;
    font-size: 9px;
    line-height: 1.1;
    font-weight: 800;
    color: #10B981;
    text-transform: uppercase;
    letter-spacing: .45px;
  }
  .plan h3 {
    font-size: 15px;
    line-height: 1.15;
    font-weight: 850;
    color: #064E3B;
    margin-top: 2px;
  }
  .plan .period {
    color: #64748B;
    font-size: 9.5px;
    line-height: 1.2;
    margin-top: 2px;
    white-space: normal;
  }

  .plan-prices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: linear-gradient(180deg, #ECFDF5, #ECFDF5);
    border-radius: 10px;
    margin: 0 0 11px;
    padding: 8px 5px;
  }
  .plan-price {
    text-align: center;
    min-width: 0;
  }
  .plan-price + .plan-price { border-left: 1px solid #E2E8F0; }
  .plan-price .label {
    display: block;
    color: #475569;
    font-size: 8.5px;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 2px;
  }
  .plan-price .label em {
    color: #475569;
    font-style: normal;
    font-size: 7.5px;
  }
  .plan-price .cur {
    font-size: 10px;
    font-weight: 700;
    vertical-align: top;
    color: #064E3B;
  }
  .plan-price .val {
    font-size: 24px;
    line-height: 1;
    font-weight: 850;
    letter-spacing: -.7px;
    color: #064E3B;
  }
  .plan-price .per {
    font-size: 8px;
    color: #475569;
    font-weight: 600;
  }

  .plan-body { padding: 0 2px; display: flex; flex-direction: column; flex: 1; }
  .plan-desc {
    color: #475569;
    font-size: 10px;
    line-height: 1.35;
    min-height: 40px;
    margin-bottom: 5px;
  }
  .plan ul { list-style: none; margin: 2px 0 12px; flex: 1; }
  .plan ul li {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    font-size: 9.5px;
    line-height: 1.25;
    color: #475569;
    padding: 3px 0;
  }
  .plan ul li::before {
    content: "✓";
    color: #10B981;
    font-weight: 900;
    flex: 0 0 auto;
  }
  .plan.pop ul li::before { color: #10B981; }

  .plan-limit {
    margin: 1px 0 9px;
    padding: 7px 7px;
    border-radius: 8px;
    background: #F8FAFC;
    color: #064E3B;
    font-size: 9px;
    line-height: 1.3;
    font-weight: 750;
  }
  .plan-repay {
    margin: 0 0 10px;
    padding: 7px 8px;
    border-radius: 8px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    color: #475569;
    font-size: 8.8px;
    line-height: 1.35;
  }
  .plan-repay strong { color: #064E3B; }
  .plan-badge {
    position: absolute;
    top: 7px;
    right: 7px;
    left: auto;
    transform: none;
    background: linear-gradient(90deg, #10B981, #10B981);
    color: #fff;
    font-size: 8px;
    font-weight: 800;
    padding: 4px 7px;
    border-radius: 999px;
    white-space: nowrap;
  }
  .plan .btn { font-size: 12px; padding: 10px 12px; border-radius: 10px; }

  @media (max-width: 759px) {
    .plans-grid { gap: 14px; }
    .plan { border-radius: 13px; }
    .plan-head { min-height: 64px; }
    .plan-price .val { font-size: 25px; }
  }

  /* Espaçamento seguro em telas pequenas */
  @media (max-width: 639px) {
    .container { padding-left: 18px; padding-right: 18px; }
    .urgency {
      padding: 10px 22px;
      font-size: 12px;
      line-height: 1.35;
      overflow-wrap: anywhere;
    }
    .nav-inner { padding-left: 18px; padding-right: 18px; }
    .hero-grid { padding-left: 0; padding-right: 0; }
    .hero h1, .sec-head h2 { overflow-wrap: normal; word-break: normal; }
    .hero-actions .btn { width: 100%; }
  }

  /* ---------- FAQ ---------- */
  .faq { max-width: 720px; margin: 0 auto; }
  .faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; overflow: hidden; }
  .faq-q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 17px 20px; font-size: 15px; font-weight: 700; color: var(--ink); font-family: inherit; }
  .faq-q .plus { color: var(--brand); font-size: 20px; transition: transform .25s ease; }
  .faq-item.open .plus { transform: rotate(45deg); }
  .faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
  .faq-a p { padding: 0 20px 18px; color: var(--muted); font-size: 14.5px; }

  /* ---------- CTA final ---------- */
  .final-cta { text-align: center; }
  .final-box { background: linear-gradient(135deg, var(--brand), var(--aqua)); border-radius: 24px; padding: 56px 28px; color: #fff; }
  .final-box h2 { color: #fff; }
  .final-box p { color: #F8FAFC; margin: 14px auto 26px; max-width: 460px; }
  .btn-white { background: #fff; color: var(--brand-dark); }

  /* ---------- footer ---------- */
  footer { border-top: 1px solid var(--line); background: var(--bg-soft); padding: 34px 0; }
  .foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; font-size: 13.5px; color: var(--muted); }
  .foot .fl { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--ink); }

  /* ---------- reveal ---------- */
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.is-visible { opacity: 1; transform: translateY(0); }
  .typing-cursor::after { content: ""; display: inline-block; width: 2px; height: 1em; background: var(--brand); margin-left: 2px; vertical-align: middle; animation: blink .9s step-end infinite; }
  @keyframes blink { 50% { opacity: 0; } }

  /* =====================================================================
     HERO EM VERDE PROFUNDO (§30)
     ---------------------------------------------------------------------
     A landing passa a ABRIR no verde profundo da marca, com o conteúdo
     claro embaixo — o mesmo contraste que estrutura o painel (navegação
     escura + conteúdo claro) e a característica visual mais forte do
     Fillux segundo o briefing.

     O mockup de navegador continua branco DE PROPÓSITO: é ele que dá o
     contraste dentro do hero.

     >>> PARA REVERTER: apague este bloco inteiro. A landing volta ao hero
     claro e nenhuma regra acima foi alterada. Os textos e botões estão
     escopados em .hero para não respingar nas seções claras seguintes.
     ===================================================================== */
  .hero {
    background:
      radial-gradient(900px 480px at 85% -10%, rgba(16, 185, 129, .30) 0%, transparent 60%),
      radial-gradient(700px 400px at 0% 110%, rgba(167, 243, 208, .14) 0%, transparent 55%),
      var(--fillux-dark);
  }
  .hero h1 { color: #FFFFFF; }
  /* O gradiente do título PRECISA ser claro aqui: o antigo terminava no
     próprio verde profundo e desapareceria no fundo. */
  .hero h1 .grad {
    background: linear-gradient(90deg, #34D399 0%, #A7F3D0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .hero p.lead { color: rgba(255, 255, 255, .82); }
  .hero p.lead strong { color: #FFFFFF; }
  .hero p.lead .sub { color: var(--fillux-light); }
  .hero .chip {
    color: var(--fillux-light);
    background: rgba(255, 255, 255, .08);
    border-color: rgba(167, 243, 208, .35);
  }
  .hero-trust { color: rgba(255, 255, 255, .75); }
  .hero-trust span::before { color: #34D399; }

  /* Botões do hero: o primário fica SÓLIDO no verde de ação (§23) — no
     fundo escuro o gradiente que terminava em verde profundo se perdia; e
     o secundário vira fantasma claro, porque um botão branco sólido
     pesaria demais ao lado do CTA. */
  .hero .btn-primary {
    background: var(--fillux-primary);
    box-shadow: 0 12px 28px rgba(16, 185, 129, .35);
  }
  .hero .btn-primary:hover {
    background: var(--fillux-primary-hover);
    box-shadow: 0 16px 34px rgba(16, 185, 129, .45);
  }
  .hero .btn-ghost {
    background: transparent;
    border-color: rgba(167, 243, 208, .40);
    color: #FFFFFF;
  }
  .hero .btn-ghost:hover {
    background: rgba(167, 243, 208, .12);
    border-color: var(--fillux-light);
  }

