/* ============================================================
   VITRAL — a base visual única do i9 LAW
   ------------------------------------------------------------
   O site de venda e o sistema usam ESTA folha. Foi a correção
   pedida pelo fundador em 11/11/2026: o primeiro mock do
   sistema parecia "chapado" ao lado do site — duas coisas
   diferentes. Agora o material é um só.

   O que faz o Vitral ser Vitral (e que o primeiro mock perdeu):
     1. COR ATRÁS DO VIDRO — o fundo é vivo e precisa aparecer;
        o vidro existe para refratá-lo, não para tapá-lo
     2. TRÊS CAMADAS — moldura de vidro, miolo translúcido,
        peça branca. Nunca cartão solto sobre cinza
     3. A ASSINATURA — o degradê violeta → verde-água do
        logotipo, em pouca coisa e sempre na mais importante
     4. O ANEL — o círculo do logotipo, como halo e como marca
     5. MOLA — o que se mexe passa do ponto e volta
   ============================================================ */

:root {
  --fundo: #f1eff8;
  --tinta: #17131f;
  --tinta-2: #554e6b;
  --apagado: #8a8399;

  --violeta: #8360c3;
  --violeta-f: #6a47ad;
  --violeta-c: #efeafa;
  --teal: #2fa893;          /* puxado para o verde-água do logotipo real */
  --teal-f: #1c7c6c;
  --teal-c: #e0f5f0;
  --ambar-c: #fbecc9;
  --ambar-f: #8a5a00;
  --rosa-c: #fbe3e7;
  --rosa-f: #a3283d;

  --assinatura: linear-gradient(100deg, #8060c2, #5f86c0 52%, #30bb93);

  --vidro-fino: rgba(255,255,255,.42);
  --vidro: rgba(255,255,255,.62);
  --vidro-denso: rgba(255,255,255,.82);
  --miolo: rgba(255,255,255,.56);
  --fio: rgba(23,19,31,.08);

  --especular: inset 0 1px 0 rgba(255,255,255,.95), inset 0 0 0 1px rgba(255,255,255,.38), inset 0 -1px 0 rgba(23,19,31,.03);
  --sombra-1: 0 1px 2px rgba(40,24,90,.05), 0 6px 18px rgba(60,40,110,.06);
  --sombra-2: 0 1px 2px rgba(40,24,90,.05), 0 12px 30px rgba(60,40,110,.09), 0 34px 70px rgba(60,40,110,.08);
  --sombra-3: 0 2px 4px rgba(40,24,90,.06), 0 18px 44px rgba(60,40,110,.14), 0 50px 110px rgba(60,40,110,.16);

  --r-ext: 26px;
  --r-int: 18px;     /* = externo − 8 de respiro: cantos concêntricos */
  --r-min: 12px;
  --mola: cubic-bezier(.32,.72,0,1);
  --mola-2: cubic-bezier(.34,1.42,.5,1);

  --txt: "Inter", system-ui, sans-serif;
  --disp: "Inter Tight", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--tinta); background: var(--fundo);
  font: 400 15.5px/1.55 var(--txt); letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--disp); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2.5px solid var(--violeta); outline-offset: 3px; border-radius: 10px; }
::selection { background: #dccff4; }
[hidden] { display: none !important; }
.so-leitor { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- 1. a cor atrás do vidro ---------- */

.fundo-vivo { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.fundo-vivo i { position: absolute; display: block; border-radius: 50%; filter: blur(84px); will-change: transform; }
.fundo-vivo .b1 { width: 52vmax; height: 52vmax; top: -20vmax; right: -12vmax; background: #8a63cf; opacity: .5; animation: flutuar 26s ease-in-out infinite; }
.fundo-vivo .b2 { width: 40vmax; height: 40vmax; bottom: -16vmax; left: -10vmax; background: #2fb79a; opacity: .4; animation: flutuar 32s ease-in-out infinite reverse; }
.fundo-vivo .b3 { width: 30vmax; height: 30vmax; top: 38%; left: 34%; background: #b895ee; opacity: .26; animation: flutuar 21s ease-in-out infinite; }
.fundo-vivo .b4 { width: 24vmax; height: 24vmax; top: 6%; left: 8%; background: #6f9be0; opacity: .2; animation: flutuar 28s ease-in-out infinite reverse; }
@keyframes flutuar { 0%, 100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-4vmax, 3vmax) scale(1.09); } }

/* ---------- 2. o material ---------- */

.vidro {
  background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.5));
  -webkit-backdrop-filter: blur(30px) saturate(185%); backdrop-filter: blur(30px) saturate(185%);
  border-radius: var(--r-ext);
  box-shadow: var(--especular), var(--sombra-2);
}
.vidro-fino {
  background: var(--vidro-fino);
  -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%);
  border-radius: var(--r-ext);
  box-shadow: var(--especular), var(--sombra-1);
}
.miolo { background: var(--miolo); border-radius: var(--r-int); }

/* ---------- 3. a assinatura ---------- */

.grad { background: var(--assinatura); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.fio-assinatura { height: 2px; border: 0; border-radius: 2px; background: var(--assinatura); }

/* ---------- 4. o anel ---------- */

.anel {
  display: inline-block; border-radius: 50%; aspect-ratio: 1;
  background: conic-gradient(from 210deg, #8060c2, #30bb93, #c7b3ee, #8060c2);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 2px), #000 calc(100% - 1.4px));
          mask: radial-gradient(closest-side, transparent calc(100% - 2px), #000 calc(100% - 1.4px));
}

/* ---------- botões e etiquetas ---------- */

.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; cursor: pointer; white-space: nowrap;
  padding: 11px 19px; border-radius: 999px;
  background: linear-gradient(180deg, #9170cf, #7a55bd); color: #fff; font-weight: 600; font-size: .92rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.38), inset 0 -1px 0 rgba(40,20,90,.18), 0 6px 16px rgba(106,71,173,.3);
  transition: transform .4s var(--mola-2), box-shadow .3s, filter .3s;
}
.botao:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: inset 0 1px 0 rgba(255,255,255,.38), 0 12px 26px rgba(106,71,173,.36); }
.botao:active { transform: translateY(0) scale(.97); }
.botao[disabled] { background: #cbc5da; box-shadow: none; cursor: not-allowed; transform: none; filter: none; }
.botao.fantasma { background: rgba(255,255,255,.72); color: var(--tinta); box-shadow: var(--especular), 0 2px 8px rgba(60,40,110,.08); }
.botao.fantasma:hover { background: rgba(255,255,255,.95); box-shadow: var(--especular), 0 8px 20px rgba(60,40,110,.14); }
.botao.teal { background: linear-gradient(180deg, #3cbba5, #269583); box-shadow: inset 0 1px 0 rgba(255,255,255,.38), 0 6px 16px rgba(38,149,131,.3); }
.botao.assinatura { background: var(--assinatura); box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 8px 22px rgba(90,110,190,.34); }
.botao.claro { background: #fff; color: var(--violeta-f); box-shadow: 0 10px 26px rgba(23,19,31,.18); }
.botao.grande { padding: 15px 26px; font-size: 1rem; }
.botao.pequeno { padding: 7px 13px; font-size: .82rem; }
.acoes { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.link { font-weight: 600; color: var(--violeta-f); border-bottom: 1.5px solid transparent; padding-bottom: 2px; transition: border-color .2s; }
.link:hover { border-bottom-color: currentColor; }

.chip { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: .76rem; font-weight: 600; white-space: nowrap; background: rgba(23,19,31,.065); color: var(--tinta-2); }
.chip.violeta { background: var(--violeta-c); color: var(--violeta-f); }
.chip.teal { background: var(--teal-c); color: var(--teal-f); }
.chip.ambar { background: var(--ambar-c); color: var(--ambar-f); }
.chip.rosa { background: var(--rosa-c); color: var(--rosa-f); }
.chip.grad-chip { background: var(--assinatura); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
