/* ============================================================
   index.php — estilos da página (extraídos do HTML para cache)
   ============================================================ */

/* ---------- Teste A/B do hero (variante em data-ab-home) ---------- */
html:not([data-ab-home="b"]) .ab-home-b { display: none; }
html[data-ab-home="b"] .ab-home-a { display: none; }

/* ---------- Home-specific ---------- */
  .hero {
    padding: 48px 0 72px;
    background: linear-gradient(180deg, #fff 0%, #faf7fb 100%);
    position: relative; overflow: hidden;
  }
  .hero .container { position: relative; z-index: 1; }
  .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(280px, .98fr);
    gap: 40px 48px;
    align-items: center;
  }
  .hero-copy { max-width: 560px; }
  .hero .eyebrow { font-size: 13px; padding: 8px 16px; }
  .hero-copy h1 { margin: 18px 0 0; font-size: clamp(28px, 3.5vw, 42px); line-height: 1.15; }
  .hero-copy h1 .grad {
    color: var(--violeta);
  }
  .hero-audiences { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
  .hero-chip {
    appearance: none; border: 1px solid var(--line); background: #fff; color: var(--ink-2);
    font-family: var(--f-body); font-size: 13px; font-weight: 700; line-height: 1;
    min-height: 44px; padding: 9px 14px; border-radius: 999px; cursor: pointer;
  }
  .hero-chip:hover { border-color: var(--violeta); color: var(--violeta); }
  .hero-chip.is-active {
    background: var(--violeta); color: #fff; border-color: var(--violeta);
    box-shadow: 0 8px 18px -10px rgba(124,3,142,.7);
  }
  .hero-copy .sub { font-size: 18px; line-height: 1.55; color: var(--ink-2); margin: 16px 0 0; max-width: 520px; min-height: 3.1em; }
  .hero-actions { display: flex; gap: 12px; justify-content: flex-start; margin-top: 26px; flex-wrap: wrap; }
  .hero-actions .btn { height: 56px; font-size: 16px; padding: 0 24px; }
  .hero-note { margin: 10px 0 0; font-size: 13px; font-weight: 600; color: var(--muted); }
  .hero-trust { margin-top: 18px; display: flex; align-items: center; gap: 10px; color: var(--ink-2); font-size: 14.5px; font-weight: 600; }
  .hero-trust .lu { width: 16px; height: 16px; color: var(--violeta); flex: none; }
  .hero-logos { margin: 18px 0 0; max-width: 520px; }
  .hero-logos-viewport { position: relative; overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%); }
  .hero-logos .logos-track { gap: 36px; animation-duration: 32s; }
  .hero-logos .logos-track .logo-mark { height: 28px; }
  .hero-logos .logos-track .logo-mark img { height: 24px; max-width: 110px; filter: none; opacity: .92; }
  .hero-visual {
    position: relative; min-height: 360px; display: grid; align-items: center;
    padding: 28px 18px 18px;
  }
  .hero-visual::before {
    content: ''; position: absolute; inset: 7% 2% 12% 10%;
    border: 1px solid rgba(124,3,142,.16); border-radius: 28px;
    background: #f1e9f4; transform: rotate(2deg);
  }
  .hero-product-figure { position: relative; z-index: 1; margin: 0; }
  .hero-product-figure img {
    width: 100%; height: auto; filter: drop-shadow(0 24px 28px rgba(36,3,66,.22));
  }
  .hero-product-figure figcaption {
    width: max-content; max-width: 100%; margin: -4px auto 0; padding: 7px 11px;
    border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.92);
    color: var(--muted); font-size: 11px; font-weight: 700;
  }
  @media (max-width: 900px) {
    .hero-grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
    .hero-grid > * { min-width: 0; width: 100%; }
    .hero-copy { display: contents; }
    .hero-copy > .eyebrow { order: 1; align-self: flex-start; }
    .hero-copy > h1 { order: 2; }
    .hero-copy > .hero-audiences { order: 3; }
    .hero-copy > .sub { order: 4; }
    .hero-visual { order: 5; min-height: 0; width: min(520px, 100%); max-width: 100%; margin: 30px auto 0; }
    .hero-copy > .hero-actions { order: 6; }
    .hero-copy > .hero-note { order: 7; }
    .hero-copy > .hero-trust { order: 8; }
    .hero-copy > .hero-logos { order: 9; width: 100%; max-width: 100%; }
  }

  /* Platform overview */
  .platform { padding: 96px 0; background: #fff; }
  .platform-checkout-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
    min-height: 290px;
    max-width: 1000px;
    margin: 0 auto 16px;
    overflow: hidden;
    border: 1px solid rgba(233,167,239,.24);
    border-radius: 22px;
    background:
      radial-gradient(480px 300px at 92% 5%, rgba(150,0,255,.34), transparent 72%),
      radial-gradient(380px 260px at 4% 100%, rgba(254,0,254,.1), transparent 72%),
      #200331;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 28px 58px -42px rgba(36,3,66,.72);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  }
  .platform-checkout-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(255,255,255,.1) 1px, transparent 1px);
    background-size: 25px 25px;
    -webkit-mask-image: radial-gradient(440px 300px at 88% 48%, #000, transparent 78%);
            mask-image: radial-gradient(440px 300px at 88% 48%, #000, transparent 78%);
  }
  .platform-checkout-card:hover {
    transform: translateY(-3px);
    border-color: rgba(233,167,239,.52);
    box-shadow: 0 34px 66px -38px rgba(36,3,66,.66);
  }
  .platform-checkout-copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 34px 36px; }
  .platform-checkout-top { display: flex; align-items: center; gap: 11px; }
  .platform-checkout-icon { display: grid; place-items: center; width: 45px; height: 45px; border: 1px solid rgba(255,255,255,.15); border-radius: 13px; background: rgba(255,255,255,.09); color: #efb5f3; }
  .platform-checkout-icon .lu { width: 22px; height: 22px; }
  .platform-checkout-kicker { color: #efb5f3; font-size: 9px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
  .platform-checkout-copy h3 { margin-top: 20px; color: #fff; font-size: clamp(28px, 3vw, 36px); line-height: 1.05; letter-spacing: -.035em; }
  .platform-checkout-copy > p { max-width: 570px; margin-top: 10px; color: rgba(255,255,255,.7); font-size: 14px; line-height: 1.6; }
  .platform-checkout-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 19px; }
  .platform-checkout-tags span { padding: 7px 10px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; background: rgba(255,255,255,.07); color: rgba(255,255,255,.82); font-size: 9px; font-weight: 800; }
  .platform-checkout-link { display: inline-flex; align-items: center; gap: 7px; margin-top: auto; padding-top: 20px; color: #fff; font-size: 11px; font-weight: 900; }
  .platform-checkout-link .lu { width: 14px; height: 14px; color: #efb5f3; transition: transform .18s ease; }
  .platform-checkout-card:hover .platform-checkout-link .lu { transform: translateX(3px); }
  .platform-checkout-visual { position: relative; z-index: 1; align-self: center; min-width: 0; margin: 26px 30px 26px 0; padding: 18px; border: 1px solid rgba(255,255,255,.15); border-radius: 18px; background: rgba(255,255,255,.96); color: var(--ink); box-shadow: 0 24px 48px -28px rgba(0,0,0,.72); transform: rotate(1deg); transition: transform .2s ease; }
  .platform-checkout-card:hover .platform-checkout-visual { transform: rotate(0); }
  .platform-checkout-visual-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 8px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
  .platform-checkout-visual-top i { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: #21a565; box-shadow: 0 0 0 4px rgba(33,165,101,.11); }
  .platform-checkout-product { display: grid; grid-template-columns: 40px 1fr auto; gap: 11px; align-items: center; padding: 15px 0; }
  .platform-checkout-product-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: #f2e8f5; color: var(--violeta); }
  .platform-checkout-product-icon .lu { width: 18px; height: 18px; }
  .platform-checkout-product strong, .platform-checkout-product small { display: block; }
  .platform-checkout-product strong { color: var(--ink); font-size: 11px; }
  .platform-checkout-product small { margin-top: 3px; color: var(--muted); font-size: 8px; }
  .platform-checkout-product-price { color: var(--violeta-deep); font-family: var(--f-display); font-size: 15px; font-weight: 900; white-space: nowrap; }
  .platform-checkout-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
  .platform-checkout-method { padding: 9px 7px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink-2); font-size: 8px; font-weight: 900; text-align: center; }
  .platform-checkout-method.is-active { border-color: rgba(124,3,142,.3); background: #f7eff8; color: var(--violeta); }
  .platform-checkout-button { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; margin-top: 12px; border-radius: 9px; background: var(--violeta-deep); color: #fff; font-size: 9px; font-weight: 900; }
  .platform-checkout-button .lu { width: 12px; height: 12px; }
  .platform-suite {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 1000px;
    margin: 0 auto 22px;
  }
  .platform-suite-card {
    --suite-accent: var(--violeta);
    --suite-soft: rgba(124,3,142,.1);
    --suite-border: rgba(124,3,142,.2);
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 228px;
    padding: 25px 23px 21px;
    overflow: hidden;
    border: 1px solid var(--suite-border);
    border-radius: 17px;
    background:
      radial-gradient(240px 130px at 100% 0, var(--suite-soft), transparent 72%),
      #fff;
    color: var(--ink);
    text-decoration: none;
    box-shadow: 0 18px 40px -36px rgba(36,3,66,.42);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  }
  .platform-suite-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 3px;
    background: var(--suite-accent);
  }
  .platform-suite-card.is-live { --suite-accent: #d93f52; --suite-soft: rgba(217,63,82,.1); --suite-border: rgba(217,63,82,.2); }
  .platform-suite-card.is-meet { --suite-accent: #6842bd; --suite-soft: rgba(104,66,189,.11); --suite-border: rgba(104,66,189,.21); }
  .platform-suite-card:hover {
    transform: translateY(-3px);
    border-color: var(--suite-accent);
    box-shadow: 0 24px 48px -34px rgba(36,3,66,.34);
  }
  .platform-suite-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .platform-suite-icon {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    flex: none;
    border-radius: 12px;
    background: var(--suite-soft);
    color: var(--suite-accent);
  }
  .platform-suite-icon .lu { width: 21px; height: 21px; }
  .platform-suite-kicker {
    color: var(--suite-accent);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  .platform-suite-card h3 { margin-top: 18px; font-size: 20px; }
  .platform-suite-card > p { margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.55; }
  .platform-suite-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 18px;
    color: var(--suite-accent);
    font-size: 10px;
    font-weight: 900;
  }
  .platform-suite-link .lu { width: 13px; height: 13px; transition: transform .18s ease; }
  .platform-suite-card:hover .platform-suite-link .lu { transform: translateX(3px); }
  .platform .cards-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  @media (max-width: 1024px) {
    .platform .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (max-width: 860px) {
    .platform-checkout-card { grid-template-columns: minmax(0, 1fr); }
    .platform-checkout-visual { margin: 0 28px 28px; transform: none; }
  }
  @media (max-width: 760px) {
    .platform-suite { grid-template-columns: 1fr; }
    .platform-suite-card { min-height: 0; }
    .platform .cards-grid { grid-template-columns: minmax(0, 1fr); }
    .platform-checkout-copy { padding: 28px 24px 24px; }
    .platform-checkout-copy > p { font-size: 13px; }
    .platform-checkout-visual { margin: 0 18px 18px; padding: 15px; }
    .platform-checkout-product { grid-template-columns: 36px minmax(0, 1fr); }
    .platform-checkout-product-price { grid-column: 2; }
  }

  /* Home blog teaser */
  .hblog { padding: 96px 0; background: var(--bg-soft); }
  .hblog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 940px; margin: 0 auto; }
  .hpost { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s, border-color .2s; }
  .hpost:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--violeta); }
  .hpost .ph { height: 150px; position: relative; display: grid; place-items: center; overflow: hidden; }
  .hpost .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .hpost .ph .lu { width: 42px; height: 42px; color: rgba(255,255,255,.3); stroke-width: 1.25; }
  .hpost .ph.c1 { background: linear-gradient(135deg, #7c038e, #240342); }
  .hpost .ph.c2 { background: linear-gradient(135deg, #9600ff, #4a0a6e); }
  .hpost .ph.c3 { background: linear-gradient(135deg, #240342, #7c038e); }
  .hpost .body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
  .hcat { align-self: flex-start; font-family: var(--f-body); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--violeta); background: rgba(124,3,142,.1); padding: 5px 11px; border-radius: 999px; margin-bottom: 12px; }
  .hpost h3 { font-size: 17px; line-height: 1.3; margin-bottom: 10px; }
  .hpost p { font-size: 14px; color: var(--muted); line-height: 1.55; flex: 1; }
  .hpost .meta { font-size: 12px; color: var(--muted-2); margin-top: 14px; display: inline-flex; align-items: center; gap: 6px; }
  .hpost .meta .lu { width: 13px; height: 13px; }
  .hblog-more { text-align: center; margin-top: 40px; }
  @media (max-width: 900px) {
    .hblog-grid { grid-template-columns: 1fr; }
    .hblog { padding: 64px 0; }
    .hpost .ph { height: auto; aspect-ratio: 3 / 2; }
  }

  @media (max-width: 540px) {
    .hero { padding: 32px 0 48px; }
    .hero-copy h1 { font-size: clamp(31px, 8.5vw, 34px); line-height: 1.08; }
    .hero .eyebrow { padding: 7px 12px; font-size: 11px; }
    .hero-copy .sub { font-size: 16px; min-height: 0; }
    .hero-actions { gap: 10px; margin-top: 22px; }
    .hero-actions .btn { width: 100%; }
    .hero-note { font-size: 12px; line-height: 1.4; }
    .hero-trust { align-items: flex-start; font-size: 13px; line-height: 1.4; }
    .hero-visual { padding: 20px 4px 10px; }
  }

  /* ===== Parceiro Operacional ===== */
  .partners { padding: 96px 0; background: #fff; overflow: hidden; }
  .partners-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; max-width: 980px; margin: 0 auto; }
  .partners-text h2 { font-size: clamp(26px, 3vw, 38px); margin: 16px 0 0; text-wrap: balance; }
  .partners-text h2 .grad { background: linear-gradient(135deg, var(--violeta) 0%, var(--violeta-sat) 55%, var(--magenta) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
  .partners-text p { font-size: 17px; color: var(--ink-2); line-height: 1.6; margin: 16px 0 26px; max-width: 440px; }
  .partners-text ul { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 13px; }
  .partners-text li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--ink-2); }
  .partners-text li .lu { width: 21px; height: 21px; color: var(--violeta); flex: none; margin-top: 1px; }

  .partners-stage { position: relative; min-height: 380px; display: grid; place-items: center; }
  .partners-stage .pstage-glow { position: absolute; inset: 6% 4%; border-radius: 28px;
    background: #f1e9f4; border: 1px solid rgba(124,3,142,.12); }
  .partners-stage .pstage-grid { display: none; }
  .pcards { position: relative; width: 100%; max-width: 380px; display: grid; gap: 16px; padding: 18px; }
  .pcard { display: flex; align-items: center; gap: 13px; background: #fff; border: 1px solid var(--line);
    border-radius: 14px; padding: 14px 16px; box-shadow: 0 18px 40px -22px rgba(36,3,66,.35); }
  .pcard:nth-child(1) { margin-right: 30px; }
  .pcard:nth-child(2) { margin-left: 44px; }
  .pcard:nth-child(3) { margin-right: 14px; }
  .pcard .pc-badge { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; flex: none; }
  .pcard .pc-badge .lu { width: 19px; height: 19px; color: #fff; }
  .pcard .pc-badge.b-star { background: var(--violeta); }
  .pcard .pc-badge.b-demand { background: #f4b400; }
  .pcard .pc-badge.b-msg { background: #1faf6b; }
  .pcard .pc-body { min-width: 0; }
  .pcard .pc-body strong { display: inline; font-family: var(--f-display); font-weight: 800; color: var(--ink); font-size: 14.5px; }
  .pcard .pc-body span.t { font-size: 14.5px; color: var(--ink-2); }
  .pcard .pc-body .pc-time { display: block; margin-top: 3px; font-size: 11.5px; color: var(--muted); font-weight: 600; letter-spacing: .02em; }
  @media (max-width: 900px) {
    .partners { padding: 64px 0; }
    .partners-grid { display: flex; flex-direction: column; align-items: stretch; gap: 28px; }
    .partners-text { display: contents; }
    .partners-text .sc-lead { order: 1; }
    .partners-stage { min-height: 0; order: 2; }
    .partners-text .sc-tail { order: 3; }
  }
  @media (max-width: 540px) {
    .pcards { max-width: 100%; }
    .pcard:nth-child(1), .pcard:nth-child(2), .pcard:nth-child(3) { margin: 0; }
  }
  /* No mobile, mostra apenas 4 funcionalidades; o resto abre no botão */
  @media (max-width: 700px) {
    #platformGrid:not(.show-all) .card:nth-child(n+5) { display: none; }
  }
