/* Tenet · css/tenet-solos.css · Solos, o 3º produto (estúdio de música com IA, por convite).
   SOLOS no aço só pela classe .texto-aco; o som em três cores quentes que só esta folha cita
   (--solos-*); sem azul. Toda página da Tenet carrega, depois de tenet-ads.css. Sem script. */
@layer tenet {
  .tom-tenet {
    --solos-1: light-dark(#d9531f, #ff7a4d);
    --solos-2: light-dark(#e07d12, #ffb35c);
    --solos-3: light-dark(#e59a1f, #ffd99a);
    --solos-ambiente:
      radial-gradient(34rem 24rem at 100% 0%, light-dark(rgb(217 83 31 / .07), rgb(255 122 77 / .11)), transparent 70%),
      radial-gradient(28rem 22rem at 0% 100%, light-dark(rgb(229 154 31 / .06), rgb(255 179 92 / .07)), transparent 70%);
  }
  @supports not (color: light-dark(#000, #fff)) {
    .tom-tenet { --solos-1: #d9531f; --solos-2: #e07d12; --solos-3: #e59a1f; --solos-ambiente: none; }
    @media (prefers-color-scheme: dark) { .tom-tenet { --solos-1: #ff7a4d; --solos-2: #ffb35c; --solos-3: #ffd99a; } }
  }

  /* o selo: o ícone do app (grafite e a onda acesa), igual nos dois temas, como a Lente do Otto */
  .selo-solos {
    flex: none; display: grid; place-items: center; inline-size: 44px; block-size: 44px; border-radius: 11px;
    background: linear-gradient(180deg, #20242b, #08090b);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / .16), inset 0 0 0 1px rgb(255 255 255 / .08);
  }
  .selo-solos svg { inline-size: 56%; block-size: auto; filter: drop-shadow(0 0 4px rgb(255 122 77 / .55)); }
  .produto-cabeca .selo-solos { inline-size: 56px; block-size: 56px; border-radius: 14px; filter: drop-shadow(0 6px 10px var(--sombra-cor)); }

  /* "Invite only": pílula de vidro com fio fino e um ponto no degradê do som (o texto fica em
     inglês nas duas línguas, como o BY TENET) */
  .convite {
    display: inline-flex; align-items: center; gap: .55em; inline-size: max-content;
    padding: .34em .8em .34em .62em; border-radius: 99px;
    font: 500 .6875rem/1.2 var(--mono); font-stretch: var(--mono-l); letter-spacing: .1em; text-transform: uppercase;
    color: var(--tinta-2); white-space: nowrap;
    background: light-dark(rgb(255 255 255 / .6), rgb(255 255 255 / .05));
    box-shadow: inset 0 0 0 1px var(--linha-forte), inset 0 1px 0 rgb(255 255 255 / .14);
    -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  }
  .convite::before {
    content: ""; inline-size: 6px; aspect-ratio: 1; border-radius: 50%;
    background: linear-gradient(135deg, var(--solos-1), var(--solos-3));
    box-shadow: 0 0 0 3px light-dark(rgb(217 83 31 / .12), rgb(255 122 77 / .16)), 0 0 8px var(--solos-1);
  }
  .tom-tenet .menu-produto-nome .convite { margin-inline-start: 8px; font-size: .625rem; color: var(--tinta-2); vertical-align: 2px; }
  .solos-topo { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }

  .produto.tom-solos { --ambiente: var(--solos-ambiente); }
  .solos-estudio { display: grid; gap: 18px; margin: 0; padding: clamp(20px, 2.4vw, 32px); justify-self: stretch; }
  .solos-faixa { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 16px; }
  .solos-play {
    display: grid; place-items: center; inline-size: 48px; block-size: 48px; border-radius: 50%;
    background: linear-gradient(135deg, var(--solos-1), var(--solos-2) 60%, var(--solos-3));
    box-shadow: 0 6px 18px light-dark(rgb(217 83 31 / .25), rgb(255 122 77 / .3));
  }
  .solos-play::before { content: ""; margin-left: 4px; border-block: 8px solid transparent; border-left: 13px solid #1a0f08; }
  .solos-faixa-info { display: grid; gap: 2px; min-width: 0; }
  .solos-faixa-info b { color: var(--tinta); font-weight: 620; }
  .solos-faixa-info span { font-family: var(--mono); font-size: .75rem; letter-spacing: .02em; color: var(--tinta-3); }

  /* a onda: 25 barras; cada regra pinta a barra e o espelho, então é palíndromo por construção */
  .solos-onda { display: flex; align-items: center; justify-content: space-between; block-size: 96px; gap: 3px; }
  .solos-onda i {
    flex: 1 1 0; max-inline-size: 8px; block-size: var(--h, 50%); border-radius: 99px; background: var(--c, var(--solos-2));
    animation: solos-respira 2.4s ease-in-out infinite; animation-delay: var(--d, 0s);
  }
  .solos-onda i:is(:nth-child(1), :nth-last-child(1)) { --h: 12%; --d: -1.08s; --c: var(--solos-1); }
  .solos-onda i:is(:nth-child(2), :nth-last-child(2)) { --h: 18%; --d: -.99s; --c: var(--solos-1); }
  .solos-onda i:is(:nth-child(3), :nth-last-child(3)) { --h: 26%; --d: -.9s; --c: var(--solos-1); }
  .solos-onda i:is(:nth-child(4), :nth-last-child(4)) { --h: 40%; --d: -.81s; --c: var(--solos-1); }
  .solos-onda i:is(:nth-child(5), :nth-last-child(5)) { --h: 58%; --d: -.72s; }
  .solos-onda i:is(:nth-child(6), :nth-last-child(6)) { --h: 66%; --d: -.63s; }
  .solos-onda i:is(:nth-child(7), :nth-last-child(7)) { --h: 52%; --d: -.54s; }
  .solos-onda i:is(:nth-child(8), :nth-last-child(8)) { --h: 44%; --d: -.45s; }
  .solos-onda i:is(:nth-child(9), :nth-last-child(9)) { --h: 70%; --d: -.36s; }
  .solos-onda i:is(:nth-child(10), :nth-last-child(10)) { --h: 88%; --d: -.27s; --c: var(--solos-3); }
  .solos-onda i:is(:nth-child(11), :nth-last-child(11)) { --h: 62%; --d: -.18s; --c: var(--solos-3); }
  .solos-onda i:is(:nth-child(12), :nth-last-child(12)) { --h: 46%; --d: -.09s; --c: var(--solos-3); }
  .solos-onda i:nth-child(13) { --h: 100%; --c: var(--solos-3); }
  @keyframes solos-respira { 50% { transform: scaleY(.7); } }
  @media (prefers-reduced-motion: reduce) { .solos-onda i { animation: none; } }

  .solos-passos { display: grid; gap: 12px; margin: 0; padding: 16px 0 0; list-style: none; border-top: 1px solid var(--linha); }
  .solos-passos li { display: grid; grid-template-columns: 12px minmax(0, 1fr); gap: 4px 14px; align-items: baseline; }
  .solos-passos li + li { padding-top: 12px; border-top: 1px solid var(--linha); }
  .solos-passos li::before { content: ""; grid-row: span 2; inline-size: 10px; aspect-ratio: 1; border-radius: 50%; background: var(--solos-1); translate: 0 -1px; }
  .solos-passos li:nth-child(2)::before { background: var(--solos-2); }
  .solos-passos li:nth-child(3)::before { background: var(--solos-3); }
  .solos-passos b { color: var(--tinta); font-weight: 620; font-size: 1.0625rem; }
  .solos-passos span { color: var(--tinta-2); line-height: 1.45; }
  @media (max-width: 960px) {
    .solos-estudio { order: 1; }
    .solos-onda { block-size: 64px; }
    .solos-passos { display: none; }
  }

  /* a página /solos (.tom-tenet .legal-cabeca h1 pesa mais: o seletor repete o caminho) */
  .tom-tenet .legal-cabeca h1.solos-heroi-marca { display: flex; align-items: center; gap: clamp(14px, 2vw, 24px); margin: 0; font-size: clamp(2.5rem, 1.6rem + 4vw, 5rem); line-height: 1; letter-spacing: .02em; font-weight: 720; font-stretch: 125%; }
  .solos-heroi-marca .selo-solos { inline-size: 1.1em; block-size: 1.1em; border-radius: .25em; }
  .solos-heroi-marca .por { font-size: .32em; font-weight: 560; letter-spacing: 0; font-stretch: 112%; align-self: flex-end; padding-bottom: .3em; color: var(--tinta-3); }
  .legal-cabeca .convite { margin-block: 4px -4px; }
  .tom-tenet :is(.frase, .titulo-secao, .contato h2) em.solos-som, .solos-som { color: var(--solos-1); }
  @supports (background-clip: text) or (-webkit-background-clip: text) {
    .tom-tenet :is(.frase, .titulo-secao, .contato h2) em.solos-som, .solos-som { background: linear-gradient(90deg, var(--solos-1), var(--solos-2) 60%, var(--solos-3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
  }
  .solos-servicos > li:nth-child(1) h3::before { background: var(--solos-1); }
  .solos-servicos > li:nth-child(2) h3::before { background: var(--solos-2); }
  .solos-servicos > li:nth-child(3) h3::before { background: var(--solos-3); }
  .solos-servicos > li:nth-child(4) h3::before { background: var(--tinta-3); }
  .solos-generos { display: flex; flex-wrap: wrap; gap: 8px; margin: clamp(24px, 3vw, 40px) 0 0; padding: 0; list-style: none; }
  .solos-heroi-onda { margin-top: clamp(8px, 2vw, 24px); max-inline-size: 560px; }

  @media (prefers-contrast: more) {
    .produto.tom-solos { --ambiente: none; }
    .convite { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--sup-1); color: var(--tinta); }
  }
  @media (forced-colors: active) {
    .solos-onda i, .solos-passos li::before, .solos-play, .convite::before { forced-color-adjust: none; background: CanvasText; }
    .selo-solos, .convite { background: Canvas; border: 1px solid CanvasText; }
    .solos-som { color: CanvasText; background: none; }
  }
}
