/* residencia-fiscal-para-estrangeiros — arte distribuída (rodada 1, 18/11/2026), gerada por .playwright-mcp/servico-arte.py (seed 408) e ajustada no fim.
   Vocabulário em workflow/shared/arte-distribuida.css. Régua V69–V73: arte dos dois lados em toda faixa de conteúdo; capa vinho
   (capa-vinho-servico.css) com arte .arte--vinho; aglomerados disco vinho + anel dourado de tamanhos e centros diferentes; faixas
   altas com vinho dos dois lados (V71); lados alternados (V70); sem disco vinho repetido na quina entre faixas vizinhas (V73);
   nos artigos, só fora da borda do conteúdo e nada subindo da base (V72). Altura em % da faixa, para acompanhar todas as larguras.
   Cada página usa uma semente, um modelo de capa e receitas de faixa próprios (nada de copiar a composição da página anterior).
   Formas por left/top (sem transform). CL = max(var(--civil-gutter), 50% - 640px) é a borda do conteúdo.
   Faixas (altura máxima entre 1100 e 1920 px):
          f1 (375) capa vinho (duas-luas, altura 65%, escala 0.94)
     f2 (570) média: disco+anel E; anel D · ponto D
     f3 (1066) alta (receita 5): vinho+anel alto D, vinho+anel embaixo E
     f4 (799) alta (receita 6): vinho+anel alto E, vinho+anel embaixo D
     f5 (1031) alta (receita 3): vinho+anel alto D, vinho+anel embaixo E · ponto E
     f6 (938) alta (receita 3): vinho+anel alto E, vinho+anel embaixo D
     f7 (701) média: disco+anel D; duplo E · ponto E
     f8 (1104) alta (receita 1): vinho+anel alto E, vinho+anel embaixo D
     f9 (257) pequena: anel D, vinho E
     f10 (493) média: disco+anel E; disco D
     f11 (1014) alta (receita 6): vinho+anel alto D, vinho+anel embaixo E · ponto D
     f12 (849) alta (receita 2): vinho+anel alto E, vinho+anel embaixo D
   Peças em cada faixa (ordem da marcação): 1 disco · 2 disco · 3 anel · 4 anel · 5 duplo · 6 ponto. */

body[data-page="residencia-fiscal-para-estrangeiros"] { --gold: var(--civil-gold); --wine: var(--civil-wine); }

.arte-host .arte > i { display: none; }

@media (min-width: 1100px) {
  .arte-f1 .arte > i:nth-child(1) { --s: min(240px, 22.1vw); display: block; width: var(--s); height: var(--s); left: calc(100% - 190px); top: calc(49% - var(--s) * 0.5); opacity: .07; }
  .arte-f1 .arte > i:nth-child(2) { --s: min(160px, 14.6vw); display: block; width: var(--s); height: var(--s); left: calc(100% - 275px); top: calc(89% - var(--s) * 0.5); opacity: .07; }
  .arte-f1 .arte > i:nth-child(3) { --s: min(300px, 27.3vw); display: block; width: var(--s); height: var(--s); left: calc(100% - var(--s) * 0.84); top: calc(67% - var(--s) * 0.5); opacity: .294; }
  .arte-f1 .arte > i:nth-child(4) { display: block; width: 260px; height: 260px; left: calc(max(var(--civil-gutter), 50% - 640px) - 316px); top: 86%; opacity: .252; }
  .arte-f2 .arte > i:nth-child(2) { display: block; width: 300px; height: 300px; left: calc(max(var(--civil-gutter), 50% - 640px) - 344px); top: 6%; opacity: .092; }
  .arte-f2 .arte > i:nth-child(3) { display: block; width: 180px; height: 180px; left: calc(max(var(--civil-gutter), 50% - 640px) - 244px); top: 49%; opacity: .267; }
  .arte-f2 .arte > i:nth-child(4) { display: block; width: 380px; height: 380px; left: calc(100% - max(var(--civil-gutter), 50% - 640px) + 57px); top: 33%; opacity: .223; }
  .arte-f2 .arte > i:nth-child(6) { display: block; width: 24px; height: 24px; left: calc(100% - max(var(--civil-gutter), 50% - 640px) + 51px); top: 21%; opacity: .42; }
  .arte-f3 .arte > i:nth-child(1) { display: block; width: 270px; height: 270px; left: calc(100% - max(var(--civil-gutter), 50% - 640px) + 49px); top: 4%; opacity: .097; }
  .arte-f3 .arte > i:nth-child(4) { display: block; width: 420px; height: 420px; left: calc(100% - max(var(--civil-gutter), 50% - 640px) + 60px); top: 13%; opacity: .237; }
  .arte-f3 .arte > i:nth-child(2) { display: block; width: 260px; height: 260px; left: calc(max(var(--civil-gutter), 50% - 640px) - 308px); top: 48%; opacity: .078; }
  .arte-f3 .arte > i:nth-child(6) { display: block; width: 28px; height: 28px; left: calc(max(var(--civil-gutter), 50% - 640px) - 68px); top: 42%; opacity: .35; }
  .arte-f4 .arte > i:nth-child(1) { display: block; width: 250px; height: 250px; left: calc(max(var(--civil-gutter), 50% - 640px) - 296px); top: 16%; opacity: .093; }
  .arte-f4 .arte > i:nth-child(2) { display: block; width: 310px; height: 310px; left: calc(100% - max(var(--civil-gutter), 50% - 640px) + 50px); top: 49%; opacity: .081; }
  .arte-f4 .arte > i:nth-child(5) { display: block; width: 210px; height: 210px; left: calc(100% - max(var(--civil-gutter), 50% - 640px) + 70px); top: 74%; opacity: .289; }
  .arte-f5 .arte > i:nth-child(5) { display: block; width: 220px; height: 220px; left: calc(100% - max(var(--civil-gutter), 50% - 640px) + 66px); top: 5%; opacity: .288; }
  .arte-f5 .arte > i:nth-child(2) { display: block; width: 260px; height: 260px; left: calc(100% - max(var(--civil-gutter), 50% - 640px) + 47px); top: 40%; opacity: .081; }
  .arte-f5 .arte > i:nth-child(1) { display: block; width: 240px; height: 240px; left: calc(max(var(--civil-gutter), 50% - 640px) - 291px); top: 52%; opacity: .098; }
  .arte-f5 .arte > i:nth-child(4) { display: block; width: 350px; height: 350px; left: calc(max(var(--civil-gutter), 50% - 640px) - 407px); top: 55%; opacity: .244; }
  .arte-f5 .arte > i:nth-child(6) { display: block; width: 32px; height: 32px; left: calc(max(var(--civil-gutter), 50% - 640px) - 77px); top: 43%; opacity: .42; }
  .arte-f6 .arte > i:nth-child(5) { display: block; width: 240px; height: 240px; left: calc(max(var(--civil-gutter), 50% - 640px) - 308px); top: 18%; opacity: .272; }
  .arte-f6 .arte > i:nth-child(2) { display: block; width: 300px; height: 300px; left: calc(max(var(--civil-gutter), 50% - 640px) - 349px); top: 30%; opacity: .083; }
  .arte-f6 .arte > i:nth-child(1) { display: block; width: 240px; height: 240px; left: calc(100% - max(var(--civil-gutter), 50% - 640px) + 47px); top: 52%; opacity: .09; }
  .arte-f6 .arte > i:nth-child(4) { display: block; width: 300px; height: 300px; left: calc(100% - max(var(--civil-gutter), 50% - 640px) + 64px); top: 52%; opacity: .24; }
  .arte-f7 .arte > i:nth-child(2) { display: block; width: 290px; height: 290px; left: calc(100% - max(var(--civil-gutter), 50% - 640px) + 50px); top: 32%; opacity: .092; }
  .arte-f7 .arte > i:nth-child(4) { display: block; width: 430px; height: 430px; left: calc(100% - max(var(--civil-gutter), 50% - 640px) + 61px); top: 18%; opacity: .251; }
  .arte-f7 .arte > i:nth-child(5) { display: block; width: 220px; height: 220px; left: calc(max(var(--civil-gutter), 50% - 640px) - 280px); top: 30%; opacity: .285; }
  .arte-f7 .arte > i:nth-child(6) { display: block; width: 28px; height: 28px; left: calc(max(var(--civil-gutter), 50% - 640px) - 134px); top: 75%; opacity: .42; }
  .arte-f8 .arte > i:nth-child(1) { display: block; width: 310px; height: 310px; left: calc(max(var(--civil-gutter), 50% - 640px) - 354px); top: 11%; opacity: .097; }
  .arte-f8 .arte > i:nth-child(3) { display: block; width: 290px; height: 290px; left: calc(max(var(--civil-gutter), 50% - 640px) - 351px); top: 31%; opacity: .278; }
  .arte-f8 .arte > i:nth-child(2) { display: block; width: 260px; height: 260px; left: calc(100% - max(var(--civil-gutter), 50% - 640px) + 44px); top: 47%; opacity: .077; }
  .arte-f8 .arte > i:nth-child(4) { display: block; width: 420px; height: 420px; left: calc(100% - max(var(--civil-gutter), 50% - 640px) + 56px); top: 56%; opacity: .245; }
  .arte-f9 .arte > i:nth-child(3) { display: block; width: 290px; height: 290px; left: calc(100% - max(var(--civil-gutter), 50% - 640px) + 54px); top: 32%; opacity: .26; }
  .arte-f9 .arte > i:nth-child(2) { display: block; width: 230px; height: 230px; left: calc(max(var(--civil-gutter), 50% - 640px) - 278px); top: 30%; opacity: .078; }
  .arte-f10 .arte > i:nth-child(2) { display: block; width: 300px; height: 300px; left: calc(max(var(--civil-gutter), 50% - 640px) - 348px); top: 29%; opacity: .084; }
  .arte-f10 .arte > i:nth-child(3) { display: block; width: 320px; height: 320px; left: calc(max(var(--civil-gutter), 50% - 640px) - 387px); top: 16%; opacity: .268; }
  .arte-f10 .arte > i:nth-child(1) { display: block; width: 190px; height: 190px; left: calc(100% - max(var(--civil-gutter), 50% - 640px) + 52px); top: 38%; opacity: .093; }
  .arte-f11 .arte > i:nth-child(1) { display: block; width: 280px; height: 280px; left: calc(100% - max(var(--civil-gutter), 50% - 640px) + 51px); top: 9%; opacity: .077; }
  .arte-f11 .arte > i:nth-child(2) { display: block; width: 290px; height: 290px; left: calc(max(var(--civil-gutter), 50% - 640px) - 341px); top: 43%; opacity: .082; }
  .arte-f11 .arte > i:nth-child(5) { display: block; width: 220px; height: 220px; left: calc(max(var(--civil-gutter), 50% - 640px) - 288px); top: 68%; opacity: .283; }
  .arte-f11 .arte > i:nth-child(6) { display: block; width: 32px; height: 32px; left: calc(100% - max(var(--civil-gutter), 50% - 640px) + 94px); top: 64%; opacity: .42; }
  .arte-f12 .arte > i:nth-child(1) { display: block; width: 240px; height: 240px; left: calc(max(var(--civil-gutter), 50% - 640px) - 290px); top: 5%; opacity: .081; }
  .arte-f12 .arte > i:nth-child(5) { display: block; width: 210px; height: 210px; left: calc(max(var(--civil-gutter), 50% - 640px) - 273px); top: 27%; opacity: .276; }
  .arte-f12 .arte > i:nth-child(2) { display: block; width: 280px; height: 280px; left: calc(100% - max(var(--civil-gutter), 50% - 640px) + 50px); top: 43%; opacity: .073; }
  .arte-f12 .arte > i:nth-child(3) { display: block; width: 320px; height: 320px; left: calc(100% - max(var(--civil-gutter), 50% - 640px) + 66px); top: 54%; opacity: .27; }
}

/* Abaixo de 1100: no topo direito de cada faixa (disco+anel / anel / disco / duplo+ponto); faixa pequena: anel subindo da base à esquerda. */
@media (max-width: 1099px) {
  .arte-f1 .arte > i:nth-child(5) { display: block; width: 170px; height: 170px; left: calc(100% - 100px); top: -150px; opacity: .294; }
  .arte-f2 .arte > i:nth-child(1) { display: block; width: 180px; height: 180px; left: calc(100% - 110px); top: -160px; opacity: .084; }
  .arte-f2 .arte > i:nth-child(3) { display: block; width: 130px; height: 130px; left: calc(100% - 192px); top: -116px; opacity: .28; }
  .arte-f3 .arte > i:nth-child(3) { display: block; width: 220px; height: 220px; left: calc(100% - 150px); top: -200px; opacity: .266; }
  .arte-f4 .arte > i:nth-child(1) { display: block; width: 210px; height: 210px; left: calc(100% - 140px); top: -190px; opacity: .084; }
  .arte-f5 .arte > i:nth-child(5) { display: block; width: 170px; height: 170px; left: calc(100% - 110px); top: -140px; opacity: .28; }
  .arte-f6 .arte > i:nth-child(1) { display: block; width: 200px; height: 200px; left: calc(100% - 130px); top: -180px; opacity: .084; }
  .arte-f6 .arte > i:nth-child(3) { display: block; width: 130px; height: 130px; left: calc(100% - 212px); top: -116px; opacity: .28; }
  .arte-f7 .arte > i:nth-child(3) { display: block; width: 210px; height: 210px; left: calc(100% - 140px); top: -190px; opacity: .266; }
  .arte-f8 .arte > i:nth-child(1) { display: block; width: 210px; height: 210px; left: calc(100% - 140px); top: -190px; opacity: .084; }
  .arte-f9 .arte > i:nth-child(3) { display: block; width: 170px; height: 170px; left: -73px; top: auto; bottom: -152px; opacity: .266; }
  .arte-f10 .arte > i:nth-child(1) { display: block; width: 190px; height: 190px; left: calc(100% - 120px); top: -170px; opacity: .084; }
  .arte-f10 .arte > i:nth-child(3) { display: block; width: 130px; height: 130px; left: calc(100% - 202px); top: -116px; opacity: .28; }
  .arte-f11 .arte > i:nth-child(3) { display: block; width: 220px; height: 220px; left: calc(100% - 150px); top: -200px; opacity: .266; }
  .arte-f12 .arte > i:nth-child(1) { display: block; width: 210px; height: 210px; left: calc(100% - 140px); top: -190px; opacity: .084; }
}
/* Capa vinho, ≤766: o título vai quase até a borda; só um arco pequeno na quina de cima. */
@media (max-width: 766px) {
  .arte-f1 .arte > i:nth-child(5) { width: 100px; height: 100px; left: calc(100% - 50px); top: -88px; }
}
/* ≤619: faixa logo abaixo de um carrossel — o botão "Ver todos os assuntos" fica a poucos px da divisa: sem arco no topo. */
@media (max-width: 619px) {
  .arte-f12 .arte > i:nth-child(n) { display: none; }
}

/* ---------- Ajustes à mão (verificador de folga e de ritmo) ---------- */
/* o arco 5 da faixa 1 encosta em texto/botão entre 500 e 520 px (verificador de folga). */
@media (min-width: 500px) and (max-width: 520px) { .arte-f1 .arte > i:nth-child(5) { display: none; } }
/* o arco 5 da faixa 5 encosta em texto/botão entre 375 e 430 px (verificador de folga). */
@media (min-width: 375px) and (max-width: 430px) { .arte-f5 .arte > i:nth-child(5) { display: none; } }
/* o arco 5 da faixa 5 encosta em texto/botão entre 719 e 720 px (verificador de folga). */
@media (min-width: 719px) and (max-width: 720px) { .arte-f5 .arte > i:nth-child(5) { display: none; } }
