/* Método Claude Quadro — sistema visual no padrão da Arcads (arcads.ai/pt, medido em 11/10/2026)
   Söhne Buch/Leicht/Kräftig + Redaction 20 itálica · cinza #ededed · preto #121212
   botão: degradê #373737→#121212, borda #464646, raio 16 · cartão escuro: #000 + degradê, borda #2a2a2a, raio 16 */

@font-face { font-family: "Sohne"; src: url(/assets/fonts/sohne-leicht.woff2) format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Sohne"; src: url(/assets/fonts/sohne-buch.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Sohne"; src: url(/assets/fonts/sohne-kraftig.woff2) format("woff2"); font-weight: 500 700; font-display: swap; }
@font-face { font-family: "Sohne Kraftig"; src: url(/assets/fonts/sohne-kraftig.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Redaction"; src: url(/assets/fonts/redaction20-italic.woff2) format("woff2"); font-weight: 400; font-display: swap; }

:root {
  /* neutros (Arcads) */
  --fundo: #ededed;
  --fundo-2: #e2e2e2;
  --fundo-3: #e7e7e7;
  --cartao: #ffffff;
  --linha: #dddddd;
  --linha-2: #cccccc;
  --tinta: #121212;
  --tinta-2: #333333;
  --cinza: #545454;
  --cinza-2: #8a8a8a;

  /* escuro */
  --noite: #121212;
  --noite-2: #191919;
  --noite-3: #222222;
  --noite-linha: #2a2a2a;
  --noite-tinta: #ffffff;
  --noite-cinza: rgba(255, 255, 255, .5);

  /* "acento" agora é o próprio preto; a rampa existe só para o app reaproveitar */
  --q-50: #f4f4f4; --q-100: #e4e4e4; --q-200: #cfcfcf; --q-300: #b5b5b5; --q-400: #8a8a8a;
  --q-500: #121212; --q-600: #121212; --q-700: #3a3a3a; --q-800: #222222; --q-900: #111111;

  --verde: #22c55e;
  --verde-fundo: rgba(34, 197, 94, .14);
  --vermelho: #ef4444;
  --azul: #3b82f6;

  /* brilho só em cinza: borda de vidro que gira enquanto a IA trabalha */
  --brilho: conic-gradient(from var(--giro, 0deg), #121212, #8a8a8a, #ffffff, #8a8a8a, #121212);

  --sans: "Sohne", -apple-system, BlinkMacSystemFont, "Inter", Arial, sans-serif;
  --forte: "Sohne Kraftig", "Sohne", Arial, sans-serif;
  --serifa: "Redaction", Georgia, "Times New Roman", serif;

  --r-1: 8px;
  --r-2: 16px;
  --r-3: 16px;
  --pilula: 1440px;

  --sombra-btn: 0 3.667px 11px rgba(16, 24, 40, .1), 0 3.667px 7.333px rgba(16, 24, 40, .06);
  --sombra-1: 0 1px 3px rgba(0, 0, 0, .1);
  --sombra-2: 0 24px 48px -24px rgba(0, 0, 0, .25);
  --sombra-hover: 0 8px 24px -16px rgba(0, 0, 0, .25);

  --mola: cubic-bezier(.34, 1.3, .64, 1);
  --suave: cubic-bezier(.22, 1, .36, 1);
  --arc: cubic-bezier(.548, .985, .504, .49);
}

@property --giro { syntax: "<angle>"; inherits: true; initial-value: 0deg; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--fundo); color: #000;
  font-family: var(--sans); font-size: 18px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img, video, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }
::selection { background: #121212; color: #fff; }

/* Redaction itálica na palavra de destaque (como "com Arcads 3.0") */
.serifa { font-family: var(--serifa); font-style: normal; font-weight: 400; padding-right: .12em; }

/* ---------- marca ---------- */
.marca { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--tinta); }
.marca-icone { width: 24px; height: 24px; flex: none; }
.marca-texto { display: flex; align-items: baseline; gap: 6px; font-family: var(--forte); font-size: 20px; letter-spacing: -.04em; white-space: nowrap; }
.marca-texto i { font-style: normal; color: var(--cinza-2); }
.marca-texto b { font-family: var(--serifa); font-weight: 400; letter-spacing: -.01em; font-size: 21px; }

/* ---------- ícones ---------- */
.ic { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ic-16 { width: 16px; height: 16px; }
.ic-24 { width: 24px; height: 24px; }

/* ---------- botões (Arcads) ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 24px; border-radius: 16px; border: 1px solid transparent; cursor: pointer; text-decoration: none;
  font-family: var(--forte); font-size: 18px; line-height: 27px; letter-spacing: -.3px; white-space: nowrap;
  box-shadow: var(--sombra-btn);
  transition: transform .16s var(--suave), box-shadow .16s var(--suave), filter .16s, opacity .16s, background-color .16s, border-color .16s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(16, 24, 40, .35); }
.btn:active { transform: translateY(0) scale(.985); }
.btn:focus-visible { outline: 2px solid #121212; outline-offset: 3px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .4; cursor: not-allowed; transform: none; }
.btn-p, .btn-q { background: linear-gradient(#373737, #121212); border-color: #464646; color: #fff; }
.btn-p:hover, .btn-q:hover { filter: brightness(1.12); }
.btn-g { background: #fff; color: #121212; border-color: transparent; }
.btn-g:hover { background: #fafafa; }
.btn-contorno { background: transparent; color: #121212; border-color: #121212; box-shadow: none; }
.btn-fantasma { padding: 6px 20px; background: transparent; color: #121212; border-color: #121212; box-shadow: none; font-size: 16px; }
.btn-fantasma:hover { background: rgba(0, 0, 0, .04); }
.btn-sm { padding: 6px 20px; font-size: 16px; }
.btn-lg { padding: 12px 24px; }
.btn .ic { width: 18px; height: 18px; }
.btn .google { width: 18px; height: 18px; }
.btn.carregando { color: transparent !important; pointer-events: none; }
.btn.carregando::after { content: ""; position: absolute; inset: 0; margin: auto; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .3); border-top-color: #fff; animation: gira .7s linear infinite; }
.btn-g.carregando::after { border-color: rgba(0, 0, 0, .15); border-top-color: #121212; }
.onda { position: absolute; border-radius: 50%; pointer-events: none; transform: scale(0); background: currentColor; opacity: .14; animation: onda .55s var(--suave) forwards; }
.btn-p .onda, .btn-q .onda { background: #fff; }
@keyframes onda { to { transform: scale(2.6); opacity: 0; } }

/* ---------- selos e chips ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--pilula); background: #e2e2e2; font-size: 16px; line-height: 24px; color: #121212; white-space: nowrap; }
.chip .ic { width: 16px; height: 16px; }
.chip-q { background: #e2e2e2; color: #121212; }
.chip-ok, .ativo-selo { background: var(--verde-fundo); color: #16a34a; }
.ativo-selo { display: inline-flex; align-items: center; gap: 4px; padding: 0 6px; height: 16px; border-radius: 4px; font-size: 9px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; }
.ativo-selo::after { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--verde); }
.ponto-vivo { width: 7px; height: 7px; border-radius: 50%; background: var(--verde); box-shadow: 0 0 0 0 rgba(34, 197, 94, .5); animation: pulsa 2.2s infinite; flex: none; }
@keyframes pulsa { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .45); } 70% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }

/* ---------- campos ---------- */
.campo { display: grid; gap: 6px; }
.campo label { font-size: 14px; font-weight: 500; color: var(--tinta); }
.entrada {
  width: 100%; height: 50px; padding: 0 16px; border-radius: 12px;
  background: #fff; border: 1px solid var(--linha); outline: none; font-size: 16px; color: #121212;
  transition: border-color .16s, box-shadow .16s;
}
textarea.entrada { height: auto; min-height: 140px; padding: 14px 16px; resize: vertical; line-height: 1.55; }
.entrada::placeholder { color: #9a9a9a; }
.entrada:hover { border-color: var(--linha-2); }
.entrada:focus { border-color: #121212; box-shadow: 0 0 0 3px rgba(18, 18, 18, .08); }
.campo.erro .entrada { border-color: var(--vermelho); box-shadow: 0 0 0 3px rgba(239, 68, 68, .12); }
.campo .ajuda { font-size: 13px; color: var(--cinza); }
.campo.erro .ajuda { color: #dc2626; }

/* ---------- cartões ---------- */
.cartao { background: #fff; border: 1px solid var(--linha); border-radius: 16px; }
.cartao-escuro { background: #000 linear-gradient(rgba(0, 0, 0, 0), rgba(255, 255, 255, .1) 98%); border: 1px solid #2a2a2a; border-radius: 16px; color: #fff; }
.levanta { transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.levanta:hover { transform: translateY(-2px); box-shadow: var(--sombra-hover); }

/* vidro (botões e painéis por cima dos vídeos, como nos cartões da Arcads) */
.vidro {
  background: linear-gradient(180deg, rgba(255, 255, 255, .32), rgba(255, 255, 255, .12));
  border: 1px solid rgba(255, 255, 255, .38); border-radius: 8px; color: #fff;
  backdrop-filter: blur(10px) saturate(1.2); -webkit-backdrop-filter: blur(10px) saturate(1.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 8px 24px -12px rgba(0, 0, 0, .6);
}

/* mídia com esqueleto até carregar */
.midia { position: relative; overflow: hidden; background: #1c1c1c; }
.midia::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .08) 50%, transparent 80%) #1c1c1c; background-size: 200% 100%; animation: brilho-esqueleto 1.4s linear infinite; }
.midia.pronta::before { opacity: 0; animation: none; transition: opacity .3s; }
.midia > video, .midia > img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
@keyframes brilho-esqueleto { from { background-position: 150% 0; } to { background-position: -50% 0; } }

.surge { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--suave), transform .8s var(--suave); }
.surge.visivel { opacity: 1; transform: none; }

@keyframes gira { to { transform: rotate(360deg); } }
@keyframes girar-brilho { to { --giro: 360deg; } }

[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .surge { opacity: 1; transform: none; }
}
