/* Fluqxo -- site institucional. Mesmos tokens de marca do Shakk. */
:root {
  --ink: #101923;
  /* fixo -- nunca muda com o tema, ao contrário de --ink (que se
     inverte no escuro). Usado onde o painel precisa ficar sempre
     escuro, tipo o lado de marca da tela de login. */
  --brand-ink: #101923;
  --fluqxo-teal: #1e6f68;
  --signal: #4cb8b2;
  --sand: #d9c6a5;
  --ivory: #f7f4ed;
  --slate: #52606d;
  --border: #d8dee3;
  --surface: #ffffff;
  --danger: #b3432b;

  --font-ui: "Inter", system-ui, -apple-system, sans-serif;
  --font-brand: "Manrope", var(--font-ui);
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-ui);
  background: var(--ivory);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
a { color: inherit; }
img, svg { max-width: 100%; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 1.5rem; }

/* ---------- topo ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.5rem; background: rgba(247, 244, 237, 0.9); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header-start { display: flex; align-items: center; gap: 0.9rem; }
.brand { display: flex; align-items: baseline; gap: 0.45rem; text-decoration: none; }
.brand-name { font-family: var(--font-brand); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.01em; color: var(--ink); }
.brand-sub { font-size: 0.72rem; color: var(--slate); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.site-nav { display: flex; align-items: center; gap: 1.6rem; }
/* :not(.btn) é a correção -- sem isso, ".site-nav a" (classe+elemento,
   especificidade 0,1,1) vence ".btn-primary"/".btn-secondary" (uma
   classe, 0,1,0) e qualquer link com classe .btn dentro do menu (ex.:
   "Experimentar Shakk" no drawer mobile) perdia a cor de texto do
   próprio botão pra cor cinza de link de navegação -- por isso o botão
   verde ficava com texto ilegível. Corrigido na origem, não no botão. */
.site-nav a:not(.btn) { text-decoration: none; font-size: 0.92rem; font-weight: 600; color: var(--slate); white-space: nowrap; }
.site-nav a:not(.btn):hover { color: var(--ink); }
.site-nav a.is-current:not(.btn) { color: var(--fluqxo-teal); }
.site-nav-toggle { display: none; background: none; border: none; color: var(--ink); cursor: pointer; padding: 0.3rem; }

.site-nav-dropdown { position: relative; }
.site-nav-dropdown-btn {
  display: flex; align-items: center; gap: 0.3rem; background: none; border: none; cursor: pointer;
  font-family: var(--font-ui); font-size: 0.92rem; font-weight: 600; color: var(--slate); padding: 0;
}
.site-nav-dropdown-btn:hover, .site-nav-dropdown-btn.is-current { color: var(--ink); }
.site-nav-dropdown-btn.is-current { color: var(--fluqxo-teal); }
.site-nav-dropdown-menu {
  position: absolute; top: calc(100% + 0.9rem); left: 50%; transform: translateX(-50%);
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  box-shadow: 0 12px 28px rgba(16, 25, 35, 0.15); padding: 0.4rem; width: 220px;
  opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}
.site-nav-dropdown:hover .site-nav-dropdown-menu,
.site-nav-dropdown:focus-within .site-nav-dropdown-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.site-nav-dropdown-menu a {
  display: block; padding: 0.55rem 0.7rem; border-radius: 8px; text-decoration: none;
}
.site-nav-dropdown-menu a:hover { background: var(--ivory); }
.site-nav-dropdown-menu strong { display: block; font-size: 0.88rem; color: var(--ink); }
.site-nav-dropdown-menu small { display: block; font-size: 0.76rem; color: var(--slate); margin-top: 0.1rem; }

.site-auth-block { display: flex; align-items: center; gap: 0.7rem; }
.site-auth-email { font-size: 0.85rem; color: var(--slate); max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-auth-block-mobile { display: none; }

@media (max-width: 860px) {
  .site-nav-toggle { display: flex; }
  .site-auth-block:not(.site-auth-block-mobile) { display: none; }
  .site-nav {
    /* ancorado à esquerda (mesmo lado do gatilho) -- entra deslizando
       da esquerda, não da direita. */
    position: fixed; top: 65px; left: 0; right: 30%; z-index: 25; padding: 1.5rem;
    height: calc(100vh - 65px); height: calc(100dvh - 65px);
    background: var(--ivory); border-right: 1px solid var(--border);
    flex-direction: column; align-items: flex-start; gap: 0.3rem;
    transform: translateX(-100%); transition: transform 0.2s ease; overflow-y: auto;
  }
  .site-nav.is-open { transform: translateX(0); }
  .site-nav a, .site-nav-dropdown-btn { width: 100%; padding: 0.7rem 0; font-size: 1rem; }
  .site-nav-dropdown { width: 100%; }
  .site-nav-dropdown-menu {
    position: static; width: 100%;
    box-shadow: none; border: none; padding: 0 0 0 0.5rem; display: none;
  }
  /* especificidade igual à regra de :hover/:focus-within (desktop) e
     depois dela no arquivo -- precisa ganhar aqui, senão o toque no
     botão (que também recebe foco) deixa o menu com a mesma
     transform/opacity de hover do desktop, cortado pela metade. */
  .site-nav-dropdown .site-nav-dropdown-menu { transform: none !important; opacity: 1; visibility: visible; }
  .site-nav-dropdown.is-open .site-nav-dropdown-menu { display: block; }
  .site-auth-block-mobile { display: flex; flex-direction: column; align-items: stretch; gap: 0.6rem; width: 100%; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); }
  .site-auth-block-mobile .btn { width: 100%; }
}

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-ui); font-weight: 700; font-size: 0.95rem;
  padding: 0.75rem 1.4rem; border-radius: 10px; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--fluqxo-teal); color: #fff; }
.btn-primary:hover { background: #185f59; }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--fluqxo-teal); }
.btn-ghost { background: transparent; color: var(--slate); }
.btn-ghost:hover { color: var(--ink); }

/* ---------- hero ---------- */
.hero { padding: 6.5rem 0 5rem; text-align: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--fluqxo-teal); background: rgba(30, 111, 104, 0.08);
  padding: 0.35rem 0.8rem; border-radius: 999px; margin-bottom: 1.5rem;
}
.hero h1 {
  font-family: var(--font-brand); font-weight: 800; letter-spacing: -0.02em;
  font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.05; margin: 0 0 1.2rem; text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--fluqxo-teal); }
.hero-sub {
  font-size: 1.15rem; color: var(--slate); max-width: 620px; margin: 0 auto 2.2rem; text-wrap: balance;
}
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 0.85rem; flex-wrap: wrap; }

/* ---------- seções ---------- */
section { padding: 4.5rem 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-eyebrow {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--fluqxo-teal);
  margin: 0 0 0.6rem;
}
.section-title { font-family: var(--font-brand); font-weight: 800; font-size: clamp(1.6rem, 3.5vw, 2.3rem); margin: 0 0 0.8rem; letter-spacing: -0.01em; text-wrap: balance; }
.section-lede { color: var(--slate); font-size: 1.05rem; max-width: 640px; margin: 0 0 2.5rem; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.4rem; }

/* ---------- fluxo conceitual (pedido -> investigação -> ... -> resultado) ---------- */
.flow-steps { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin: 0.5rem 0 0; }
.flow-steps span:not(.flow-arrow) {
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  padding: 0.5rem 1.1rem; font-family: var(--font-brand); font-weight: 700; font-size: 0.95rem;
}
.flow-arrow { color: var(--fluqxo-teal); font-weight: 400; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 1.6rem;
}
.card-icon {
  width: 42px; height: 42px; display: flex; align-items: center; justify-content: center;
  border-radius: 10px; background: rgba(30, 111, 104, 0.1); color: var(--fluqxo-teal); margin-bottom: 1rem;
}
.card h3 { font-family: var(--font-brand); font-size: 1.05rem; margin: 0 0 0.5rem; }
.card p { color: var(--slate); font-size: 0.92rem; margin: 0; }
.card-link { text-decoration: none; display: block; transition: border-color 0.15s ease, transform 0.1s ease; }
.card-link:hover { border-color: var(--fluqxo-teal); transform: translateY(-2px); }

/* ---------- rodapé ---------- */
.site-footer {
  padding: 2.5rem 0; border-top: 1px solid var(--border);
  font-size: 0.85rem; color: var(--slate);
}
.site-footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.site-footer nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.site-footer a { text-decoration: none; color: var(--slate); }
.site-footer a:hover { color: var(--ink); }

/* ---------- utilidades de botão/ícone ---------- */
.btn-block { width: 100%; }
.icon-btn {
  width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center;
  border: none; background: transparent; color: var(--slate); border-radius: 8px; cursor: pointer;
}
.icon-btn:hover { background: rgba(16, 25, 35, 0.06); color: var(--ink); }

/* ---------- modal genérico / login ---------- */
.confirm-overlay {
  position: fixed; inset: 0; z-index: 60; background: rgba(16, 25, 35, 0.5);
  display: flex; align-items: center; justify-content: center; padding: 1.5rem;
}
.confirm-overlay[hidden] { display: none; }
.login-box {
  position: relative; background: var(--surface); border-radius: 16px; padding: 2rem;
  max-width: 380px; width: 100%; box-shadow: 0 20px 48px rgba(16, 25, 35, 0.3); text-align: left;
}
/* mesma caixa, mas em fluxo normal de página (não modal) -- sombra mais leve */
.login-box-page { box-shadow: 0 1px 2px rgba(16, 25, 35, 0.04); border: 1px solid var(--border); max-width: 100%; }
.login-box h2 { font-family: var(--font-brand); font-size: 1.3rem; margin: 0 0 0.4rem; }
.login-box p { color: var(--slate); font-size: 0.9rem; margin: 0 0 1.3rem; }
.login-close { position: absolute; top: 1rem; right: 1rem; }
.login-divider { display: flex; align-items: center; gap: 0.7rem; color: var(--slate); font-size: 0.8rem; margin: 1rem 0; }
.login-divider::before, .login-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
#login-form { display: flex; flex-direction: column; gap: 0.6rem; }
#login-form input {
  font-family: var(--font-ui); font-size: 0.95rem; padding: 0.6rem 0.75rem;
  border: 1px solid var(--border); border-radius: 8px; background: var(--ivory); color: var(--ink);
}
#login-form input[hidden],
.login-divider[hidden],
.login-forgot[hidden],
.login-password-wrap[hidden],
#login-google[hidden] { display: none; }
.login-password-wrap { position: relative; }
#login-form .login-password-wrap input { padding-right: 2.6rem; }
.login-password-toggle {
  position: absolute; top: 50%; right: 0.5rem; transform: translateY(-50%);
  display: flex; align-items: center; justify-content: center;
  background: none; border: none; padding: 0.35rem; margin: 0;
  color: var(--slate); cursor: pointer; border-radius: 6px;
}
.login-password-toggle:hover { color: var(--ink); }
.login-password-toggle:disabled { opacity: 0.6; cursor: default; }
.login-forgot { display: flex; justify-content: flex-end; margin: -0.15rem 0 0.2rem; }
.link-btn {
  background: none; border: none; padding: 0; margin: 0; font: inherit;
  color: var(--fluqxo-teal); cursor: pointer; text-decoration: underline; text-underline-offset: 2px;
}
.link-btn:hover { color: var(--ink); }
.link-btn:disabled { opacity: 0.6; cursor: default; }
.login-switch { font-size: 0.88rem; color: var(--slate); margin: 1.25rem 0 0; text-align: center; }
.login-feedback { font-size: 0.85rem; margin: 0.9rem 0 0; }
.login-feedback.is-error { color: var(--danger); }
.login-feedback.is-success { color: var(--fluqxo-teal); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- /login: tela dividida ---------- */
.login-split { display: flex; min-height: 100vh; min-height: 100dvh; }
.login-split-brand { text-decoration: none; position: absolute; top: 2rem; left: 2rem; }
.login-split-copy {
  flex: 1; background: var(--brand-ink); color: #fff; position: relative;
  display: flex; align-items: center; justify-content: center; padding: 4rem 3vw;
}
.login-split-copy .brand-name { color: #fff; }
.login-split-copy-inner { max-width: 440px; }
.login-split-copy-inner h1 {
  font-family: var(--font-brand); font-weight: 800; font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 1.1rem; color: #fff; text-wrap: balance;
}
.login-split-copy-inner > p { color: rgba(255, 255, 255, 0.68); font-size: 1.02rem; line-height: 1.6; margin: 0 0 2.5rem; max-width: 40ch; }
.login-split-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.4rem; }
.login-split-list li { border-top: 1px solid rgba(255, 255, 255, 0.14); padding-top: 1.1rem; }
.login-split-list strong { display: block; font-family: var(--font-brand); font-size: 1rem; margin-bottom: 0.3rem; color: var(--signal); }
.login-split-list span { display: block; color: rgba(255, 255, 255, 0.65); font-size: 0.92rem; line-height: 1.5; }

.login-split-form { flex: 1; display: flex; align-items: center; justify-content: center; padding: 3rem 2rem; background: var(--ivory); }
.login-split-form-inner { width: 100%; max-width: 380px; }
.login-split-form-inner h2 { font-family: var(--font-brand); font-weight: 800; font-size: 1.8rem; margin: 0 0 0.5rem; letter-spacing: -0.01em; }
.login-split-form-lede { color: var(--slate); margin: 0 0 1.75rem; }
.login-split-brand-mobile { display: none; position: static; margin-bottom: 2rem; }

@media (max-width: 860px) {
  .login-split { flex-direction: column; }
  .login-split-copy { display: none; }
  .login-split-form { min-height: 100vh; min-height: 100dvh; padding: 2.5rem 1.5rem 3rem; align-items: flex-start; }
  .login-split-brand-mobile { display: inline-flex; }
}

/* ---------- tabelas / console ---------- */
.data-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.data-table th { text-align: left; color: var(--slate); font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.03em; padding: 0.6rem 0.8rem; border-bottom: 1px solid var(--border); }
.data-table td { padding: 0.7rem 0.8rem; border-bottom: 1px solid var(--border); }
.data-table code { font-family: var(--font-mono); font-size: 0.82rem; background: var(--ivory); padding: 0.15em 0.4em; border-radius: 4px; }
.empty-note { color: var(--slate); font-size: 0.9rem; padding: 1.2rem; text-align: center; border: 1px dashed var(--border); border-radius: 10px; }
.badge { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.72rem; font-weight: 700; padding: 0.2rem 0.55rem; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.03em; }
.badge-active { background: rgba(76, 184, 178, 0.15); color: var(--fluqxo-teal); }
.badge-muted { background: var(--ivory); color: var(--slate); border: 1px solid var(--border); }
.console-panel { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 1.5rem; margin-bottom: 1.5rem; }
.console-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.console-panel-head h2 { font-family: var(--font-brand); font-size: 1.1rem; margin: 0; }
.auth-gate { max-width: 420px; margin: 4rem auto; text-align: center; }
.auth-gate p { color: var(--slate); margin-bottom: 1.5rem; }
.key-reveal { background: var(--ink); color: #e8f2f0; font-family: var(--font-mono); font-size: 0.85rem; padding: 0.9rem 1rem; border-radius: 10px; margin: 1rem 0; word-break: break-all; }

/* ---------- docs ---------- */
.docs-toc {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; margin-bottom: 3rem;
  padding-bottom: 1.5rem; border-bottom: 1px solid var(--border);
}
.docs-toc a { font-size: 0.88rem; font-weight: 600; color: var(--slate); text-decoration: none; }
.docs-toc a:hover { color: var(--fluqxo-teal); }
.docs-section { padding: 2rem 0; border-top: 1px solid var(--border); scroll-margin-top: 5.5rem; }
.docs-section:first-of-type { border-top: none; padding-top: 0; }
.docs-section h2 { font-family: var(--font-brand); font-size: 1.4rem; margin: 0 0 1rem; }
.docs-section p { color: var(--slate); line-height: 1.6; max-width: 720px; }
/* :not(.btn) -- mesma correção já aplicada em .site-nav a: sem isso,
   ".docs-section a" (classe+elemento, especificidade 0,1,1) vence
   ".btn-primary" (uma classe, 0,1,0) e qualquer link com classe .btn
   dentro de um artigo de docs (ex.: "Abrir API Reference") perde a cor
   de texto do próprio botão pra cor de link de prosa -- texto teal
   sobre fundo teal, ilegível. Corrigido na origem, não no botão. */
.docs-section a:not(.btn) { color: var(--fluqxo-teal); }
.docs-section ul { color: var(--slate); line-height: 1.7; max-width: 720px; padding-left: 1.3rem; margin: 0 0 1rem; }
.docs-section ul strong { color: var(--ink); }
.docs-status-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.8rem; }
.docs-status-list li { display: flex; align-items: center; gap: 0.7rem; color: var(--slate); font-size: 0.92rem; }

/* ---------- preços ---------- */
.pricing-card { display: flex; flex-direction: column; }
.pricing-card.is-active { border-color: var(--fluqxo-teal); box-shadow: 0 8px 24px rgba(30, 111, 104, 0.12); }
.pricing-price { font-family: var(--font-brand); font-weight: 800; font-size: 1.8rem; margin: 0 0 1.2rem; }
.pricing-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.pricing-list li { font-size: 0.9rem; color: var(--slate); padding-left: 1.3rem; position: relative; }
.pricing-list li::before { content: "✓"; position: absolute; left: 0; color: var(--fluqxo-teal); font-weight: 700; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* ---------- código/terminal ---------- */
.terminal {
  background: var(--ink); color: #e8f2f0; border-radius: 12px; padding: 1.3rem 1.5rem;
  font-family: var(--font-mono); font-size: 0.85rem; line-height: 1.8; text-align: left;
  overflow-x: auto; box-shadow: 0 12px 32px rgba(16, 25, 35, 0.25);
}
.terminal .prompt { color: var(--signal); }
.terminal .comment { color: #7d8b93; }

/* ---------- Especialista Fluqxo (balão de chat) ---------- */
.support-widget-toggle {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%; border: none;
  background: var(--fluqxo-teal); color: #fff; display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 8px 24px rgba(30, 111, 104, 0.35);
}
.support-widget-toggle:hover { background: #185f59; }
.support-widget-panel {
  position: fixed; bottom: 5.5rem; right: 1.5rem; z-index: 60;
  width: 360px; max-width: calc(100vw - 2rem); height: 500px; max-height: 70vh;
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  box-shadow: 0 20px 48px rgba(16, 25, 35, 0.25); display: flex; flex-direction: column; overflow: hidden;
}
.support-widget-panel[hidden] { display: none; }
.support-widget-header {
  display: flex; align-items: center; justify-content: space-between; padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--border); font-family: var(--font-brand); font-weight: 700; color: var(--ink);
}
.support-widget-header button { background: none; border: none; color: var(--slate); cursor: pointer; padding: 0.2rem; }
.support-widget-header button:hover { color: var(--ink); }
.support-widget-messages { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 0.7rem; }
.support-widget-msg { max-width: 85%; padding: 0.55rem 0.8rem; border-radius: 12px; font-size: 0.88rem; line-height: 1.45; white-space: pre-wrap; }
.support-widget-msg.user { align-self: flex-end; background: var(--fluqxo-teal); color: #fff; border-bottom-right-radius: 3px; }
.support-widget-msg.assistant { align-self: flex-start; background: var(--ivory); color: var(--ink); border-bottom-left-radius: 3px; }
.support-widget-msg.error { align-self: flex-start; background: rgba(179, 67, 43, 0.12); color: var(--danger); }
.support-widget-form { display: flex; gap: 0.5rem; padding: 0.8rem; border-top: 1px solid var(--border); }
.support-widget-form input {
  flex: 1; padding: 0.55rem 0.75rem; border-radius: 8px; border: 1px solid var(--border);
  background: var(--ivory); color: var(--ink); font-family: var(--font-ui); font-size: 0.9rem;
}
.support-widget-form button { padding: 0.55rem 1rem; }
@media (max-width: 480px) {
  .support-widget-panel { right: 0.75rem; left: 0.75rem; width: auto; bottom: 5rem; height: 65vh; max-height: none; }
  .support-widget-toggle { right: 1rem; bottom: 1rem; }
}

/* ---------- tema escuro ---------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ivory: #14181d; --surface: #1b2027; --border: #2a313a; --ink: #eef2f4; --slate: #93a0ac;
  }
  :root:not([data-theme="light"]) .site-header { background: rgba(20, 24, 29, 0.9); }
}
:root[data-theme="dark"] {
  --ivory: #14181d; --surface: #1b2027; --border: #2a313a; --ink: #eef2f4; --slate: #93a0ac;
}
:root[data-theme="dark"] .site-header { background: rgba(20, 24, 29, 0.9); }

@media (max-width: 640px) {
  .hero { padding: 4rem 0 3rem; }
}
