/* ═══════════════════════════════════════════════════════════════
   ZARK · estilos das páginas internas (portfolio.html e sites.html)
   Depende de design-system/tokens.css (CONGELADO no GATE 2).
   Mexer aqui afeta AS DUAS páginas.
   ═══════════════════════════════════════════════════════════════ */

  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body { font-family: var(--font-body); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
  img { max-width: 100%; }

  /* ===== NAVBAR ===== */
  .pf-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.25rem clamp(2rem, 4vw, 4rem);
    background: rgba(0,0,0,.92); backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,.06);
  }
  .pf-nav img { height: 26px; width: auto; display: block; }
  .pf-nav-links { display: flex; align-items: center; gap: 1.5rem; }
  /* :not(.btn) é obrigatório: o CTA é filho de .pf-nav-links e essa regra
     tem especificidade maior que .btn / .btn-lava, então roubava peso e cor */
  .pf-nav-links a:not(.btn) {
    color: rgba(255,255,255,.7); text-decoration: none;
    font-size: .875rem; font-weight: 500;
    transition: color var(--hover-duration) var(--hover-ease);
  }
  .pf-nav-links a:not(.btn):hover { color: var(--lava); }

  /* ===== Botões ===== */
  .btn {
    position: relative; overflow: hidden; width: fit-content;
    display: inline-flex; align-items: center; justify-content: center; gap: .625rem;
    height: 50px; padding: 0 1.75rem;
    border-radius: 0; border: 0; cursor: pointer;
    font-family: var(--font-display); font-weight: 600; font-size: .8125rem;
    letter-spacing: .04em; text-transform: uppercase;
    text-decoration: none; line-height: 1; white-space: nowrap;
    transition: background var(--hover-duration) var(--hover-ease);
  }
  .btn::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    background-image: linear-gradient(45deg, transparent 25%, rgba(255,255,255,.7) 50%, transparent 75%, transparent 100%);
    background-size: 250% 250%, 100% 100%;
    background-position: 200% 0, 0 0;
    background-repeat: no-repeat;
    transition: background-position 1000ms ease;
  }
  .btn:hover::before { background-position: -100% 0, 0 0; }
  .btn:active { transform: scale(.98); }
  /* seta idêntica à do index.html (site principal) */
  .btn .circle { display: inline-flex; align-items: center; justify-content: center; }
  .btn .circle svg { width: 14px; height: 14px; }
  .btn:focus-visible { outline: 2px solid var(--lava); outline-offset: 3px; }
  .btn-sm { height: 40px; padding: 0 1.25rem; font-size: .75rem; }
  .btn-lava { background: var(--lava); color: var(--white); }
  .btn-lava:hover { background: var(--lava-dark); }
  .btn-dark {
    background: var(--black); color: var(--white);
    border: 1px solid rgba(255,255,255,.14);
  }
  .btn-dark:hover { background: var(--lava); border-color: var(--lava); }

  /* ===== HERO ===== */
  .pf-hero {
    padding: clamp(8rem, 14vw, 12rem) clamp(2rem, 4vw, 4rem) clamp(4rem, 8vw, 6rem);
    background: var(--black); color: var(--white);
    position: relative; overflow: hidden;
  }
  .pf-hero::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse 60% 50% at 80% 60%, rgba(245,111,16,.06) 0%, transparent 70%);
    pointer-events: none;
  }
  .pf-hero .container {
    max-width: var(--container-max); margin: 0 auto;
    position: relative; z-index: 1;
  }
  .pf-tag {
    display: inline-flex; align-items: center; gap: .5rem;
    font-family: var(--font-display); font-size: var(--text-eyebrow);
    font-weight: 600; letter-spacing: var(--tracking-eyebrow);
    text-transform: uppercase; color: var(--lava);
    margin-bottom: 1.5rem;
  }
  .pf-tag::before { content: ''; width: 8px; height: 8px; background: var(--lava); }
  .pf-hero h1 {
    font-family: var(--font-display); font-weight: 200;
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    line-height: 1.1; letter-spacing: -0.02em; max-width: 18ch;
  }
  .pf-hero h1 em { font-style: italic; font-weight: 600; color: var(--lava); }
  .pf-hero-lead {
    margin-top: 1.5rem; font-size: 1.0625rem;
    color: rgba(255,255,255,.7); line-height: 1.6; max-width: 52ch;
  }

  /* ===== SEÇÕES ===== */
  .pf-section {
    padding: var(--space-section) clamp(2rem, 4vw, 4rem);
    background: var(--gray-panel);
  }
  .pf-section--alt { background: var(--white); }
  .pf-section .container { max-width: var(--container-max); margin: 0 auto; }

  /* Header de cada categoria */
  .pf-section-header {
    margin-bottom: 2.5rem; padding-bottom: 2rem;
    border-bottom: 1px solid var(--hairline);
  }
  .pf-section-tag {
    display: inline-flex; align-items: center; gap: .5rem;
    font-family: var(--font-display); font-size: var(--text-eyebrow);
    font-weight: 600; letter-spacing: var(--tracking-eyebrow);
    text-transform: uppercase; color: var(--lava);
    margin-bottom: 1rem;
  }
  .pf-section-tag::before { content: '■'; font-size: .5rem; color: var(--lava); }
  .pf-section-header h2 {
    font-family: var(--font-display); font-weight: 800;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    letter-spacing: -0.02em; text-transform: uppercase;
    color: var(--black); line-height: 1.1;
  }
  .pf-section-header p {
    margin-top: .75rem; font-size: 1rem;
    color: var(--gray-text); line-height: 1.6; max-width: 56ch;
  }

  /* ===== GRID ===== */
  .pf-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem;
  }

  /* ===== CARD ===== */
  .pf-card {
    position: relative; overflow: hidden;
    min-height: 520px;
    display: flex; flex-direction: column; justify-content: flex-end;
    border-radius: 0; background: var(--black); color: var(--white);
    transition: transform 400ms var(--hover-ease), box-shadow 400ms var(--hover-ease);
  }
  .pf-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(20,17,12,.18);
  }
  .pf-card-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    background-repeat: no-repeat; background-color: var(--black);
    transition: transform 600ms var(--hover-ease);
  }
  .pf-card:hover .pf-card-bg { transform: scale(1.04); }
  .pf-card-bg::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg,
      rgba(0,0,0,.1) 0%, rgba(0,0,0,.3) 40%,
      rgba(0,0,0,.85) 75%, rgba(0,0,0,.95) 100%);
  }
  .pf-card-content {
    position: relative; z-index: 1;
    padding: 2rem 2rem 2.25rem;
    display: flex; flex-direction: column; gap: .75rem;
  }
  .pf-card-type {
    display: inline-flex; align-items: center; gap: .375rem;
    font-family: var(--font-display); font-size: .6875rem;
    font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    color: var(--lava); width: fit-content;
  }
  .pf-card-type::before { content: '■'; font-size: .5rem; color: var(--lava); }
  .pf-card h2 {
    font-family: var(--font-display); font-weight: 700;
    font-size: clamp(1.25rem, 2vw, 1.625rem);
    letter-spacing: -0.01em; line-height: 1.15;
  }
  .pf-card p {
    font-size: .9375rem; line-height: 1.6;
    color: rgba(255,255,255,.75); max-width: 42ch;
  }
  .pf-card-chips { display: flex; flex-wrap: wrap; gap: .375rem; margin-top: .25rem; }
  /* rodapé do card: chips à esquerda, botão à direita */
  .pf-card-foot {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; flex-wrap: wrap; margin-top: .25rem;
  }
  .pf-card-foot .pf-card-chips { margin-top: 0; }
  .pf-chip {
    font-size: .6875rem; font-weight: 500; letter-spacing: .02em;
    padding: .3125rem .75rem;
    background: rgba(255,255,255,.1); color: rgba(255,255,255,.8);
    border: 1px solid rgba(255,255,255,.08); border-radius: 0;
  }
  /* Card sem véu: imagem limpa, sem gradiente de leitura */
  .pf-card--clean .pf-card-bg::after { content: none; }
  .pf-card--wide { grid-column: span 2; min-height: 440px; }
  .pf-card--wide .pf-card-content > h2,
  .pf-card--wide .pf-card-content > p { max-width: 560px; }

  /* ═══════════════════════════════════════════════════
     MINI-UIs ANIMADAS (cards sem imagem — Agentes de IA)
     Mesmo padrão das .exp-card do index.html: painel claro
     + tela branca pontilhada com a cena em CSS/SVG puro.
     ═══════════════════════════════════════════════════ */
  .pf-card--fx {
    background: var(--gray-panel); color: var(--ink);
    justify-content: flex-start; padding: 1rem; gap: 0;
  }
  .pf-card--fx:hover { background: #EDEDED; }
  .pf-card--fx h2 { color: var(--black); }
  .pf-card--fx p { color: var(--gray-text); }
  .pf-card--fx .pf-card-content { padding: 1.5rem .5rem .25rem; gap: .625rem; }
  .pf-card--fx .pf-chip {
    background: var(--white); border: 1px solid var(--hairline); color: var(--ink);
  }
  /* a "tela" branca pontilhada */
  .pf-fx {
    position: relative; overflow: hidden; flex: 1; min-height: 232px;
    container-type: inline-size;
    --cycle: 18s;
    background: var(--white);
    background-image: radial-gradient(rgba(20,17,12,.07) 1px, transparent 1px);
    background-size: 12px 12px;
  }
  .fx-scene {
    position: absolute; inset: 0;
    padding: 1.15rem 4.75rem 3rem 1.25rem;
    display: grid; gap: .5rem; align-content: center;
  }

  /* tile de ferramenta: quadrado branco com o logo real dentro */
  .fx-tool {
    position: absolute; width: 36px; height: 36px;
    background: var(--white); border: 1px solid var(--hairline);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 14px rgba(20,17,12,.10);
    opacity: 0; transform: translateY(10px) scale(.86);
  }
  .fx-tool svg { width: 20px; height: 20px; display: block; }
  .pf-card.is-live .fx-tool {
    animation: fx-tool-in 620ms var(--hover-ease) both, fx-float 5.2s ease-in-out infinite;
    animation-delay: calc(var(--d) * 1ms), calc(700ms + var(--d) * 1ms);
  }
  @keyframes fx-tool-in { to { opacity: 1; transform: translateY(0) scale(1); } }
  @keyframes fx-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

  /* entrada/saída em loop, escalonada por --d */
  .fx-step { opacity: 0; }
  .pf-card.is-live .fx-step {
    animation: fx-step var(--cycle) var(--hover-ease) infinite;
    animation-delay: calc(var(--d) * 1ms);
  }
  @keyframes fx-step {
    0%   { opacity: 0; transform: translateY(7px); }
    7%, 74% { opacity: 1; transform: none; }
    84%, 100% { opacity: 0; transform: translateY(-4px); }
  }
  .fx-label {
    font-family: var(--font-mono); font-size: .5625rem; letter-spacing: .1em;
    color: var(--gray-text); text-transform: uppercase;
  }
  .fx-row { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
  .fx-tag {
    display: inline-flex; align-items: center; gap: .3rem; width: fit-content;
    background: var(--lava); color: #fff;
    font-family: var(--font-mono); font-size: .5625rem; letter-spacing: .1em;
    padding: .25rem .45rem; text-transform: uppercase;
  }
  .fx-tag.ghost {
    background: var(--white); border: 1px solid var(--hairline); color: var(--ink);
  }

  /* 1 · Atendimento: conversa longa com indicador de digitando/gravando entre os balões.
     Tudo posicionado por `top` calculado, não por fluxo, porque a rolagem depende
     de offsets exatos. Alterar texto a ponto de mudar de linha exige recalcular. */
  .fx-chat {
    position: relative; overflow: hidden; height: 190px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22px);
    mask-image: linear-gradient(180deg, transparent 0, #000 22px);
  }
  .fx-thread { position: absolute; left: 0; right: 0; top: 0; height: 375px; }
  .fx-chat .fx-msg, .fx-ind {
    position: absolute; width: fit-content; max-width: 80%; opacity: 0;
  }
  .fx-chat .fx-msg.in, .fx-ind.in { left: 0; }
  .fx-chat .fx-msg.out, .fx-ind.out { right: 0; }
  .fx-msg {
    max-width: 80%; padding: .45rem .6rem;
    font-size: .6875rem; line-height: 1.45;
  }
  .fx-msg.in { background: #EFEFEF; color: var(--ink); justify-self: start; }
  .fx-msg.out { background: var(--lava); color: #fff; justify-self: end; }
  .fx-msg.l1 { height: 31px; }
  .fx-msg.l2 { height: 47px; }

  /* indicador: 3 pontinhos (digitando) ou microfone + onda (gravando áudio) */
  .fx-ind { display: flex; align-items: center; gap: .4rem; padding: 0 .55rem; }
  .fx-ind.out { background: var(--lava); height: 26px; }
  .fx-ind.in { background: #EFEFEF; height: 26px; }
  .fx-ind.rec { height: 30px; }
  .fx-dots { display: inline-flex; gap: 3px; }
  .fx-dots b { width: 4px; height: 4px; display: block; background: #9A9A9A; }
  .fx-ind.out .fx-dots b { background: rgba(255,255,255,.95); }
  .pf-card.is-live .fx-dots b { animation: fx-dot 1.2s ease-in-out infinite; animation-delay: calc(var(--w) * 170ms); }
  @keyframes fx-dot { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }

  .fx-mic { width: 12px; height: 12px; color: #E5484D; flex: none; }
  .pf-card.is-live .fx-mic { animation: fx-recblink 1.4s ease-in-out infinite; }
  @keyframes fx-recblink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
  .fx-wave { display: flex; align-items: center; gap: 2px; height: 14px; }
  .fx-wave b { width: 2px; height: 30%; display: block; background: #B0B0B0; }
  .pf-card.is-live .fx-wave b { animation: fx-wave 950ms ease-in-out infinite; animation-delay: calc(var(--w) * 85ms); }
  @keyframes fx-wave { 0%, 100% { height: 22%; } 50% { height: 100%; } }
  .fx-time {
    font-family: var(--font-mono); font-size: .5rem; font-style: normal;
    color: var(--gray-text); flex: none;
  }

  /* mensagem de áudio já enviada: play + onda parada */
  .fx-msg.audio {
    height: 38px; display: flex; align-items: center; gap: .45rem;
    padding: 0 .6rem; background: #EFEFEF; color: var(--ink);
  }
  .fx-msg.audio .fx-play { width: 12px; height: 12px; color: var(--lava); flex: none; }
  .fx-msg.audio .fx-wave b { background: #9A9A9A; animation: none !important; }
  .fx-msg.audio .fx-wave b.q { height: 65%; }
  .fx-msg.audio .fx-wave b.m { height: 100%; }

  @keyframes fx-c1-0 {
    0%, 2.35% { opacity: 0; transform: translateY(8px) scale(.97); }
    3.38%, 95.0% { opacity: 1; transform: none; }
    98.0%, 100% { opacity: 0; transform: translateY(-5px); }
  }
  @keyframes fx-c1-1 {
    0%, 13.53% { opacity: 0; transform: translateY(8px) scale(.97); }
    14.56%, 95.0% { opacity: 1; transform: none; }
    98.0%, 100% { opacity: 0; transform: translateY(-5px); }
  }
  @keyframes fx-i1-1 {
    0%, 6.47% { opacity: 0; transform: translateY(8px); }
    7.35%, 12.94% { opacity: 1; transform: none; }
    13.53%, 100% { opacity: 0; transform: translateY(-3px); }
  }
  @keyframes fx-c1-2 {
    0%, 27.06% { opacity: 0; transform: translateY(8px) scale(.97); }
    28.09%, 95.0% { opacity: 1; transform: none; }
    98.0%, 100% { opacity: 0; transform: translateY(-5px); }
  }
  @keyframes fx-i1-2 {
    0%, 17.65% { opacity: 0; transform: translateY(8px); }
    18.53%, 26.47% { opacity: 1; transform: none; }
    27.06%, 100% { opacity: 0; transform: translateY(-3px); }
  }
  @keyframes fx-c1-3 {
    0%, 39.41% { opacity: 0; transform: translateY(8px) scale(.97); }
    40.44%, 95.0% { opacity: 1; transform: none; }
    98.0%, 100% { opacity: 0; transform: translateY(-5px); }
  }
  @keyframes fx-i1-3 {
    0%, 31.18% { opacity: 0; transform: translateY(8px); }
    32.06%, 38.82% { opacity: 1; transform: none; }
    39.41%, 100% { opacity: 0; transform: translateY(-3px); }
  }
  @keyframes fx-c1-4 {
    0%, 48.82% { opacity: 0; transform: translateY(8px) scale(.97); }
    49.85%, 95.0% { opacity: 1; transform: none; }
    98.0%, 100% { opacity: 0; transform: translateY(-5px); }
  }
  @keyframes fx-i1-4 {
    0%, 43.53% { opacity: 0; transform: translateY(8px); }
    44.41%, 48.24% { opacity: 1; transform: none; }
    48.82%, 100% { opacity: 0; transform: translateY(-3px); }
  }
  @keyframes fx-c1-5 {
    0%, 62.35% { opacity: 0; transform: translateY(8px) scale(.97); }
    63.38%, 95.0% { opacity: 1; transform: none; }
    98.0%, 100% { opacity: 0; transform: translateY(-5px); }
  }
  @keyframes fx-i1-5 {
    0%, 52.94% { opacity: 0; transform: translateY(8px); }
    53.82%, 61.76% { opacity: 1; transform: none; }
    62.35%, 100% { opacity: 0; transform: translateY(-3px); }
  }
  @keyframes fx-c1-6 {
    0%, 71.76% { opacity: 0; transform: translateY(8px) scale(.97); }
    72.79%, 95.0% { opacity: 1; transform: none; }
    98.0%, 100% { opacity: 0; transform: translateY(-5px); }
  }
  @keyframes fx-i1-6 {
    0%, 66.47% { opacity: 0; transform: translateY(8px); }
    67.35%, 71.18% { opacity: 1; transform: none; }
    71.76%, 100% { opacity: 0; transform: translateY(-3px); }
  }
  @keyframes fx-c1-7 {
    0%, 83.53% { opacity: 0; transform: translateY(8px) scale(.97); }
    84.56%, 95.0% { opacity: 1; transform: none; }
    98.0%, 100% { opacity: 0; transform: translateY(-5px); }
  }
  @keyframes fx-i1-7 {
    0%, 75.29% { opacity: 0; transform: translateY(8px); }
    76.18%, 82.94% { opacity: 1; transform: none; }
    83.53%, 100% { opacity: 0; transform: translateY(-3px); }
  }
  .pf-card.is-live .fx-c1-0 { animation: fx-c1-0 var(--cycle) var(--hover-ease) infinite; }
  .pf-card.is-live .fx-c1-1 { animation: fx-c1-1 var(--cycle) var(--hover-ease) infinite; }
  .pf-card.is-live .fx-i1-1 { animation: fx-i1-1 var(--cycle) var(--hover-ease) infinite; }
  .pf-card.is-live .fx-c1-2 { animation: fx-c1-2 var(--cycle) var(--hover-ease) infinite; }
  .pf-card.is-live .fx-i1-2 { animation: fx-i1-2 var(--cycle) var(--hover-ease) infinite; }
  .pf-card.is-live .fx-c1-3 { animation: fx-c1-3 var(--cycle) var(--hover-ease) infinite; }
  .pf-card.is-live .fx-i1-3 { animation: fx-i1-3 var(--cycle) var(--hover-ease) infinite; }
  .pf-card.is-live .fx-c1-4 { animation: fx-c1-4 var(--cycle) var(--hover-ease) infinite; }
  .pf-card.is-live .fx-i1-4 { animation: fx-i1-4 var(--cycle) var(--hover-ease) infinite; }
  .pf-card.is-live .fx-c1-5 { animation: fx-c1-5 var(--cycle) var(--hover-ease) infinite; }
  .pf-card.is-live .fx-i1-5 { animation: fx-i1-5 var(--cycle) var(--hover-ease) infinite; }
  .pf-card.is-live .fx-c1-6 { animation: fx-c1-6 var(--cycle) var(--hover-ease) infinite; }
  .pf-card.is-live .fx-i1-6 { animation: fx-i1-6 var(--cycle) var(--hover-ease) infinite; }
  .pf-card.is-live .fx-c1-7 { animation: fx-c1-7 var(--cycle) var(--hover-ease) infinite; }
  .pf-card.is-live .fx-i1-7 { animation: fx-i1-7 var(--cycle) var(--hover-ease) infinite; }

  .pf-card.is-live .fx-thread { animation: fx-c1-scroll var(--cycle) var(--hover-ease) infinite; }
  @keyframes fx-c1-scroll {
    0%, 2.35% { transform: translateY(0); }
    43.53% { transform: translateY(-0px); }
    45.59% { transform: translateY(-36px); }
    52.94% { transform: translateY(-36px); }
    55.0% { transform: translateY(-91px); }
    66.47% { transform: translateY(-91px); }
    68.53% { transform: translateY(-130px); }
    75.29% { transform: translateY(-130px); }
    77.35% { transform: translateY(-185px); }
    97.9% { transform: translateY(-185px); }
    98.1%, 100% { transform: translateY(0); }
  }

  /* 2 · Qualificação: checklist marcando + score subindo */
  .fx-check { display: flex; align-items: center; gap: .5rem; font-size: .6875rem; color: var(--ink); }
  .fx-check b {
    width: 14px; height: 14px; flex: none;
    border: 1.5px solid var(--hairline);
    display: flex; align-items: center; justify-content: center;
    font-size: .5rem; color: transparent; font-weight: 700;
  }
  .pf-card.is-live .fx-check b {
    animation: fx-tick var(--cycle) var(--hover-ease) infinite;
    animation-delay: calc(var(--d) * 1ms + 420ms);
  }
  @keyframes fx-tick {
    0%, 4% { background: transparent; border-color: var(--hairline); color: transparent; }
    10%, 78% { background: var(--lava); border-color: var(--lava); color: #fff; }
    88%, 100% { background: transparent; border-color: var(--hairline); color: transparent; }
  }
  .fx-meter { height: 6px; background: #E8E8E8; }
  .fx-meter b { display: block; height: 100%; width: 6%; background: var(--lava); }
  .pf-card.is-live .fx-meter b { animation: fx-fill var(--cycle) var(--hover-ease) infinite; }
  @keyframes fx-fill { 0% { width: 6%; } 66%, 82% { width: 92%; } 100% { width: 6%; } }

  /* 3 · Cobrança: fatura → PIX → carimbo de pago */
  .fx-doc {
    background: var(--white); border: 1px solid var(--hairline);
    box-shadow: 0 8px 22px rgba(20,17,12,.08);
    padding: .7rem .8rem; display: grid; gap: .4rem;
  }
  .fx-doc-val { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; color: var(--black); }
  .fx-line { height: 5px; background: #E6E6E6; }
  .fx-line.short { width: 44%; }
  .fx-stamp {
    justify-self: end; display: inline-flex; align-items: center; gap: .3rem;
    border: 1.5px solid #16A34A; color: #16A34A; background: rgba(22,163,74,.06);
    font-family: var(--font-mono); font-size: .625rem; letter-spacing: .12em;
    padding: .25rem .5rem; transform: rotate(-6deg); text-transform: uppercase;
    opacity: 0;
  }
  .pf-card.is-live .fx-stamp {
    animation: fx-stamp var(--cycle) var(--hover-ease) infinite;
    animation-delay: calc(var(--d) * 1ms);
  }
  @keyframes fx-stamp {
    0%, 4% { opacity: 0; transform: rotate(-6deg) scale(1.6); }
    11%, 74% { opacity: 1; transform: rotate(-6deg) scale(1); }
    84%, 100% { opacity: 0; transform: rotate(-6deg) scale(1); }
  }

  /* 4 · Agendamento: calendário do mês + visão do dia + evento entrando */
  .fx-agenda { display: grid; grid-template-columns: 186px 1fr; gap: 1.1rem; align-items: start; }
  .fx-calhead { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
  .fx-nav { display: flex; gap: 4px; }
  .fx-nav s {
    width: 13px; height: 13px; display: block; position: relative;
    border: 1px solid var(--hairline); text-decoration: none;
  }
  .fx-nav s::after {
    content: ''; position: absolute; inset: 0; margin: auto;
    width: 4px; height: 4px;
    border-top: 1.2px solid var(--gray-text); border-right: 1.2px solid var(--gray-text);
    transform: rotate(45deg);
  }
  .fx-nav s:first-child::after { transform: rotate(-135deg); }
  .fx-wd { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-bottom: 4px; }
  .fx-wd span {
    font-family: var(--font-mono); font-size: .5rem;
    color: var(--gray-text); text-align: center;
  }
  .fx-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
  .fx-cal b {
    position: relative; display: flex; align-items: center; justify-content: center;
    aspect-ratio: 1; background: #F0F0F0; opacity: 0;
    font-family: var(--font-mono); font-size: .5rem; color: var(--gray-text);
  }
  .fx-cal b.off { background: #F7F7F7; color: #C9C9C9; }
  .fx-cal b.busy::after {
    content: ''; position: absolute; bottom: 2px; left: 50%; margin-left: -1.5px;
    width: 3px; height: 3px; background: #C4C4C4;
  }
  .pf-card.is-live .fx-cal b {
    animation: fx-cell var(--cycle) var(--hover-ease) infinite;
    animation-delay: calc(var(--i) * 22ms);
  }
  @keyframes fx-cell {
    0% { opacity: 0; transform: scale(.5); }
    9%, 78% { opacity: 1; transform: none; }
    90%, 100% { opacity: 0; transform: scale(.5); }
  }
  .fx-cal b.pick { background: #E2E2E2; color: var(--ink); font-weight: 700; }
  .pf-card.is-live .fx-cal b.pick {
    animation: fx-cell var(--cycle) var(--hover-ease) infinite, fx-pick var(--cycle) var(--hover-ease) infinite;
  }
  @keyframes fx-pick {
    0%, 40% { background: #E2E2E2; color: var(--ink); }
    52%, 78% { background: var(--lava); color: #fff; }
    90%, 100% { background: #E2E2E2; color: var(--ink); }
  }

  /* visão do dia: linhas de horário + evento que encaixa no 14:30 */
  .fx-day { position: relative; }
  .fx-hour { display: flex; align-items: center; gap: .45rem; height: 26px; }
  .fx-hour span {
    font-family: var(--font-mono); font-size: .5rem;
    color: var(--gray-text); width: 30px; flex: none;
  }
  .fx-hour u { flex: 1; height: 1px; background: var(--hairline); display: block; text-decoration: none; }
  .fx-hour.taken u { background: #DCDCDC; }
  .fx-event {
    position: absolute; left: 36px; right: 0; top: 27px; height: 24px;
    background: var(--lava); color: #fff; opacity: 0;
    display: flex; align-items: center; gap: .4rem; padding: 0 .5rem;
    font-size: .5625rem; line-height: 1;
    box-shadow: 0 6px 16px rgba(245,111,16,.28);
  }
  .fx-event b { font-weight: 700; }
  .fx-event i {
    font-style: normal; font-family: var(--font-mono);
    font-size: .5rem; opacity: .85; margin-left: auto;
  }
  .pf-card.is-live .fx-event {
    animation: fx-event var(--cycle) var(--hover-ease) infinite;
    animation-delay: calc(var(--d) * 1ms);
  }
  @keyframes fx-event {
    0% { opacity: 0; transform: translateY(-12px) scaleX(.55); transform-origin: left; }
    8%, 74% { opacity: 1; transform: none; }
    84%, 100% { opacity: 0; transform: translateY(-8px) scaleX(.55); transform-origin: left; }
  }
  /* confirmação chegando no WhatsApp */
  .fx-confirm {
    display: flex; align-items: center; gap: .4rem;
    font-size: .625rem; color: var(--ink);
    background: #EFEFEF; padding: .35rem .5rem; width: fit-content;
  }
  .fx-confirm s {
    width: 12px; height: 12px; flex: none; display: block;
    background: #22C55E; text-decoration: none; position: relative;
  }
  .fx-confirm s::after {
    content: ''; position: absolute; left: 3.5px; top: 1.5px;
    width: 3.5px; height: 6.5px;
    border-right: 1.6px solid #fff; border-bottom: 1.6px solid #fff;
    transform: rotate(42deg);
  }

  /* --- camadas extras de movimento --- */

  /* cabeçalho de conversa com bolinha "online" pulsando */
  .fx-head { display: flex; align-items: center; gap: .5rem; margin-bottom: .15rem; }
  .fx-avatar {
    width: 22px; height: 22px; flex: none;
    background: var(--black); color: #fff;
    font-size: .5rem; font-weight: 700; letter-spacing: .04em;
    display: flex; align-items: center; justify-content: center;
  }
  .fx-head b { font-size: .6875rem; color: var(--ink); font-weight: 600; }
  .fx-head i { width: 5px; height: 5px; background: #22C55E; display: block; }
  .pf-card.is-live .fx-head i { animation: fx-live 1.8s ease-in-out infinite; }
  @keyframes fx-live { 0%, 100% { opacity: 1; } 50% { opacity: .2; } }

  /* fio ligando os tiles, com pulso lava descendo */
  .fx-link { position: absolute; width: 2px; background: var(--hairline); overflow: hidden; }
  .fx-link::after {
    content: ''; position: absolute; left: 0; right: 0;
    height: 60%; top: -60%; background: var(--lava);
  }
  .pf-card.is-live .fx-link::after { animation: fx-flow 2.2s linear infinite; }
  @keyframes fx-flow { to { top: 100%; } }

  /* chip de status que pisca no fim do ciclo */
  .fx-chip {
    position: absolute; left: 1.25rem; bottom: 1.1rem;
    display: inline-flex; align-items: center; gap: .35rem;
    background: var(--black); color: #fff;
    font-family: var(--font-mono); font-size: .5625rem; letter-spacing: .08em;
    padding: .28rem .5rem; text-transform: uppercase; opacity: 0;
  }
  .fx-chip i { width: 5px; height: 5px; background: #22C55E; display: block; flex: none; }
  .pf-card.is-live .fx-chip { animation: fx-blink var(--cycle) ease-in-out infinite; }
  @keyframes fx-blink {
    0%, 52% { opacity: 0; transform: translateY(6px); }
    62%, 88% { opacity: 1; transform: none; }
    100% { opacity: 0; transform: translateY(6px); }
  }

  /* onda de clique + ponteiro */
  .fx-ping { position: absolute; inset: -3px; border: 2px solid var(--lava); opacity: 0; }
  .pf-card.is-live .fx-ping { animation: fx-ping var(--cycle) ease-out infinite; }
  @keyframes fx-ping {
    0%, 46% { opacity: 0; transform: scale(.5); }
    52% { opacity: .9; transform: scale(.7); }
    68%, 100% { opacity: 0; transform: scale(2); }
  }
  .fx-cursor {
    position: absolute; left: 58%; top: 52%;
    width: 13px; height: 13px; color: var(--black); opacity: 0;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,.25));
  }
  .pf-card.is-live .fx-cursor { animation: fx-point var(--cycle) var(--hover-ease) infinite; }
  @keyframes fx-point {
    0%, 18% { opacity: 0; transform: translate(22px, 20px); }
    30%, 44% { opacity: 1; transform: translate(4px, 4px); }
    50% { opacity: 1; transform: translate(0, 0) scale(.85); }
    58%, 78% { opacity: 1; transform: translate(4px, 4px); }
    88%, 100% { opacity: 0; transform: translate(22px, 20px); }
  }

  /* barra secundária (recuperado / progresso) */
  .fx-mini {
    display: flex; align-items: center; gap: .5rem;
    font-family: var(--font-mono); font-size: .5625rem;
    letter-spacing: .08em; color: var(--gray-text); text-transform: uppercase;
  }
  .fx-mini u { flex: 1; height: 4px; background: #E8E8E8; text-decoration: none; display: block; }
  .fx-mini u b { display: block; height: 100%; width: 8%; background: #16A34A; }
  .pf-card.is-live .fx-mini u b { animation: fx-recover var(--cycle) var(--hover-ease) infinite; }
  @keyframes fx-recover { 0%, 22% { width: 8%; } 68%, 84% { width: 100%; } 100% { width: 8%; } }

  /* número que dá um flash lava quando atualiza */
  .pf-card.is-live .fx-flash { animation: fx-flash var(--cycle) var(--hover-ease) infinite; }
  @keyframes fx-flash { 0%, 44% { color: var(--black); } 52% { color: var(--lava); } 70%, 100% { color: var(--black); } }

  /* varredura de luz sobre a tela, bem sutil */
  .fx-sweep {
    position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(105deg, transparent 42%, rgba(245,111,16,.09) 50%, transparent 58%);
    background-size: 260% 100%; background-position: 200% 0; background-repeat: no-repeat;
  }
  .pf-card.is-live .fx-sweep { animation: fx-sweep var(--cycle) ease-in-out infinite; }
  @keyframes fx-sweep { 0%, 40% { background-position: 200% 0; } 62%, 100% { background-position: -100% 0; } }

  @media (max-width: 900px) {
    .fx-tool.opt { display: none; }
  }
  /* a cena reage à largura do PRÓPRIO card, não da janela:
     em card estreito a visão do dia sai e o calendário ocupa tudo */
  @container (max-width: 430px) {
    .fx-agenda { grid-template-columns: 1fr; }
    .fx-day { display: none; }
  }
  @media (max-width: 640px) {
    .pf-fx { min-height: 200px; }
    .fx-scene { padding: 1rem 4rem 1rem 1rem; }
    .fx-chip { left: 1rem; bottom: .9rem; }
    .fx-confirm { font-size: .5625rem; }
  }
  @media (prefers-reduced-motion: reduce) {
    .pf-fx *, .pf-fx *::after, .fx-tool { animation: none !important; }
    .fx-sweep, .fx-ping, .fx-link::after { display: none; }
    .fx-step, .fx-tool, .fx-cal b, .fx-chip, .fx-cursor, .fx-event { opacity: 1; transform: none; }
    .fx-mini u b { width: 100%; }
    .fx-meter b { width: 92%; }
    .fx-check b { background: var(--lava); border-color: var(--lava); color: #fff; }
    .fx-cal b.pick { background: var(--lava); }
    .fx-stamp { opacity: 1; transform: rotate(-6deg); }
  }



  /* ═══════════ COMPARADOR DE CARREGAMENTO (LCP) ═══════════ */
  .lcp { margin-top: 1rem; border: 1px solid var(--hairline); background: var(--white); padding: clamp(1.25rem, 2.4vw, 1.75rem); }
  .lcp-label {
    font-family: var(--font-mono); font-size: .5625rem; letter-spacing: .07em;
    text-transform: uppercase; color: var(--gray-text); margin-bottom: 1.125rem;
  }
  .lcp-row { display: grid; grid-template-columns: minmax(120px, 210px) 1fr auto; gap: 1rem; align-items: center; margin-bottom: .75rem; }
  .lcp-row b { font-size: .8125rem; font-weight: 500; color: var(--ink); line-height: 1.3; }
  .lcp-track { position: relative; height: 10px; background: #EDEDED; display: block; overflow: hidden; }
  .lcp-track i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: #C9C9C9; display: block; }
  .lcp-row em { font-family: var(--font-display); font-weight: 700; font-style: normal; font-size: 1rem; color: var(--gray-text); min-width: 3.5rem; text-align: right; }
  .lcp-row--zark b { color: var(--black); font-weight: 600; }
  .lcp-row--zark .lcp-track i { background: var(--lava); }
  .lcp-row--zark em { color: var(--lava); }
  .lcp.seen .lcp-row--zark .lcp-track i { animation: lcp-zark 6s cubic-bezier(.22,1,.36,1) infinite; }
  .lcp.seen .lcp-row--limite .lcp-track i { animation: lcp-limite 6s cubic-bezier(.22,1,.36,1) infinite; }
  @keyframes lcp-zark   { 0% { width: 0; } 18.3%, 90% { width: 44%; } 100% { width: 0; } }
  @keyframes lcp-limite { 0% { width: 0; } 41.7%, 90% { width: 100%; } 100% { width: 0; } }
  .lcp-note { margin-top: .875rem; padding-top: .875rem; border-top: 1px solid var(--hairline); font-size: .8125rem; color: var(--gray-text); line-height: 1.55; }
  .lcp-note b { color: var(--black); font-weight: 600; }

  /* ═══════════ SEO: gráfico pago x orgânico ═══════════ */
  .seo-graf { border: 1px solid var(--hairline); background: var(--white); }
  .seo-topo {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
    padding: 1rem clamp(1.25rem, 2.4vw, 1.75rem); border-bottom: 1px solid var(--hairline);
  }
  .seo-topo p { font-family: var(--font-mono); font-size: .5625rem; letter-spacing: .07em; text-transform: uppercase; color: var(--gray-text); }
  .seo-tabs { display: flex; gap: .375rem; }
  .seo-tabs button {
    font-family: var(--font-display); font-weight: 600; font-size: .6875rem;
    letter-spacing: .04em; text-transform: uppercase;
    padding: .45rem .75rem; border: 1px solid var(--hairline);
    background: var(--white); color: var(--gray-text); cursor: pointer;
    display: inline-flex; align-items: center; gap: .4rem;
    transition: all var(--hover-duration) var(--hover-ease);
  }
  .seo-tabs button i { width: 8px; height: 8px; display: block; }
  .seo-tabs button:hover { border-color: var(--ink); color: var(--ink); }
  .seo-tabs button.on { background: var(--black); border-color: var(--black); color: var(--white); }
  .seo-plot { padding: clamp(1rem, 2vw, 1.5rem); }
  .seo-plot svg { width: 100%; height: auto; display: block; overflow: visible; }
  .g-grid { stroke: var(--hairline); stroke-width: 1; }
  .g-eixo { font-family: var(--font-mono); font-size: 11px; fill: #A9A9A9; }
  .g-area { opacity: 0; transition: opacity 900ms ease 700ms; }
  .g-linha { fill: none; stroke-width: 2.5; stroke-linecap: round; pathLength: 1000; stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset 2400ms cubic-bezier(.33,1,.68,1); }
  .g-ponto { opacity: 0; transition: opacity 500ms ease 2200ms; }
  .seo-graf.seen .g-linha { stroke-dashoffset: 0; }
  .seo-graf.seen .g-area { opacity: 1; }
  .seo-graf.seen .g-ponto { opacity: 1; }
  .serie-pago .g-linha { stroke: #9AA0A6; }
  .serie-pago .g-area { fill: rgba(154,160,166,.14); }
  .serie-org .g-linha { stroke: var(--lava); }
  .serie-org .g-area { fill: rgba(245,111,16,.13); }
  .g-serie { transition: opacity 400ms var(--hover-ease); }
  .seo-graf[data-ver="pago"] .serie-org { opacity: .13; }
  .seo-graf[data-ver="org"] .serie-pago { opacity: .13; }
  .g-corte line { stroke: var(--black); stroke-width: 1.5; stroke-dasharray: 4 4; opacity: 0; transition: opacity 600ms ease 1600ms; }
  .g-corte text { font-family: var(--font-mono); font-size: 11px; fill: var(--black); opacity: 0; transition: opacity 600ms ease 1800ms; }
  .seo-graf.seen .g-corte line, .seo-graf.seen .g-corte text { opacity: 1; }
  .g-pulso { fill: var(--lava); opacity: .25; }
  .seo-graf.seen .g-pulso { animation: g-pulso 2.4s ease-out infinite 2.4s; }
  @keyframes g-pulso { 0% { r: 5; opacity: .35; } 70%, 100% { r: 16; opacity: 0; } }
  .seo-rodape {
    padding: .75rem clamp(1.25rem, 2.4vw, 1.75rem); border-top: 1px solid var(--hairline);
    background: var(--gray-panel);
    font-family: var(--font-mono); font-size: .5625rem; letter-spacing: .07em;
    text-transform: uppercase; color: var(--gray-text);
  }


  /* ═══════════ PERFORMANCE (notas reais do PageSpeed) · tema claro e compacto ═══════════ */
  .pf-section--tight { padding-top: clamp(3.5rem, 6vw, 5.5rem); padding-bottom: clamp(3.5rem, 6vw, 5.5rem); }
  .pf-section--tight .pf-section-header { margin-bottom: 1.75rem; padding-bottom: 1.5rem; }

  .ps-panel { border: 1px solid var(--hairline); background: var(--white); }
  .ps-scores {
    display: grid; grid-template-columns: repeat(5, 1fr);
    gap: 1rem; padding: clamp(1.25rem, 2.4vw, 1.75rem);
  }
  .ps-score { display: flex; flex-direction: column; align-items: center; gap: .625rem; text-align: center; }
  .ps-slot { height: clamp(58px, 6.4vw, 78px); display: flex; align-items: center; justify-content: center; }
  .ps-gauge { width: clamp(58px, 6.4vw, 78px); height: auto; display: block; }
  .ps-gauge circle { fill: none; stroke-width: 7.5; }
  .ps-gauge .ps-bg { stroke: #E4F7EE; }
  .ps-gauge .ps-arc {
    stroke: #0CCE6B; stroke-linecap: round;
    transform: rotate(-90deg); transform-origin: 50% 50%;
    stroke-dasharray: var(--c); stroke-dashoffset: var(--c);
    transition: stroke-dashoffset 1400ms cubic-bezier(.22,1,.36,1);
  }
  .ps-panel.seen .ps-gauge .ps-arc { stroke-dashoffset: var(--off); }
  .ps-gauge text {
    font-family: var(--font-display); font-weight: 600; font-size: 32px;
    fill: #0A9B52; text-anchor: middle; dominant-baseline: central;
  }
  .ps-score b { font-size: .75rem; font-weight: 500; color: var(--ink); line-height: 1.3; }
  .ps-pill {
    display: inline-flex; align-items: center; gap: .4rem;
    background: #E4F7EE; color: #0A7C43;
    font-family: var(--font-display); font-weight: 700; font-size: 1.125rem;
    padding: .5rem 1rem;
  }
  .ps-pill i { width: 8px; height: 8px; background: #0CCE6B; display: block; }

  /* faixa de métricas, dentro do mesmo painel */
  .ps-metrics {
    display: grid; grid-template-columns: repeat(5, 1fr);
    gap: 1px; background: var(--hairline); border-top: 1px solid var(--hairline);
  }
  .ps-metric { background: var(--white); padding: .875rem 1rem 1rem; }
  .ps-metric strong {
    display: block; font-family: var(--font-display); font-weight: 700;
    font-size: clamp(1.125rem, 1.9vw, 1.5rem);
    letter-spacing: -.02em; color: #0A9B52; line-height: 1;
  }
  .ps-metric em {
    display: block; margin-top: .45rem; font-style: normal;
    font-family: var(--font-mono); font-size: .5rem; letter-spacing: .07em;
    text-transform: uppercase; color: var(--lava);
  }
  .ps-metric span { display: block; margin-top: .3rem; font-size: .75rem; color: var(--gray-text); line-height: 1.4; }
  .ps-source {
    padding: .75rem clamp(1.25rem, 2.4vw, 1.75rem);
    border-top: 1px solid var(--hairline); background: var(--gray-panel);
    font-family: var(--font-mono); font-size: .5625rem; letter-spacing: .07em;
    text-transform: uppercase; color: var(--gray-text);
  }


  /* ===== CTA ===== */
  .pf-cta {
    padding: var(--space-section) clamp(2rem, 4vw, 4rem);
    background: var(--black); color: var(--white); text-align: center;
  }
  .pf-cta .container {
    max-width: var(--container-max); margin: 0 auto;
    display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
  }
  .pf-cta h2 {
    font-family: var(--font-display); font-weight: 200;
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    letter-spacing: -0.02em; line-height: 1.15;
  }
  .pf-cta h2 em { font-style: italic; font-weight: 600; color: var(--lava); }
  .pf-cta p { color: rgba(255,255,255,.6); font-size: .9375rem; max-width: 48ch; }

  /* ===== FOOTER ===== */
  .pf-footer {
    background: var(--black); color: rgba(255,255,255,.5);
    border-top: 1px solid rgba(255,255,255,.06);
    padding: 2rem clamp(2rem, 4vw, 4rem);
  }
  .pf-footer .container {
    max-width: var(--container-max); margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 1rem;
  }
  .pf-footer img { height: 20px; width: auto; opacity: .5; }
  .pf-footer span { font-size: .8125rem; }

  /* ===== RESPONSIVO ===== */
  @media (max-width: 900px) {
    .pf-grid { grid-template-columns: 1fr; }
    .pf-card--wide { grid-column: span 1; }
    .pf-card { min-height: 420px; }
    .pf-nav-links a:not(.btn) { display: none; }
  }
  @media (max-width: 640px) {
    .pf-card { min-height: 380px; }
    .pf-card-content { padding: 1.5rem; }
  }


  /* ═══════════════════════════════════════════════════
     MINI-CARDS ANIMADOS (substituem os blocos de texto)
     Mesmo padrão das .exp-card do index e dos cards de
     Agentes: tela clara pontilhada + cena em CSS/SVG.
     ═══════════════════════════════════════════════════ */
  .mini-punch {
    font-family: var(--font-display); font-weight: 200; color: var(--black);
    font-size: clamp(1.375rem, 2.6vw, 2rem);
    line-height: 1.24; letter-spacing: -.02em; max-width: 32ch;
    margin: 2rem 0 1.25rem;
  }
  .mini-punch em { font-style: italic; font-weight: 600; color: var(--lava); }
  .mini-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .mini-card {
    border: 1px solid var(--hairline); background: var(--white);
    padding: .875rem .875rem 1.25rem;
    transition: transform 400ms var(--hover-ease), box-shadow 400ms var(--hover-ease);
  }
  .mini-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(20,17,12,.10); }
  .mini-canvas {
    position: relative; overflow: hidden; height: 148px;
    background: #FAFAFA; border: 1px solid var(--hairline);
    background-image: radial-gradient(rgba(20,17,12,.07) 1px, transparent 1px);
    background-size: 12px 12px;
  }
  .mini-card h3 {
    margin-top: 1rem; font-family: var(--font-display); font-weight: 600;
    font-size: .9375rem; color: var(--black); line-height: 1.25; padding: 0 .25rem;
  }
  .mini-card p { margin-top: .4rem; font-size: .8125rem; line-height: 1.5; color: var(--gray-text); padding: 0 .25rem; }
  .mini-close { margin-top: 1.25rem; font-size: .9375rem; line-height: 1.65; color: var(--gray-text); max-width: 78ch; }
  .mini-close b { color: var(--black); font-weight: 600; }
  .mini-close em { font-style: italic; font-weight: 600; color: var(--lava); }

  /* chip de fecho, comum às cenas */
  .mk-chip {
    position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%);
    display: inline-flex; align-items: center; gap: .3rem; white-space: nowrap;
    background: var(--black); color: #fff;
    font-family: var(--font-mono); font-size: .5rem; letter-spacing: .07em;
    text-transform: uppercase; padding: .25rem .45rem; opacity: 0;
  }
  .mini-card.is-live .mk-chip { animation: mk-chip 6s ease-in-out infinite; }
  @keyframes mk-chip {
    0%, 56% { opacity: 0; transform: translateX(-50%) translateY(5px); }
    66%, 88% { opacity: 1; transform: translateX(-50%); }
    100% { opacity: 0; transform: translateX(-50%) translateY(5px); }
  }

  /* 1 · cliques pagos que não viram visita */
  .mk-cliques { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding-bottom: 18px; }
  .mk-dots { display: grid; grid-template-columns: repeat(5, 15px); gap: 7px; }
  .mk-dots b { width: 15px; height: 15px; background: var(--lava); display: block; opacity: 0; }
  .mini-card.is-live .mk-dots b {
    animation: mk-dot-in 6s var(--hover-ease) infinite;
    animation-delay: calc(var(--i) * 80ms);
  }
  @keyframes mk-dot-in {
    0%, 2% { opacity: 0; transform: scale(.4); }
    10%, 88% { opacity: 1; transform: none; }
    96%, 100% { opacity: 0; transform: scale(.4); }
  }
  .mini-card.is-live .mk-dots b.sai {
    animation: mk-dot-in 6s var(--hover-ease) infinite, mk-dot-sai 6s var(--hover-ease) infinite;
  }
  @keyframes mk-dot-sai { 0%, 40% { background: var(--lava); } 54%, 100% { background: #DDDDDD; } }

  /* 2 · conversão caindo por segundo de espera */
  .mk-bars { position: absolute; inset: 0; padding: 1.1rem 1.25rem 1.9rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: .55rem; }
  .mk-bars span { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: .35rem; }
  .mk-bars i { width: 100%; max-width: 24px; height: 0; background: #D8D8D8; display: block; }
  .mk-bars span:first-child i { background: var(--lava); }
  .mk-bars em { font-family: var(--font-mono); font-size: .5rem; font-style: normal; color: var(--gray-text); }
  .mini-card.is-live .mk-bars i {
    animation: mk-bar 6s var(--hover-ease) infinite;
    animation-delay: calc(var(--i) * 170ms);
  }
  @keyframes mk-bar { 0% { height: 0; } 20%, 86% { height: var(--h); } 96%, 100% { height: 0; } }

  /* 3 · posição caindo na busca */
  .mk-serp { position: absolute; inset: 0; padding: 1.1rem 1.25rem 1.9rem; }
  .mk-line { display: block; height: 8px; background: #E6E6E6; margin-bottom: 12px; }
  .mk-line:nth-child(2) { width: 74%; }
  .mk-line:nth-child(3) { width: 88%; }
  .mk-line:nth-child(4) { width: 66%; }
  .mk-line:nth-child(5) { width: 80%; }
  .mk-marker {
    position: absolute; left: 1.25rem; top: 1.1rem;
    display: inline-flex; align-items: center; gap: .3rem;
    background: var(--lava); color: #fff;
    font-family: var(--font-mono); font-size: .5rem; letter-spacing: .06em;
    text-transform: uppercase; padding: .2rem .4rem; opacity: 0;
  }
  .mini-card.is-live .mk-marker { animation: mk-cai 6s var(--hover-ease) infinite; }
  @keyframes mk-cai {
    0% { opacity: 0; top: 1.1rem; }
    12%, 34% { opacity: 1; top: 1.1rem; }
    56%, 88% { opacity: 1; top: 4.85rem; }
    96%, 100% { opacity: 0; top: 4.85rem; }
  }

  /* 4 · estrutura técnica: tags e schema sendo lidos */
  .mk-code { position: absolute; inset: 0; padding: 1.1rem 1rem 1.9rem; display: grid; gap: .4rem; align-content: start; }
  .mk-ln {
    font-family: var(--font-mono); font-size: .5rem; line-height: 1.5;
    white-space: nowrap; overflow: hidden; width: 0; color: #6B6B6B;
  }
  .mk-ln .tg { color: #C026D3; }
  .mk-ln .at { color: #0369A1; }
  .mini-card.is-live .mk-ln {
    animation: mk-type 6s steps(34, end) infinite;
    animation-delay: calc(var(--i) * 420ms);
  }
  @keyframes mk-type { 0% { width: 0; } 16%, 86% { width: 100%; } 96%, 100% { width: 0; } }

  /* 5 · intenção de busca */
  .mk-search { position: absolute; inset: 0; padding: 1.1rem 1rem 1.9rem; display: grid; gap: .5rem; align-content: start; }
  .mk-box {
    display: flex; align-items: center; gap: .4rem;
    background: var(--white); border: 1px solid var(--hairline); padding: .35rem .5rem;
  }
  .mk-box svg { width: 11px; height: 11px; color: #9A9A9A; flex: none; }
  .mk-typed {
    font-size: .5625rem; color: var(--ink); white-space: nowrap;
    overflow: hidden; width: 0; display: block;
  }
  .mini-card.is-live .mk-typed { animation: mk-type 6s steps(26, end) infinite; }
  .mk-caret { width: 1px; height: 11px; background: var(--lava); display: block; }
  .mini-card.is-live .mk-caret { animation: mk-blink .9s step-end infinite; }
  @keyframes mk-blink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }
  .mk-sug {
    display: flex; align-items: center; gap: .35rem;
    font-size: .5625rem; color: var(--gray-text); opacity: 0;
    padding-left: .15rem;
  }
  .mk-sug::before { content: ''; width: 4px; height: 4px; background: #C9C9C9; flex: none; }
  .mk-sug:first-of-type::before { background: var(--lava); }
  .mini-card.is-live .mk-sug {
    animation: mk-sug 6s var(--hover-ease) infinite;
    animation-delay: calc(1200ms + var(--i) * 260ms);
  }
  @keyframes mk-sug {
    0%, 4% { opacity: 0; transform: translateX(-4px); }
    12%, 84% { opacity: 1; transform: none; }
    94%, 100% { opacity: 0; }
  }

  /* 6 · SEO local: pin e alcance */
  .mk-map { position: absolute; inset: 0; overflow: hidden; }
  .mk-ruas { position: absolute; inset: 0; opacity: .5; }
  .mk-ruas span { position: absolute; background: #E2E2E2; }
  .mk-pin {
    position: absolute; left: 50%; top: 44%; margin: -13px 0 0 -9px;
    width: 18px; height: 22px; color: var(--lava); opacity: 0;
  }
  .mini-card.is-live .mk-pin { animation: mk-pin 6s var(--hover-ease) infinite; }
  @keyframes mk-pin {
    0%, 4% { opacity: 0; transform: translateY(-16px) scale(.7); }
    14%, 88% { opacity: 1; transform: none; }
    96%, 100% { opacity: 0; }
  }
  .mk-ring {
    position: absolute; left: 50%; top: 44%; width: 20px; height: 20px;
    margin: -10px 0 0 -10px; border: 1.5px solid var(--lava); opacity: 0;
  }
  .mini-card.is-live .mk-ring {
    animation: mk-ring 3s ease-out infinite;
    animation-delay: calc(1000ms + var(--i) * 900ms);
  }
  @keyframes mk-ring {
    0% { opacity: .55; transform: scale(.5); }
    70%, 100% { opacity: 0; transform: scale(4.4); }
  }

  @media (max-width: 900px) { .mini-cards { grid-template-columns: 1fr; } }
  @media (prefers-reduced-motion: reduce) {
    .mini-canvas * { animation: none !important; }
    .mk-dots b, .mk-marker, .mk-chip, .mk-sug, .mk-pin { opacity: 1; }
    .mk-dots b.sai { background: #DDDDDD; }
    .mk-bars i { height: var(--h); }
    .mk-ln, .mk-typed { width: 100%; }
    .mk-ring { opacity: 0; }
  }


  /* ═══════════════════════════════════════════════════
     COMPARATIVO EM 2 PAINÉIS (prateleira x sob medida,
     chatbot de menu x agente). Itens entram escalonados.
     ═══════════════════════════════════════════════════ */
  .vs { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: start; }
  .vs-col { border: 1px solid var(--hairline); background: var(--white); padding: clamp(1.25rem, 2.4vw, 1.75rem); }
  .vs-col--bom { border-color: var(--lava); box-shadow: 0 18px 44px rgba(245,111,16,.10); }
  .vs-tag {
    display: inline-flex; align-items: center; gap: .4rem;
    font-family: var(--font-mono); font-size: .5625rem; letter-spacing: .1em;
    text-transform: uppercase; color: var(--gray-text);
  }
  .vs-tag::before { content: ''; width: 7px; height: 7px; background: #C4C4C4; }
  .vs-col--bom .vs-tag { color: var(--lava); }
  .vs-col--bom .vs-tag::before { background: var(--lava); }
  .vs-col h3 {
    margin-top: .625rem; font-family: var(--font-display); font-weight: 700;
    font-size: clamp(1.125rem, 2vw, 1.5rem); color: var(--black);
    letter-spacing: -.01em; line-height: 1.2;
  }
  .vs-list { margin-top: 1.25rem; display: grid; gap: .625rem; }
  .vs-list li {
    list-style: none; display: flex; align-items: flex-start; gap: .625rem;
    font-size: .875rem; line-height: 1.5; color: var(--gray-text);
    opacity: 0; translate: 0 10px;
  }
  .vs-col.seen .vs-list li {
    opacity: 1; translate: 0 0;
    transition: opacity 500ms var(--hover-ease), translate 500ms var(--hover-ease);
    transition-delay: calc(var(--i) * 110ms);
  }
  .vs-list b {
    width: 16px; height: 16px; flex: none; margin-top: 1px;
    display: flex; align-items: center; justify-content: center;
    font-size: .5625rem; font-weight: 700; color: #fff; background: #C4C4C4;
  }
  .vs-col--bom .vs-list b { background: var(--lava); }
  .vs-col--bom .vs-list li { color: var(--ink); }

  /* ═══════════════════════════════════════════════════
     DIAGRAMA DE INTEGRAÇÕES (núcleo + satélites)
     ═══════════════════════════════════════════════════ */
  .integra { border: 1px solid var(--hairline); background: var(--white); padding: clamp(1.5rem, 3vw, 2.5rem); }
  .integra-plot { position: relative; max-width: 720px; margin: 0 auto; }
  .integra-plot svg { width: 100%; height: auto; display: block; overflow: visible; }
  .ig-fio { fill: none; stroke: var(--hairline); stroke-width: 1.5; }
  .ig-pulso {
    fill: none; stroke: var(--lava); stroke-width: 2;
    stroke-dasharray: 14 260; stroke-dashoffset: 274;
  }
  .integra.seen .ig-pulso { animation: ig-run 2.6s linear infinite; animation-delay: calc(var(--i) * 320ms); }
  @keyframes ig-run { to { stroke-dashoffset: -14; } }
  .ig-no { fill: var(--white); stroke: var(--hairline); stroke-width: 1.5; }
  .ig-nucleo { fill: var(--black); }
  .ig-txt { font-family: var(--font-display); font-size: 11px; font-weight: 600; fill: var(--ink); text-anchor: middle; }
  .ig-nucleo-txt { font-family: var(--font-display); font-size: 13px; font-weight: 700; fill: #fff; text-anchor: middle; letter-spacing: .04em; }
  .ig-item { opacity: 0; }
  .integra.seen .ig-item { animation: ig-in 600ms var(--hover-ease) both; animation-delay: calc(var(--i) * 130ms); }
  @keyframes ig-in { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
  .integra-nota {
    margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--hairline);
    font-size: .875rem; line-height: 1.6; color: var(--gray-text); max-width: 76ch;
  }
  .integra-nota b { color: var(--black); font-weight: 600; }

  /* ═══════════════════════════════════════════════════
     DUELO DE CONVERSAS (chatbot de menu x agente de IA)
     ═══════════════════════════════════════════════════ */
  .duelo { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .duelo-col { border: 1px solid var(--hairline); background: var(--white); padding: 1rem 1rem 1.25rem; }
  .duelo-col--bom { border-color: var(--lava); }
  .duelo-topo { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .875rem; }
  .duelo-topo b { font-family: var(--font-display); font-weight: 600; font-size: .9375rem; color: var(--black); }
  .duelo-tela {
    position: relative; overflow: hidden; height: 254px;
    background: #FAFAFA; border: 1px solid var(--hairline);
    background-image: radial-gradient(rgba(20,17,12,.07) 1px, transparent 1px);
    background-size: 12px 12px; padding: .875rem;
  }
  .du-msg {
    position: absolute; left: .875rem; right: .875rem;
    max-width: 84%; padding: .45rem .6rem;
    font-size: .6875rem; line-height: 1.45; opacity: 0;
  }
  .du-msg.bot { background: #EDEDED; color: var(--ink); right: auto; }
  .du-msg.cli { background: var(--lava); color: #fff; left: auto; text-align: left; }
  .duelo-col--ruim .du-msg.cli { background: #6B6B6B; }
  .du-msg.erro { background: #FDECEC; color: #B42318; border-left: 2px solid #E5484D; }
  .duelo-col.is-live .du-msg { animation: du-in 12s var(--hover-ease) infinite; animation-delay: calc(var(--t) * 1ms); }
  @keyframes du-in {
    0%, 1% { opacity: 0; transform: translateY(7px); }
    5%, 88% { opacity: 1; transform: none; }
    95%, 100% { opacity: 0; }
  }
  .du-fim {
    position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%);
    display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap;
    font-family: var(--font-mono); font-size: .5rem; letter-spacing: .07em;
    text-transform: uppercase; padding: .3rem .5rem; opacity: 0;
  }
  .du-fim.ruim { background: #B42318; color: #fff; }
  .du-fim.bom { background: #0A7C43; color: #fff; }
  .duelo-col.is-live .du-fim { animation: du-fim 12s ease-in-out infinite; }
  @keyframes du-fim {
    0%, 62% { opacity: 0; transform: translateX(-50%) translateY(5px); }
    70%, 88% { opacity: 1; transform: translateX(-50%); }
    95%, 100% { opacity: 0; }
  }

  /* ═══════════════════════════════════════════════════
     RÉGUA DE 24 HORAS (equipe x agente)
     ═══════════════════════════════════════════════════ */
  .h24 { border: 1px solid var(--hairline); background: var(--white); padding: clamp(1.25rem, 2.4vw, 2rem); }
  .h24-barra { position: relative; display: grid; grid-template-columns: repeat(24, 1fr); gap: 2px; height: 54px; }
  .h24-barra i { display: block; background: var(--lava); opacity: 0; }
  .h24-barra i.equipe { background: #DCDCDC; }
  .h24.seen .h24-barra i { animation: h24-in 700ms var(--hover-ease) both; animation-delay: calc(var(--i) * 45ms); }
  @keyframes h24-in { from { opacity: 0; transform: scaleY(.2); } to { opacity: 1; transform: none; } }
  .h24-varre {
    position: absolute; top: -4px; bottom: -4px; width: 2px;
    background: var(--black); left: 0; opacity: 0;
  }
  .h24.seen .h24-varre { animation: h24-varre 9s linear infinite 1.2s; }
  @keyframes h24-varre { 0% { left: 0; opacity: 1; } 96% { left: 100%; opacity: 1; } 100% { left: 100%; opacity: 0; } }
  .h24-eixo { display: flex; justify-content: space-between; margin-top: .625rem; }
  .h24-eixo span { font-family: var(--font-mono); font-size: .5625rem; color: var(--gray-text); }
  .h24-leg { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: 1.25rem; }
  .h24-leg span { display: inline-flex; align-items: center; gap: .45rem; font-size: .8125rem; color: var(--gray-text); }
  .h24-leg i { width: 10px; height: 10px; display: block; }
  .h24-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); margin-top: 1.5rem; }
  .h24-nums div { background: var(--white); padding: 1.125rem 1.25rem; }
  .h24-nums strong {
    display: block; font-family: var(--font-display); font-weight: 700;
    font-size: clamp(1.25rem, 2.2vw, 1.75rem); color: var(--lava); line-height: 1; letter-spacing: -.02em;
  }
  .h24-nums span { display: block; margin-top: .45rem; font-size: .8125rem; color: var(--gray-text); line-height: 1.45; }

  @media (max-width: 900px) {
    .vs, .duelo, .h24-nums { grid-template-columns: 1fr; }
    .h24-nums { gap: 1px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .vs-list li { opacity: 1; translate: none; }
    .ig-pulso, .h24-varre { display: none; }
    .ig-item, .h24-barra i, .du-msg, .du-fim { opacity: 1; animation: none !important; transform: none; }
  }


  /* ═══════════════════════════════════════════════════
     LANDING (seo.html): hero com prova, SERP que sobe,
     passos, entregáveis e FAQ. Linguagem do index.
     ═══════════════════════════════════════════════════ */
  .lp-hero { padding-bottom: clamp(3rem, 6vw, 5rem); }
  .lp-hero h1 { max-width: 20ch; }
  .lp-acoes { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
  .btn-ghost-light { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); }
  .btn-ghost-light:hover { box-shadow: inset 0 0 0 1.5px var(--white); background: rgba(255,255,255,.08); }
  .lp-prova {
    display: flex; flex-wrap: wrap; gap: 2.5rem;
    margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.75rem;
    border-top: 1px solid rgba(255,255,255,.14);
  }
  .lp-prova div { max-width: 26ch; }
  .lp-prova strong {
    display: block; font-family: var(--font-display); font-weight: 700;
    font-size: 1.125rem; color: var(--white); letter-spacing: -.01em;
  }
  .lp-prova span { display: block; margin-top: .3rem; font-size: .8125rem; color: rgba(255,255,255,.6); line-height: 1.5; }

  /* SERP animada, passos, entregáveis e FAQ ficam abaixo */
  /* passos numerados */
  .passos { display: grid; gap: 0; border-top: 1px solid var(--hairline); }
  .passo {
    display: grid; grid-template-columns: 4.5rem 1fr; gap: 1.5rem;
    padding: 1.75rem 0; border-bottom: 1px solid var(--hairline);
    align-items: start;
  }
  .passo b {
    font-family: var(--font-display); font-weight: 800; font-size: 1.75rem;
    color: var(--hairline); line-height: 1; letter-spacing: -.02em;
    transition: color 500ms var(--hover-ease);
  }
  .passo:hover b { color: var(--lava); }
  .passo h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; color: var(--black); }
  .passo p { margin-top: .45rem; font-size: .9375rem; line-height: 1.6; color: var(--gray-text); max-width: 68ch; }

  /* entregáveis */
  .entrega-lista { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem 2rem; }
  .entrega-lista li {
    list-style: none; display: flex; align-items: flex-start; gap: .75rem;
    font-size: .9375rem; line-height: 1.55; color: var(--ink);
    padding: .75rem 0; border-bottom: 1px solid var(--hairline);
  }
  .entrega-lista b {
    width: 18px; height: 18px; flex: none; margin-top: 1px;
    background: var(--lava); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: .625rem; font-weight: 700;
  }

  /* FAQ */
  .faq { border-top: 1px solid var(--hairline); }
  .faq details { border-bottom: 1px solid var(--hairline); }
  .faq summary {
    list-style: none; cursor: pointer; padding: 1.375rem 2.5rem 1.375rem 0;
    position: relative; font-family: var(--font-display); font-weight: 600;
    font-size: 1.0625rem; color: var(--black); line-height: 1.35;
    transition: color var(--hover-duration) var(--hover-ease);
  }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary:hover { color: var(--lava); }
  .faq summary::after {
    content: ''; position: absolute; right: .5rem; top: 50%; margin-top: -1px;
    width: 14px; height: 2px; background: var(--ink);
  }
  .faq summary::before {
    content: ''; position: absolute; right: 1.25rem; top: 50%; margin-top: -7px;
    width: 2px; height: 14px; background: var(--ink);
    transition: transform 300ms var(--hover-ease), opacity 300ms var(--hover-ease);
  }
  .faq details[open] summary::before { transform: rotate(90deg); opacity: 0; }
  .faq details[open] summary { color: var(--lava); }
  .faq-resp { padding: 0 3rem 1.5rem 0; font-size: .9375rem; line-height: 1.7; color: var(--gray-text); max-width: 80ch; }
  .faq-resp b { color: var(--black); font-weight: 600; }

  /* cenas novas dos mini-cards da landing */
  .mk-audit { position: absolute; inset: 0; padding: 1rem; display: grid; grid-template-columns: 46px 1fr; gap: .75rem; align-content: center; }
  .mk-wire { display: grid; gap: 4px; align-content: start; }
  .mk-wire i { display: block; height: 6px; background: #E4E4E4; }
  .mk-wire i:first-child { height: 12px; background: #D4D4D4; }
  .mk-audit-lista { display: grid; gap: .45rem; align-content: center; }
  .mk-audit-lista span {
    display: flex; align-items: center; gap: .4rem;
    font-size: .5rem; color: var(--gray-text); opacity: 0;
  }
  .mk-audit-lista i {
    width: 11px; height: 11px; flex: none; background: #E5484D; color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: .4rem; font-weight: 700;
  }
  .mini-card.is-live .mk-audit-lista span {
    animation: mk-dot-in 6s var(--hover-ease) infinite;
    animation-delay: calc(var(--i) * 160ms);
  }
  .mini-card.is-live .mk-audit-lista i {
    animation: mk-fix 6s var(--hover-ease) infinite;
    animation-delay: calc(var(--i) * 160ms);
  }
  @keyframes mk-fix { 0%, 40% { background: #E5484D; } 52%, 100% { background: #16A34A; } }
  .mk-scan { position: absolute; left: 1rem; width: 46px; height: 2px; background: var(--lava); opacity: .8; top: 1rem; }
  .mini-card.is-live .mk-scan { animation: mk-scan 6s ease-in-out infinite; }
  @keyframes mk-scan { 0%, 8% { top: 22%; } 46%, 54% { top: 74%; } 92%, 100% { top: 22%; } }

  .mk-funil { position: absolute; inset: 0; padding: 1rem; display: grid; gap: .4rem; align-content: center; }
  .mk-termo {
    display: flex; align-items: center; justify-content: space-between; gap: .5rem;
    border: 1px solid var(--hairline); background: var(--white);
    padding: .3rem .45rem; font-size: .5rem; color: var(--ink); opacity: 0;
  }
  .mk-termo em { font-style: normal; font-family: var(--font-mono); font-size: .4375rem; letter-spacing: .06em; text-transform: uppercase; color: var(--gray-text); }
  .mk-termo.quente { border-color: var(--lava); }
  .mk-termo.quente em { color: var(--lava); }
  .mini-card.is-live .mk-termo {
    animation: mk-dot-in 6s var(--hover-ease) infinite;
    animation-delay: calc(var(--i) * 220ms);
  }

  .mk-pagina { position: absolute; inset: 0; padding: 1rem; display: grid; gap: .35rem; align-content: center; }
  .mk-bloco {
    position: relative; background: #EDEDED; opacity: 0;
    display: flex; align-items: center; padding: 0 .4rem;
    font-family: var(--font-mono); font-size: .4375rem; letter-spacing: .06em;
    text-transform: uppercase; color: #8A8A8A;
  }
  .mk-bloco.h1 { height: 20px; background: var(--lava); color: #fff; }
  .mk-bloco.h2 { height: 15px; }
  .mk-bloco.tx { height: 11px; }
  .mk-bloco.faq { height: 15px; }
  .mini-card.is-live .mk-bloco {
    animation: mk-bloco 6s var(--hover-ease) infinite;
    animation-delay: calc(var(--i) * 170ms);
  }
  @keyframes mk-bloco {
    0%, 3% { opacity: 0; transform: scaleX(.5); transform-origin: left; }
    12%, 86% { opacity: 1; transform: none; }
    96%, 100% { opacity: 0; transform: scaleX(.5); transform-origin: left; }
  }

  @media (max-width: 900px) {
    .entrega-lista { grid-template-columns: 1fr; }
    .passo { grid-template-columns: 3rem 1fr; gap: 1rem; }
    .lp-prova { gap: 1.5rem; }
  }
  @media (prefers-reduced-motion: reduce) {
    .rank.seen .rank-voce { animation: none; top: 0; }
    .mk-scan { display: none; }
    .mk-audit-lista span, .mk-termo, .mk-bloco { opacity: 1; }
    .mk-audit-lista i { background: #16A34A; }
  }


  /* ═══════════════════════════════════════════════════
     BENTO GRID (seção "o que a gente faz")
     ═══════════════════════════════════════════════════ */
  .bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .bento .mini-card { display: flex; flex-direction: column; }
  .bento .mini-card .mini-canvas { flex: 1; min-height: 150px; }
  .bento-2 { grid-column: span 2; }
  .bento-2 .mini-canvas { min-height: 200px; }
  .bento-2 h3 { font-size: 1.0625rem; }
  .bento-2 p { max-width: 62ch; }

  /* seção em 2 colunas: texto à esquerda, cena à direita */
  .lp-split { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
  .lp-split > .pf-section-header { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
  .lp-split > .pf-section-header p { max-width: 46ch; }

  /* SERP animada: cartão, busca e grade */
  .rank { border: 1px solid var(--hairline); background: var(--white); padding: clamp(1.25rem, 2.4vw, 2rem); }
  .rank-topo { display: flex; align-items: center; gap: .5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--hairline); margin-bottom: 1.5rem; }
  .rank-busca {
    flex: 1; display: flex; align-items: center; gap: .5rem;
    border: 1px solid var(--hairline); padding: .5rem .75rem;
    font-size: .8125rem; color: var(--ink);
  }
  .rank-busca svg { width: 13px; height: 13px; color: #9A9A9A; flex: none; }

  /* ═══════════════════════════════════════════════════
     RANQUEAMENTO: sobe posição por posição, com rolo de
     número e de CTR acompanhando + linha do tempo
     ═══════════════════════════════════════════════════ */
  .rank-grade { display: grid; grid-template-columns: 34px 1fr; gap: .875rem; }
  .rank-pos-col { display: grid; gap: 12px; }
  .rank-pos-col span {
    height: 38px; display: flex; align-items: center; justify-content: center;
    font-family: var(--font-mono); font-size: .6875rem; color: #C4C4C4;
    border-right: 1px solid var(--hairline);
  }
  .rank-lista { position: relative; display: grid; gap: 12px; }
  .rank-item { display: grid; gap: 6px; align-content: center; height: 38px; }
  .rank-item u { display: block; height: 8px; background: #E9E9E9; text-decoration: none; }
  .rank-item u.t { width: 52%; height: 10px; background: #DCE3F0; }
  .rank-item u.d { width: 88%; }

  .rank-voce {
    position: absolute; left: -.5rem; right: -.5rem; top: 200px;
    border: 1.5px solid var(--lava); background: var(--white);
    padding: .625rem .75rem; display: grid; gap: 7px;
    box-shadow: 0 10px 30px rgba(245,111,16,.18);
  }
  .rank-voce b {
    font-family: var(--font-display); font-weight: 600; font-size: .8125rem;
    color: var(--lava); display: flex; align-items: center; gap: .4rem;
  }
  .rank-voce b::before { content: ''; width: 7px; height: 7px; background: var(--lava); flex: none; }
  .rank-voce u { display: block; height: 8px; background: #EFEFEF; text-decoration: none; width: 78%; }
  .rank.seen .rank-voce { animation: rank-sobe 12s var(--hover-ease) infinite; }
  @keyframes rank-sobe {
    0%, 10%   { top: 200px; }
    20%, 30%  { top: 150px; }
    40%, 50%  { top: 100px; }
    60%, 70%  { top: 50px; }
    80%, 96%  { top: 0px; }
    100%      { top: 200px; }
  }

  /* rolo de números: a fita sobe 20% a cada degrau */
  .rolo { overflow: hidden; height: 1.05em; display: inline-block; vertical-align: bottom; }
  .rolo em { display: block; font-style: normal; }
  .rolo i { display: block; height: 1.05em; font-style: normal; line-height: 1.05em; }
  .rank.seen .rolo em { animation: rolo-5 12s steps(1, end) infinite; }
  @keyframes rolo-5 {
    0%, 10%  { transform: translateY(0); }
    20%, 30% { transform: translateY(-1.05em); }
    40%, 50% { transform: translateY(-2.1em); }
    60%, 70% { transform: translateY(-3.15em); }
    80%, 96% { transform: translateY(-4.2em); }
    100%     { transform: translateY(0); }
  }
  .rank-selo {
    margin-left: auto; background: var(--black); color: #fff;
    font-family: var(--font-mono); font-size: .5625rem; letter-spacing: .08em;
    padding: .25rem .45rem; text-transform: uppercase;
    display: inline-flex; align-items: baseline; gap: .15rem;
  }
  .rank-ctr {
    display: flex; align-items: baseline; gap: .4rem;
    font-family: var(--font-mono); font-size: .625rem;
    letter-spacing: .06em; text-transform: uppercase; color: var(--gray-text);
  }
  .rank-ctr strong { font-family: var(--font-display); font-size: 1.125rem; color: var(--lava); letter-spacing: -.01em; }

  .rank-tempo { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--hairline); }
  .rank-trilho { position: relative; height: 3px; background: #EDEDED; }
  .rank-trilho i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--lava); display: block; }
  .rank.seen .rank-trilho i { animation: rank-trilho 12s var(--hover-ease) infinite; }
  @keyframes rank-trilho { 0% { width: 4%; } 88%, 96% { width: 100%; } 100% { width: 4%; } }
  .rank-meses { display: flex; justify-content: space-between; margin-top: .5rem; }
  .rank-meses span { font-family: var(--font-mono); font-size: .5625rem; color: var(--gray-text); }
  .rank-rodape { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1.25rem; }
  .rank-nota { font-size: .8125rem; color: var(--gray-text); max-width: 52ch; }

  /* ═══════════════════════════════════════════════════
     FAQ EM CHAT (portado do index.html)
     ═══════════════════════════════════════════════════ */
  .faq-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
  .faq-support { margin-top: clamp(2rem, 10vh, 6rem); }
  .faq-avatars { display: flex; margin-bottom: 1rem; }
  .faq-avatars span {
    width: 40px; height: 40px; background: linear-gradient(135deg, var(--hairline), #C9C9C9);
    border: 2px solid var(--white); display: block;
  }
  .faq-avatars span + span { margin-left: -14px; background: linear-gradient(135deg, #3A1D09, var(--black)); }
  .faq-support b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--black); }
  .faq-support .sub { font-size: .9375rem; color: var(--gray-text); margin: .375rem 0 1.25rem; }

  .faq { border-bottom: 1px solid rgba(20,17,12,.07); }
  .faq details { position: relative; border-top: 1px solid rgba(20,17,12,.07); }
  .faq summary {
    cursor: pointer; list-style: none; display: flex; justify-content: space-between;
    align-items: center; gap: 1rem; padding: 1.625rem 0;
    font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; color: var(--black);
  }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary .plus {
    color: var(--black); font-family: var(--font-mono); font-weight: 300;
    font-size: 1.375rem; line-height: 1; flex: 0 0 auto;
    transition: transform var(--hover-duration) var(--hover-ease);
  }
  .faq details[open] summary .plus { transform: rotate(45deg); }
  .faq summary:hover .plus { color: var(--lava); }
  .faq .answer { padding: 0 0 1.75rem 0; }
  .chat { display: flex; align-items: flex-start; gap: .75rem; max-width: 64ch; }
  .chat-avatar {
    flex: 0 0 auto; width: 34px; height: 34px;
    background: var(--black); display: flex; align-items: center; justify-content: center;
  }
  .chat-avatar img { width: 18px; height: 18px; object-fit: contain; display: block; }
  .chat-body { min-width: 0; }
  .chat-who { font-family: var(--font-mono); font-size: .625rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gray-text); margin-bottom: .5rem; }
  .chat-who b { color: var(--black); font-weight: 600; }
  .chat-bubble {
    position: relative; background: var(--gray-panel);
    padding: 1rem 1.25rem; min-height: 52px;
    display: flex; align-items: center;
    animation: bubble-in 320ms var(--hover-ease) both;
  }
  .chat-bubble::before {
    content: ""; position: absolute; left: -7px; top: 14px;
    width: 0; height: 0;
    border-top: 7px solid transparent; border-bottom: 7px solid transparent;
    border-right: 7px solid var(--gray-panel);
  }
  @keyframes bubble-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
  .chat-text {
    font-size: .9375rem; color: var(--ink); line-height: 1.6;
    opacity: 0; filter: blur(4px); display: none;
    transition: opacity 320ms ease, filter 320ms ease;
  }
  .chat-text b { color: var(--black); font-weight: 600; }
  .typing { display: flex; gap: 5px; align-items: center; }
  .typing i { width: 6px; height: 6px; background: var(--lava); display: block; animation: typing-dot 1.1s infinite ease-in-out; }
  .typing i:nth-child(2) { animation-delay: .16s; }
  .typing i:nth-child(3) { animation-delay: .32s; }
  @keyframes typing-dot { 0%, 60%, 100% { opacity: .25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-4px); } }
  .faq details.answered .typing { display: none; }
  .faq details.answered .chat-text { display: block; opacity: 1; filter: blur(0); }

  @media (max-width: 1080px) {
    .lp-split { grid-template-columns: 1fr; gap: 2rem; }
    .lp-split > .pf-section-header p { max-width: 60ch; }
  }
  @media (max-width: 900px) {
    .bento { grid-template-columns: 1fr; }
    .bento-2 { grid-column: auto; }
    .faq-layout { grid-template-columns: 1fr; gap: 2.5rem; }
    .faq-support { margin-top: 0; }
  }
  @media (prefers-reduced-motion: reduce) {
    .chat-bubble { animation: none; }
    .chat-text { transition: none; filter: none; }
    .rank.seen .rank-voce, .rank.seen .rolo em, .rank.seen .rank-trilho i { animation: none; }
    .rank.seen .rank-voce { top: 0; }
    .rank.seen .rolo em { transform: translateY(-4.2em); }
    .rank.seen .rank-trilho i { width: 100%; }
  }

  /* links dentro de texto corrido (FAQ, cards, fechos) */
  .chat-text a, .mini-card p a, .mini-close a, .rank-nota a, .integra-nota a, .faq-resp a {
    color: var(--lava); text-decoration: none;
    box-shadow: inset 0 -1px 0 rgba(245,111,16,.35);
    transition: box-shadow var(--hover-duration) var(--hover-ease);
  }
  .chat-text a:hover, .mini-card p a:hover, .mini-close a:hover, .rank-nota a:hover,
  .integra-nota a:hover, .faq-resp a:hover { box-shadow: inset 0 -2px 0 var(--lava); }

  /* botão de saída da seção pra página dedicada */
  .pf-more { margin-top: 2.75rem; display: flex; justify-content: flex-end; }

  /* ═══════════ REVEAL AO ROLAR ═══════════
     Entra pela propriedade `translate`, NÃO por `transform`: assim o
     lift de hover dos cards (que usa transform) continua livre.
     A animação de load antiga (`fadeUp` com fill-mode forwards) foi
     removida justamente porque travava o transform e matava o hover.
     O estado escondido só vale com JS ativo (.js no <html>). */
  .js .pf-section-header,
  .js .pf-card,
  .js .mini-card,
  .js .ps-panel,
  .js .lcp,
  .js .mini-punch,
  .js .mini-close,
  .js .seo-graf,
  .js .pf-more,
  .js .vs-col,
  .js .integra,
  .js .duelo-col,
  .js .h24,
  .js .rank,
  .js .passo,
  .js .entrega-lista,
  .js .faq-layout {
    opacity: 0; translate: 0 26px;
    transition: opacity 750ms var(--hover-ease), translate 750ms var(--hover-ease);
  }
  .js .pf-section-header.seen,
  .js .pf-card.seen,
  .js .mini-card.seen,
  .js .ps-panel.seen,
  .js .lcp.seen,
  .js .mini-punch.seen,
  .js .mini-close.seen,
  .js .seo-graf.seen,
  .js .pf-more.seen,
  .js .vs-col.seen,
  .js .integra.seen,
  .js .duelo-col.seen,
  .js .h24.seen,
  .js .rank.seen,
  .js .passo.seen,
  .js .entrega-lista.seen,
  .js .faq-layout.seen {
    opacity: 1; translate: 0 0;
  }

  @media (prefers-reduced-motion: reduce) {
    .js .pf-section-header,
    .js .pf-card,
    .js .mini-card,
    .js .ps-panel,
    .js .lcp,
    .js .mini-punch,
    .js .mini-close,
    .js .seo-graf,
    .js .pf-more,
    .js .vs-col,
    .js .integra,
    .js .duelo-col,
    .js .h24,
    .js .rank,
    .js .passo,
    .js .entrega-lista,
    .js .faq-layout { opacity: 1; translate: none; transition: none; }
  }
