  /* === 1. Variaveis visuais: cores reutilizadas em toda a pagina ========= */
  :root {
    --navy: #070c20;
    --navy-card: #0d1330;
    --navy-card-2: #101838;
    --blue: #4f8ef7;
    --teal: #00d4aa;
    --white: #ffffff;
    --muted: #8a93b8;
    --line: rgba(255, 255, 255, 0.08);
  }

  /* === 2. Base e fundo global ============================================ */
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
 
  html {
    scroll-behavior: smooth;
  }

  body {
    background-color: var(--navy);
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    color: var(--white);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
  }

  a {
    color: inherit;
  }

  /* Canvas fixo usado pelo script para o ceu estrelado decorativo. */
  #stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
  }

  /* === 3. Estrutura reutilizavel e navegacao ============================= */
  .wrap {
    position: relative;
    z-index: 1;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
  }

  nav {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(7, 12, 32, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
  }

  nav .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  /* === 4. Hero: primeira dobra e atalhos dos softwares ================== */
  header.hero {
    padding: 36px 0 40px;
    text-align: center;
  }

  .eyebrow {
    display: inline-block;
    font-size: 15px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--teal);
    font-weight: 700;
    border: 1px solid rgba(0, 212, 170, 0.35);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
  }

  h1 {
    font-weight: 900;
    font-size: clamp(32px, 6vw, 58px);
    line-height: 1.08;
    letter-spacing: -0.02em;
  }

  h1 span {
    background: linear-gradient(90deg, var(--blue), var(--teal));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  .hero p.lead {
    max-width: 560px;
    margin: 22px auto 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
  }

  .hero-badges {
    max-width: 650px;
    margin: 16px auto 0;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  }

  .hero-badges::-webkit-scrollbar { display: none; }

  .badge {
    flex: 0 0 86px;
    width: 86px;
    height: 86px;
    scroll-snap-align: start;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 13px;
    color: #fff;
    box-shadow: 0 8px 22px -8px rgba(0, 0, 0, 0.6);
    text-decoration: none;
  }

  .badge img {
    display: block;
    width: 76px;
    height: 76px;
    /* As miniaturas usam as mesmas artes exibidas nos cards. */
    object-fit: cover;
    border-radius: 12px;
  }

  .badge:hover {
    transform: translateY(-2px);
  }

  .hero-badges:focus-visible {
    outline: 2px solid var(--teal);
    outline-offset: 6px;
    border-radius: 20px;
  }

  @media (max-width: 560px) {
    .hero-badges { max-width: 290px; }
  }

  @media (prefers-reduced-motion: reduce) {
    .hero-badges { scroll-behavior: auto; }
  }

  /* Contorno exclusivo do CorelDRAW, em um verde mais fechado. */
  .badge[aria-label="Ver CorelDRAW no Mercado Livre"] {
    background: #1d6a2c !important;
    border: 2px solid #0e431b;
    box-shadow: inset 0 0 0 1px rgba(126, 218, 72, .24), 0 8px 22px -8px rgba(0, 0, 0, .6);
  }

  /* === 5. Secao de design: cabecalho e cartoes de ferramentas ============ */
  section {
    padding: 64px 0;
  }

  /* Espaço entre os ícones do topo e o início da seção de Design Gráfico. */
  #design {
    padding-top: 18px;
  }

  .section-head {
    margin-bottom: 38px;
    max-width: 600px;
  }

  .section-head .tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 10px;
    display: block;
  }

  .section-head h2 {
    font-size: clamp(24px, 4vw, 34px);
    font-weight: 900;
    letter-spacing: -0.01em;
  }

  .section-head p {
    color: var(--muted);
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.6;
  }

  /* Orientações exibidas dentro de cada card, junto aos controles de compra. */
  .purchase-guide {
    margin: 0;
    color: #cbd8f4;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
  }

  .purchase-guide span {
    display: inline-grid;
    place-items: center;
    width: 20px;
    height: 20px;
    margin-right: 3px;
    border-radius: 50%;
    background: rgba(0, 212, 170, .16);
    color: var(--teal);
    font-size: 16px;
    line-height: 1;
  }

  .purchase-guide strong { color: #fff; }
  .purchase-guide--market { margin-top: -9px; }
  .purchase-guide--sic { margin: 0; }

  .tool {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    background: var(--navy-card);
    border: 1px solid var(--line);
    border-radius: 20px;
    margin-bottom: 22px;
    overflow: hidden;
  }

  @media(min-width:760px) {
    .tool {
      grid-template-columns: 280px 1fr;
    }
  }

  .tool-left {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-bottom: 1px solid var(--line);
  }

  @media(min-width:760px) {
    .tool-left {
      border-bottom: none;
      border-right: 1px solid var(--line);
    }
  }

  .tool-left h3 {
    font-size: 22px;
    font-weight: 800;
  }

  .tool-left .role {
    font-size: 12px;
    color: var(--muted);
    font-weight: 600;
    letter-spacing: .04em;
  }

  .installation-support {
    display: inline-flex;
    align-items: center;
    width: 100%;
    margin-top: 2px;
    padding: 10px 12px;
    border: 1px solid rgba(0, 212, 170, .28);
    border-radius: 8px;
    background: rgba(0, 212, 170, .08);
    color: #b9f7e9;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.35;
  }

  /* O aviso agora fica na área de exemplos; o item antigo à esquerda é ocultado. */
  .tool-left .installation-support {
    display: none;
  }

  /* Mantém a chamada no rodapé da área de informações, longe dos chips. */
  .chips + .installation-support {
    display: none;
  }

  .tool-right > .installation-support {
    display: inline-flex;
    margin-top: auto;
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.45;
  }

  .tool-left p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
  }

  .tool-right {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 22px;
  }

  .tool-image {
    min-height: 220px;
    border-top: 1px solid color-mix(in srgb, var(--image-accent, var(--blue)) 55%, transparent);
    background: radial-gradient(circle at center, color-mix(in srgb, var(--image-accent, var(--blue)) 20%, #08112a), #08112a 72%);
  }

  .tool-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  /* Ao passar o mouse, a arte lateral revela uma segunda imagem como uma carta. */
  .tool-image,
  .sic-image {
    position: relative;
    perspective: 1000px;
    cursor: zoom-in;
  }

  .tool-image::after,
  .sic-image::after {
    content: '';
    position: absolute;
    inset: 0;
    /* O verso não corta a arte: assim textos e detalhes continuam legíveis. */
    background: center / contain no-repeat var(--back-image);
    backface-visibility: hidden;
    transform: rotateY(180deg);
    transition: transform .7s cubic-bezier(.2, .7, .2, 1);
  }

  .tool-image img,
  .sic-image img {
    backface-visibility: hidden;
    transform: rotateY(0);
    transition: transform .7s cubic-bezier(.2, .7, .2, 1);
  }

  @media (hover: hover) {
    .tool-image:hover img,
    .sic-image:hover img {
      transform: rotateY(-180deg);
    }

    .tool-image:hover::after,
    .sic-image:hover::after {
      transform: rotateY(0);
    }

    /* O verso do SIC é quadrado, por isso a moldura muda junto com ele. */
    .sic-image:hover,
    .sic-image:focus {
      aspect-ratio: 1;
    }
  }

  .tool:has(img[src="ARQUIVOS/IMAGEM%201.png"]) .tool-image { --back-image: url('ARQUIVOS/CorelDRAW.png'); }
  .tool:has(img[src="ARQUIVOS/IMAGEM%202.png"]) .tool-image { --back-image: url('ARQUIVOS/Photoshop.png'); }
  .tool:has(img[src="ARQUIVOS/IMAGEM%203.png"]) .tool-image { --back-image: url('ARQUIVOS/Illustrator.png'); }
  .tool:has(img[src="ARQUIVOS/IMAGEM%204.png"]) .tool-image { --back-image: url('ARQUIVOS/Premiere_Pro.png'); }
  .tool:has(img[src="ARQUIVOS/IMAGEM%205.png"]) .tool-image { --back-image: url('ARQUIVOS/After Effects.png'); }
  .tool:has(img[src="ARQUIVOS/IMAGEM%206.png"]) .tool-image { --back-image: url('ARQUIVOS/Adobe Indesign.png'); }
  .tool:has(img[src="ARQUIVOS/IMAGEM%207.png"]) .tool-image { --back-image: url('ARQUIVOS/Vegas_Pro.png'); }
  .tool:has(img[src="ARQUIVOS/IMAGEM%208.png"]) .tool-image { --back-image: url('ARQUIVOS/Camtasia_Studio.png'); }
  .tool:has(img[src="ARQUIVOS/IMAGEM%209.png"]) .tool-image { --back-image: url('ARQUIVOS/Filmora.png'); }
  .tool:has(img[src="ARQUIVOS/IMAGEM%2010.png"]) .tool-image { --back-image: url('ARQUIVOS/Office.png'); }
  .sic-image { --back-image: url('ARQUIVOS/SIC.png'); }

  .sic-image::after {
    background-size: contain;
  }

  @media (prefers-reduced-motion: reduce) {
    .tool-image img,
    .sic-image img,
    .tool-image::after,
    .sic-image::after {
      transition: none;
    }
  }

  @media(min-width:760px) and (max-width:959px) {
    .tool--with-image .tool-image {
      grid-column: 1 / -1;
    }
  }

  @media(min-width:960px) {
    .tool--with-image {
      /* A coluna da arte fica maior, sem apertar excessivamente as informações. */
      grid-template-columns: 240px minmax(280px, 1fr) clamp(330px, 38vw, 420px);
    }

    /* Usa a altura da arte para distribuir melhor as informações laterais. */
    .tool--with-image .tool-left,
    .tool--with-image .tool-right {
      justify-content: space-between;
    }

    .tool--with-image .tool-left h3 {
      font-size: 24px;
    }

    .tool--with-image .tool-left .role {
      font-size: 13px;
    }

    .tool--with-image .tool-left p,
    .tool--with-image .cap-list li {
      font-size: 15px;
      line-height: 1.7;
    }

    .tool--with-image .tool-right > .installation-support {
      margin-top: 0;
    }

    .tool--with-image .tool-image {
      min-height: 380px;
      border-top: none;
      border-left: 1px solid color-mix(in srgb, var(--image-accent, var(--blue)) 55%, transparent);
    }

  }

  @media(min-width:1200px) {
    /* Ocupa as laterais com texto, mantendo a arte no tamanho atual. */
    #design .wrap {
      max-width: 1360px;
    }

    .tool--with-image {
      grid-template-columns: minmax(280px, 330px) minmax(420px, 1fr) 420px;
    }

    .tool--with-image .cap-list {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }

  .cap-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 12px;
  }

  .cap-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  @media(min-width:520px) {
    .cap-list {
      grid-template-columns: 1fr 1fr;
    }
  }

  .cap-list li {
    font-size: 14px;
    color: #dfe4f5;
    padding-left: 18px;
    position: relative;
  }

  .cap-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 7px;
    height: 7px;
    border-radius: 2px;
    background: var(--teal);
  }

  .chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .chip {
    font-size: 12px;
    font-weight: 600;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--navy-card-2);
    border: 1px solid var(--line);
    color: #c7cdea;
  }

  /* === 6. Secao SIC: apresentacao do sistema e chamada para acao ========= */
  .sic {
    background: linear-gradient(155deg, var(--navy-card) 0%, #0a1230 100%);
    border: 1px solid rgba(79, 142, 247, 0.25);
    border-radius: 24px;
    padding: 40px;
    display: grid;
    gap: 32px;
    position: relative;
    overflow: hidden;
  }

  .sic::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79, 142, 247, 0.25), transparent 70%);
  }

  @media(min-width:800px) {
    .sic {
      grid-template-columns: 1.15fr 1fr;
    }
  }

  .sic-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 16px;
  }

  .sic h2 {
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 900;
    margin-bottom: 14px;
  }

  .sic .desc {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 22px;
  }

  .sic .desc strong {
    color: #fff;
  }

  .sic-features {
    list-style: none;
    display: grid;
    gap: 11px;
  }

  .sic-features li {
    font-size: 14px;
    color: #dfe4f5;
    padding-left: 22px;
    position: relative;
  }

  .sic-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--teal);
    font-weight: 900;
    font-size: 13px;
  }

  .sic-panel {
    background: var(--navy-card-2);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-self: start;
  }

  .sic-image {
    /* A imagem exibida ao virar é quadrada; a moldura acompanha essa proporção. */
    aspect-ratio: 1009 / 1559;
    height: auto;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--image-accent, var(--blue)) 55%, transparent);
    border-radius: 10px;
    background: radial-gradient(circle at center, color-mix(in srgb, var(--image-accent, var(--blue)) 20%, #08112a), #08112a 72%);
    transition: aspect-ratio .7s cubic-bezier(.2, .7, .2, 1);
  }

  .sic-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }

  .sic-panel .since {
    font-size: 12px;
    color: var(--muted);
    font-weight: 600;
  }

  .sic-panel .price-note {
    font-size: 11px;
    color: var(--muted);
    line-height: 1.5;
  }

  .cta {
    display: inline-block;
    text-align: center;
    background: linear-gradient(90deg, var(--blue), var(--teal));
    color: var(--navy);
    font-weight: 800;
    font-size: 14px;
    padding: 13px 20px;
    border-radius: 12px;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
  }

  .cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px -10px rgba(79, 142, 247, 0.6);
  }

  /* === 7. Rodape ========================================================== */
  footer {
    padding: 60px 0 40px;
    border-top: 1px solid var(--line);
    text-align: center;
  }

  footer h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
  }

  footer p {
    color: var(--muted);
    font-size: 14px;
    max-width: 420px;
    margin: 0 auto 22px;
    line-height: 1.6;
  }

  footer .fine {
    font-size: 11px;
    color: #565e80;
  }

  /* Visualização ampliada aberta ao clicar no verso da carta. */
  .image-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(3, 7, 20, .88);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
  }

  .image-modal.is-open {
    opacity: 1;
    visibility: visible;
  }

  .image-modal__content {
    position: relative;
    width: min(100%, 1100px);
    height: min(82vh, 760px);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 18px;
    background: #08112a center / contain no-repeat;
    box-shadow: 0 28px 70px rgba(0, 0, 0, .55);
    transform: scale(.94);
    transition: transform .25s ease;
  }

  .image-modal.is-open .image-modal__content {
    transform: scale(1);
  }

  .image-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    background: rgba(7, 12, 32, .85);
    color: #fff;
    cursor: pointer;
    font-size: 26px;
    line-height: 1;
  }

  body.image-modal-open {
    overflow: hidden;
  }

  /* === Loja: conta, carrinho e checkout ================================= */
  .store-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; }
  .account-button, .purchases-button, .cart-button, .admin-link, .buy-button, .checkout-button, .icon-button {
    border: 0; cursor: pointer; font: inherit; font-weight: 700;
  }
  .account-button, .purchases-button, .cart-button, .admin-link { padding: 9px 12px; border-radius: 9px; color: #fff; background: var(--navy-card-2); border: 1px solid var(--line); font-size: 12px; }
  .admin-link { color: #b9f7e9; text-decoration: none; }
  .purchase-access-link { text-decoration: none; }
  .account-button.is-signed-in { color: #b9f7e9; }
  .cart-button span { display: inline-grid; place-items: center; min-width: 19px; height: 19px; margin-left: 4px; border-radius: 50%; color: var(--navy); background: var(--teal); }
  .buy-button, .checkout-button { width: 100%; padding: 12px 15px; border-radius: 10px; color: var(--navy); background: linear-gradient(90deg, var(--blue), var(--teal)); }
  .buy-button { margin-top: 0; }
  .buy-button:hover, .checkout-button:hover:not(:disabled) { filter: brightness(1.08); transform: translateY(-1px); }
  .cart-dialog { width: min(92vw, 520px); padding: 24px; color: #fff; background: var(--navy-card); border: 1px solid rgba(255,255,255,.15); border-radius: 18px; box-shadow: 0 24px 70px rgba(0,0,0,.55); }
  .cart-dialog::backdrop { background: rgba(3,7,20,.78); backdrop-filter: blur(5px); }
  .cart-dialog__header, .cart-total, .cart-item, .quantity { display: flex; align-items: center; }
  .cart-dialog__header, .cart-total { justify-content: space-between; }
  .cart-dialog__header { margin-bottom: 18px; }
  .cart-dialog h2 { font-size: 22px; }
  .icon-button { width: 34px; height: 34px; border-radius: 50%; color: #fff; background: transparent; border: 1px solid var(--line); font-size: 24px; }
  .cart-items { display: grid; gap: 10px; max-height: 42vh; overflow: auto; }
  .cart-item { justify-content: space-between; padding: 12px; border: 1px solid var(--line); border-radius: 10px; }
  .cart-item strong, .cart-item small { display: block; }
  .cart-item small, .cart-empty, .checkout-note { color: var(--muted); font-size: 12px; margin-top: 4px; }
  .quantity { gap: 10px; }
  .quantity button { width: 26px; height: 26px; border: 1px solid var(--line); border-radius: 6px; color: #fff; background: var(--navy-card-2); cursor: pointer; font-size: 18px; }
  .cart-total { margin: 18px 0 8px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 17px; }
  .checkout-note { margin: 0 0 14px; line-height: 1.5; }
  .checkout-button:disabled { cursor: not-allowed; opacity: .5; }
  .purchases-list { display: grid; gap: 12px; }
  .purchase { padding: 14px; border: 1px solid var(--line); border-radius: 10px; }
  .purchase > strong, .purchase > small { display: block; }
  .purchase > small { margin: 4px 0 10px; color: var(--muted); font-size: 12px; }
  .purchase__item { padding-top: 10px; margin-top: 10px; border-top: 1px solid var(--line); font-size: 13px; }
  .purchase__item p { margin-top: 5px; color: #b9f7e9; line-height: 1.45; }
  .payment-return { position: relative; z-index: 1; max-width: 1032px; margin: 22px auto -20px; padding: 12px 18px; border: 1px solid rgba(0, 212, 170, .35); border-radius: 10px; color: #b9f7e9; background: rgba(0, 212, 170, .09); font-size: 14px; }
  .payment-return a { color: #fff; font-weight: 800; }
  @media (max-width: 520px) { .account-button { font-size: 0; width: 34px; height: 34px; padding: 0; } .account-button::after { content: 'G'; font-size: 14px; } }

/* Comparativo antes e depois, integrado ao tema da loja. */
#ba-showcase { --text:#fff; --muted:#aab5d3; --faint:#7e8aaa; --line:rgba(255,255,255,.12); --blue:#4f8ef7; --blue2:#78a8ff; --teal:#4f8ef7; --danger:#ff6b81; color:var(--white); font-family:Inter,sans-serif; }
#ba-showcase .ba-intro { max-width:680px; margin:0 0 28px; }
#ba-showcase .ba-intro h2 { font-size:clamp(26px,4vw,38px); font-weight:900; letter-spacing:-.03em; margin:10px 0 12px; }
#ba-showcase .ba-intro p { color:var(--muted); line-height:1.65; }
#ba-showcase .ba{margin-bottom:28px}
#ba-showcase .tabs{display:inline-flex;gap:6px;padding:5px;border-radius:999px;border:1px solid var(--line);background:rgba(255,255,255,.03);margin-bottom:16px}
#ba-showcase .tab{border:0;background:transparent;padding:10px 20px;border-radius:999px;font-size:14px;font-weight:700;color:var(--muted);cursor:pointer;transition:.18s}
#ba-showcase .tab:hover{color:var(--text)}
#ba-showcase .tab[aria-selected="true"]{background:var(--blue);color:#fff;box-shadow:0 6px 20px rgba(47,107,255,.4)}
#ba-showcase .stage{--p:50%;position:relative;height:560px;border-radius:26px;overflow:hidden;border:1px solid var(--line);
  box-shadow:0 40px 120px rgba(0,0,0,.5);cursor:ew-resize;user-select:none;-webkit-user-select:none;touch-action:pan-y}
#ba-showcase .layer{position:absolute;inset:0;padding:60px 16px 16px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}
#ba-showcase .layer.after{background:
  linear-gradient(rgba(107,149,255,.07) 1px,transparent 1px) 0 0/28px 28px,
  linear-gradient(90deg,rgba(107,149,255,.07) 1px,transparent 1px) 0 0/28px 28px,
  linear-gradient(160deg,#0e1d45,#071029)}
#ba-showcase .layer.before{background:
  radial-gradient(rgba(255,255,255,.09) 1px,transparent 1.2px) 0 0/18px 18px,#1b1d23;
  clip-path:inset(0 calc(100% - var(--p)) 0 0)}
#ba-showcase .tag{position:absolute;top:18px;font-size:14px;font-weight:800;padding:8px 14px;border-radius:999px;z-index:2}
#ba-showcase .before .tag{left:18px;background:rgba(255,107,129,.16);color:#ff9aa9;border:1px solid rgba(255,107,129,.4)}
#ba-showcase .after .tag{right:18px;background:rgba(25,227,200,.14);color:var(--teal);border:1px solid rgba(25,227,200,.4)}
#ba-showcase /* ---------- DESIGN GRÁFICO: panfleto ---------- */
.flyer{width:min(360px,84%);aspect-ratio:4/5;position:relative;overflow:hidden;border-radius:6px;
  box-shadow:0 24px 70px rgba(0,0,0,.55);container-type:inline-size}
#ba-showcase .flyer.raw{background:#f2f0e6;color:#111;font-family:"Times New Roman",Times,serif;padding:5cqw}
#ba-showcase .r-promo{display:inline-block;font-size:11cqw;font-weight:700;color:#e11;background:#ff0;padding:0 2cqw;transform:rotate(-2deg)}
#ba-showcase .r-name{font-size:8cqw;margin:3cqw 0 1cqw;text-decoration:underline;text-align:right}
#ba-showcase .r-line{font-size:5.4cqw;line-height:1.15;margin:1.6cqw 0}
#ba-showcase .r-line.c{text-align:center}
#ba-showcase .r-line.r{text-align:right}
#ba-showcase .r-photo{margin-top:3cqw;height:30cqw;border:.6cqw solid #444;display:grid;place-items:center;font-size:5cqw;color:#555;
  background:linear-gradient(to top right,transparent calc(50% - .3cqw),#666 50%,transparent calc(50% + .3cqw)),
             linear-gradient(to bottom right,transparent calc(50% - .3cqw),#666 50%,transparent calc(50% + .3cqw))}
#ba-showcase .r-photo span{background:#f2f0e6;padding:0 2cqw}
#ba-showcase .flyer.pro{background:radial-gradient(120% 80% at 80% 0%,#2c2219,#120e0b 60%);color:#f6efe4;padding:8cqw;font-family:Inter,system-ui,sans-serif}
#ba-showcase .p-top{display:flex;align-items:center;gap:2.6cqw;font-size:3.6cqw;font-weight:700;color:#d9a441}
#ba-showcase .p-top i{width:8cqw;height:8cqw;border-radius:50%;background:#d9a441;color:#1a130c;display:grid;place-items:center;font-style:normal;font-weight:900;font-size:4cqw}
#ba-showcase .p-head{margin-top:9cqw;font-size:13cqw;font-weight:900;line-height:.92;letter-spacing:-.04em}
#ba-showcase .p-price{margin-top:5cqw;display:flex;align-items:baseline;gap:1cqw;color:#d9a441;font-weight:900;letter-spacing:-.05em}
#ba-showcase .p-price small{font-size:8cqw}
#ba-showcase .p-price b{font-size:24cqw;line-height:.9}
#ba-showcase .p-info{margin-top:5cqw;font-size:4.2cqw;line-height:1.5;color:#cfc4b2}
#ba-showcase .p-pole{position:absolute;right:8cqw;top:8cqw;bottom:8cqw;width:11cqw;border-radius:6cqw;
  background:repeating-linear-gradient(-35deg,#d9a441 0 4cqw,#f6efe4 4cqw 8cqw,#3a2a1a 8cqw 12cqw);opacity:.95}
#ba-showcase .p-cta{position:absolute;left:8cqw;bottom:8cqw;background:#d9a441;color:#1a130c;font-weight:800;font-size:4.2cqw;padding:3cqw 5cqw;border-radius:99px}
#ba-showcase /* ---------- EDIÇÃO DE VÍDEO: frame + linha do tempo ---------- */
.vframe{width:min(720px,92%);aspect-ratio:16/9;position:relative;overflow:hidden;border-radius:10px;
  box-shadow:0 24px 70px rgba(0,0,0,.55);container-type:inline-size;background:#000}
#ba-showcase .vframe svg{position:absolute;inset:0;width:100%;height:100%}
#ba-showcase .vframe.raw svg{transform:rotate(-3deg) scale(1.12)}
#ba-showcase .rec{position:absolute;left:3cqw;top:3cqw;font:600 2.4cqw/1 ui-monospace,Menlo,Consolas,monospace;color:#e8e8e8;background:rgba(0,0,0,.45);padding:1cqw 1.6cqw;border-radius:4px}
#ba-showcase .rec::before{content:"";display:inline-block;width:1.6cqw;height:1.6cqw;border-radius:50%;background:#e33;margin-right:1cqw}
#ba-showcase .vframe.pro::before,#ba-showcase .vframe.pro::after{content:"";position:absolute;left:0;right:0;height:9%;background:#000;z-index:2}
#ba-showcase .vframe.pro::before{top:0}
#ba-showcase .vframe.pro::after{bottom:0}
#ba-showcase .lower{position:absolute;left:4cqw;top:13%;z-index:3;padding:1.4cqw 2.6cqw;border-left:.9cqw solid var(--teal);background:rgba(5,11,28,.7);border-radius:0 6px 6px 0}
#ba-showcase .lower b{display:block;font-size:3.2cqw;font-weight:800;color:#fff}
#ba-showcase .lower small{font-size:2.3cqw;color:#a8c9ff}
#ba-showcase .cap{position:absolute;left:0;right:0;bottom:13%;z-index:3;text-align:center;font-size:4.6cqw;font-weight:900;color:#fff;letter-spacing:-.01em;text-shadow:0 2px 10px rgba(0,0,0,.7)}
#ba-showcase .cap mark{background:#4f8ef7;color:#fff;padding:0 1.2cqw;border-radius:1cqw}
#ba-showcase .vmark{position:absolute;right:3cqw;bottom:11%;z-index:3;font-size:2.4cqw;font-weight:800;color:rgba(255,255,255,.75)}
#ba-showcase .tl{width:min(720px,92%);height:76px;display:flex;flex-direction:column;gap:5px;padding:8px 10px;border-radius:10px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1)}
#ba-showcase .row{flex:1;min-height:0;display:flex;gap:2px;border-radius:4px;overflow:hidden}
#ba-showcase .clip{display:flex;align-items:center;padding:0 6px;font-size:9px;font-weight:700;color:rgba(255,255,255,.85);white-space:nowrap;overflow:hidden}
#ba-showcase .raw .clip.long{flex:1;background:#5b5f68;color:#d9dbe0}
#ba-showcase .c1{flex:22;background:#2f6bff}
#ba-showcase .c2{flex:14;background:#4f86ff}
#ba-showcase .c3{flex:30;background:#2557d6}
#ba-showcase .c4{flex:18;background:#5b95ff}
#ba-showcase .c5{flex:16;background:#3a72ff}
#ba-showcase .t1{background:#19c9b0;color:#04101f}
#ba-showcase .t1,#ba-showcase .t2{font-size:9px}
#ba-showcase .t2{background:#ffd23f;color:#111}
#ba-showcase .wave{align-items:center;gap:1px;color:var(--teal)}
#ba-showcase .wave i{flex:1;background:currentColor;border-radius:1px;min-width:1px}
#ba-showcase .wave.noisy{color:#8b8f9c}
#ba-showcase /* ---------- Barra arrastável ---------- */
.divider{position:absolute;top:0;bottom:0;left:var(--p);width:0;z-index:5}
#ba-showcase .divider::before{content:"";position:absolute;top:0;bottom:0;left:-1.5px;width:3px;background:linear-gradient(180deg,var(--teal),var(--blue2));box-shadow:0 0 22px rgba(25,227,200,.7)}
#ba-showcase .knob{position:absolute;top:50%;left:0;transform:translate(-50%,-50%);width:52px;height:52px;border-radius:50%;display:grid;place-items:center;
  background:#fff;color:#0a1430;box-shadow:0 8px 30px rgba(0,0,0,.5),0 0 0 6px rgba(47,107,255,.35);cursor:grab;border:0;padding:0}
#ba-showcase .stage.drag .knob{cursor:grabbing}
#ba-showcase .knob svg{width:26px;height:26px}
#ba-showcase .caption{margin:16px 2px 0;min-height:24px;font-size:15px;color:var(--muted);text-align:center;transition:color .2s}
#ba-showcase .caption.bad{color:#ff9aa9}
#ba-showcase .caption.good{color:var(--teal)}
#ba-showcase .fine{margin:6px 0 0;text-align:center;font-size:11px;color:var(--faint)}
#ba-showcase .compare{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:22px}
#ba-showcase .col{padding:20px 22px;border-radius:20px;border:1px solid var(--line)}
#ba-showcase .col h4{margin:0 0 12px;font-size:15px;font-weight:800}
#ba-showcase .col ul{margin:0;padding:0;list-style:none;display:grid;gap:9px;font-size:14px;line-height:1.5;color:var(--muted)}
#ba-showcase .col li{padding-left:22px;position:relative}
#ba-showcase .col li::before{content:"";position:absolute;left:0;top:.5em;width:9px;height:9px;border-radius:50%}
#ba-showcase .col.no h4{color:#ff9aa9}
#ba-showcase .col.no li::before{background:var(--danger)}
#ba-showcase .col.yes{background:rgba(47,107,255,.1);border-color:rgba(107,149,255,.3)}
#ba-showcase .col.yes h4{color:var(--teal)}
#ba-showcase .col.yes li::before{background:var(--teal)}
#ba-showcase .cta{display:flex;justify-content:center;margin-top:22px}
#ba-showcase .btn{min-height:54px;padding:0 28px;border-radius:14px;font-weight:800;font-size:16px;cursor:pointer;border:0;background:var(--blue);color:#fff;
  box-shadow:0 10px 30px rgba(47,107,255,.4);transition:transform .18s,background .18s}
#ba-showcase .btn:hover{transform:translateY(-2px);background:#4479ff}


#ba-showcase .stage { box-shadow:0 24px 70px rgba(0,0,0,.3); }
#ba-showcase .flyer.pro { background:radial-gradient(120% 80% at 80% 0%,#18366d,#0b1733 65%); }
#ba-showcase .p-top,#ba-showcase .p-price { color:var(--teal); }
#ba-showcase .p-top i,#ba-showcase .p-cta { background:var(--teal); color:#071525; }
#ba-showcase .p-pole { background:repeating-linear-gradient(-35deg,var(--teal) 0 4cqw,#dbe9ff 4cqw 8cqw,#18366d 8cqw 12cqw); }
#ba-showcase .c1 { background:#4f8ef7; } #ba-showcase .c2 { background:#78a8ff; } #ba-showcase .c3 { background:#2557d6; } #ba-showcase .c4 { background:#5b95ff; } #ba-showcase .c5 { background:#3a72ff; }
#ba-showcase .btn { background:linear-gradient(90deg,var(--blue),var(--blue2)); color:#071525; box-shadow:0 10px 30px rgba(79,142,247,.24); }
#ba-showcase .btn:hover { background:linear-gradient(90deg,#70a4ff,#a8c9ff); }

#ba-showcase .ba-intro > .tag { position:static; display:inline-block; padding:6px 12px; border:1px solid rgba(79,142,247,.35); border-radius:999px; color:var(--blue2); font-size:11px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; background:rgba(79,142,247,.1); }
#ba-showcase .t1 { background:#4f8ef7; color:#071525; }
#ba-showcase .divider::before { box-shadow:0 0 22px rgba(79,142,247,.55); }
#ba-showcase .t2 { background:#78a8ff; color:#071525; }

#ba-showcase .ba { padding:0; }

@media (max-width:760px) { #ba-showcase .stage { height:470px; } #ba-showcase .compare { grid-template-columns:1fr; } #ba-showcase .tab { padding:10px 14px; } }
@media (max-width:480px) { #ba-showcase .stage { height:420px; } #ba-showcase .layer { padding-left:10px; padding-right:10px; } #ba-showcase .knob { width:46px; height:46px; } #ba-showcase .col { padding:18px; } }

/* Ajustes para telas pequenas: navegação, cards e controles de compra. */
@media (max-width: 700px) {
  .wrap { padding-left: 16px; padding-right: 16px; }

  nav .wrap {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  nav .wrap > a { min-height: 40px; }

  .store-actions {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .store-actions > * {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: normal;
  }

  .account-button { font-size: 12px; width: auto; height: auto; padding: 9px 10px; }
  .account-button::after { content: none; }

  header.hero { padding: 28px 0 24px; }
  .eyebrow { max-width: 100%; font-size: 11px; line-height: 1.5; letter-spacing: .08em; }
  h1 { font-size: clamp(30px, 9vw, 44px); }
  .hero p.lead { margin-top: 14px; font-size: 15px; }
  .hero-badges { max-width: 100%; }

  section { padding: 42px 0; }
  #design { padding-top: 12px; }
  .section-head { margin-bottom: 24px; }

  .tool { border-radius: 16px; margin-bottom: 16px; }
  .tool-left, .tool-right { padding: 20px 18px; }
  .tool-left { gap: 12px; }
  .tool-left h3 { font-size: 20px; }
  .tool-right { gap: 16px; }
  .tool-image { min-height: 0; aspect-ratio: 4 / 3; }
  .cap-list { grid-template-columns: 1fr; }
  .tool--with-image .tool-image { grid-column: auto; }

  .sic { padding: 22px 18px; gap: 22px; border-radius: 18px; }
  .sic-panel { padding: 18px; }
  .sic-image { max-height: 68vh; }

  footer { padding: 42px 0 30px; }
  .cart-dialog { width: calc(100vw - 24px); max-width: 520px; max-height: 88vh; padding: 18px; }
  .cart-item { gap: 12px; }
  .cart-item > div:first-child { min-width: 0; overflow-wrap: anywhere; }
  .payment-return { margin: 12px 16px -10px; font-size: 13px; overflow-wrap: anywhere; }

  #ba-showcase .ba-intro { margin-bottom: 20px; }
  #ba-showcase .tabs { display: flex; width: 100%; }
  #ba-showcase .tab { flex: 1; padding: 10px 8px; }
  #ba-showcase .stage { height: min(112vw, 470px); min-height: 350px; border-radius: 18px; }
  #ba-showcase .compare { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .wrap { padding-left: 12px; padding-right: 12px; }
  .store-actions { gap: 6px; }
  .account-button, .purchases-button, .cart-button, .admin-link { padding: 8px 6px; font-size: 11px; }
  .tool-left, .tool-right { padding: 16px 14px; }
  .sic { padding: 18px 14px; }
  #ba-showcase .stage { min-height: 320px; }
}
