/*
 * Landing pública do Veksilo.
 * Tokens alinhados com a área de cliente (vekadmin/docs/DESIGN-CLIENTE.md §3):
 * o cliente que se regista encontra as mesmas cores do outro lado.
 * Porque não há Tailwind aqui: vekadmin/docs/LANDING.md.
 */

:root {
  --ink: #101828;
  --ink-soft: #475467;
  --muted: #667085;
  --bg: #ffffff;
  --bg-soft: #f2f4f7;
  --bg-softer: #fafbfc;
  --line: #e4e7ec;
  --line-strong: #d0d5dd;

  --brand: #22c7a9;
  --brand-text: #0b7a69;
  --brand-wash: rgba(34, 199, 169, 0.12);
  --accent: #4b66ff;
  --accent-text: #3b51d6;
  --accent-wash: rgba(75, 102, 255, 0.1);

  --night: #0b0f19;
  --night-line: rgba(255, 255, 255, 0.1);
  --night-text: #98a2b3;
  --night-brand: #4be3c6;

  --radius: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06);
  --shadow: 0 1px 3px rgba(16, 24, 40, 0.08), 0 4px 12px rgba(16, 24, 40, 0.05);
  --shadow-lg: 0 24px 48px -12px rgba(16, 24, 40, 0.18);

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --header-h: 68px;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.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;
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 10px 16px; border-radius: var(--radius);
  background: var(--ink); color: #fff; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .container { padding-inline: 32px; } }

.icon {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

.link { color: var(--accent-text); font-weight: 600; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Botões ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px;
  border: 1px solid transparent; border-radius: var(--radius);
  font-size: 15px; font-weight: 600; line-height: 1.2; white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s;
}
.btn .icon { width: 18px; height: 18px; transition: transform .15s; }
.btn:hover .icon { transform: translateX(2px); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, .2); }
.btn-primary:hover { background: #1d2939; }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { background: var(--bg-softer); border-color: #98a2b3; }
.btn-ghost { color: var(--ink-soft); }
.btn-ghost:hover { color: var(--ink); background: var(--bg-soft); }
.btn-lg { min-height: 52px; padding: 14px 24px; font-size: 16px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; }

/* ---------- Cabeçalho ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 1px 12px rgba(16, 24, 40, .04); }

.header-inner { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.brand img { height: 34px; width: auto; }

.main-nav { display: none; gap: 2px; margin-left: 20px; }
.main-nav a {
  padding: 8px 12px; border-radius: 8px;
  font-size: 15px; font-weight: 500; color: var(--ink-soft);
  transition: color .15s, background-color .15s;
}
.main-nav a:hover { color: var(--ink); background: var(--bg-soft); }

.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.header-actions .lang-switch, .header-actions .btn-ghost { display: none; }

.lang-switch { display: flex; width: max-content; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.lang-switch a { padding: 4px 9px; border-radius: 7px; font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--muted); }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a[aria-current="true"] { background: var(--ink); color: #fff; }

.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; cursor: pointer;
}

.mobile-nav { border-top: 1px solid var(--line); background: #fff; padding: 8px 0 24px; box-shadow: var(--shadow-lg); }
.mobile-link { display: block; padding: 14px 2px; border-bottom: 1px solid var(--line); font-weight: 500; }
.mobile-actions { display: grid; gap: 10px; margin-top: 20px; }
.mobile-nav .lang-switch { margin-top: 20px; }

@media (min-width: 960px) {
  .main-nav { display: flex; }
  .header-actions .lang-switch, .header-actions .btn-ghost { display: flex; }
  .menu-toggle, .mobile-nav { display: none !important; }
}
@media (max-width: 479px) {
  .header-actions .btn-primary { display: none; }
}

/* ---------- Hero ---------- */

.hero { position: relative; overflow: hidden; isolation: isolate; padding: 48px 0 72px; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(55% 50% at 90% 15%, rgba(75, 102, 255, .10), transparent 70%),
    radial-gradient(45% 45% at 5% 5%, rgba(34, 199, 169, .12), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(16, 24, 40, .08) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 70%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 70%);
}

.hero-grid { display: grid; gap: 56px; align-items: center; }
/* Um item de grelha não encolhe abaixo do conteúdo: sem isto, o <pre> alarga a página no telemóvel. */
.hero-grid > *, .how-grid > *, .trust-grid > *, .contact-panel > * { min-width: 0; }
@media (min-width: 1024px) {
  .hero { padding: 80px 0 112px; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 56px; }
}

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 4px 14px 4px 4px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  font-size: 14px; font-weight: 500; color: var(--ink-soft); box-shadow: var(--shadow-sm);
}
.pill-tag { padding: 2px 9px; border-radius: 999px; background: var(--brand-wash); color: var(--brand-text); font-size: 12px; font-weight: 600; }

.hero h1 {
  margin-top: 22px;
  font-size: clamp(2.2rem, 1.3rem + 3vw, 3.35rem);
  line-height: 1.07; letter-spacing: -.035em; font-weight: 700;
  text-wrap: balance;
}
.text-gradient {
  background: linear-gradient(90deg, var(--brand-text), var(--accent-text));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { margin-top: 22px; max-width: 36rem; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.65; color: var(--ink-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-note { display: flex; align-items: center; gap: 8px; margin-top: 20px; font-size: 14px; color: var(--muted); }
.hero-note .icon { width: 16px; height: 16px; color: var(--brand-text); }
@media (max-width: 479px) { .hero-actions .btn { width: 100%; } }

/* Janela de exemplo */
.mock { position: relative; width: 100%; max-width: 560px; margin-inline: auto; }
.mock-window { border: 1px solid var(--line); border-radius: var(--radius-xl); background: #fff; box-shadow: var(--shadow-lg); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg-softer); }
.mock-dots { display: flex; gap: 6px; }
.mock-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.mock-url {
  flex: 1; max-width: 240px; margin-inline: auto; padding: 3px 12px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  font-size: 12px; color: var(--muted); text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.mock-body { position: relative; min-height: 440px; padding: 22px; background: linear-gradient(180deg, #fff, var(--bg-softer)); }
.mock-page { display: grid; gap: 10px; }
.sk { height: 10px; border-radius: 6px; background: var(--bg-soft); }
.sk-title { height: 18px; width: 55%; background: #e8ebf0; }
.sk-block { height: 96px; border-radius: 12px; background: linear-gradient(135deg, #eef1f5, #f5f6f8); }
.w-90 { width: 90%; } .w-80 { width: 80%; } .w-60 { width: 60%; } .w-40 { width: 40%; }

.chat {
  position: absolute; right: 16px; bottom: 16px; left: 16px;
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: 18px; background: #fff;
  box-shadow: 0 24px 48px -16px rgba(16, 24, 40, .28); overflow: hidden;
}
@media (min-width: 520px) { .chat { left: auto; width: 310px; } }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--ink); color: #fff; }
.chat-avatar { width: 32px; height: 32px; padding: 5px; border-radius: 10px; background: #fff; }
.chat-avatar img { width: 100%; height: 100%; object-fit: contain; }
.chat-name { font-size: 14px; font-weight: 600; line-height: 1.2; }
.chat-status { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--night-text); }
.chat-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.chat-body { display: grid; gap: 10px; padding: 14px; font-size: 13.5px; line-height: 1.5; }
.bubble { max-width: 86%; padding: 9px 12px; border-radius: 14px; }
.bubble-user { justify-self: end; background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.bubble-bot { justify-self: start; background: var(--bg-soft); color: var(--ink); border-bottom-left-radius: 4px; }
.chat-input {
  display: flex; align-items: center; gap: 8px; margin: 0 14px 14px; padding: 9px 12px;
  border: 1px solid var(--line); border-radius: 12px; font-size: 13px; color: var(--muted);
}
.chat-input .icon { width: 16px; height: 16px; margin-left: auto; color: var(--accent); }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px;
  border: 1px solid var(--line); border-radius: 14px; background: #fff;
  box-shadow: var(--shadow-lg); font-size: 13px; line-height: 1.35;
}
.float-card strong { display: block; font-weight: 600; }
.float-card span { color: var(--muted); }
.float-icon { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; }
.float-icon .icon { width: 18px; height: 18px; }
/* Os cartões saem pelos cantos da janela, acima e abaixo do chat, e nunca por cima dele. */
.float-knowledge { top: -24px; left: -24px; }
.float-lead { bottom: -52px; left: -24px; }
@media (max-width: 639px), (min-width: 1024px) and (max-width: 1279px) { .float-card { display: none; } }

.tone-brand { background: var(--brand-wash); color: var(--brand-text); }
.tone-accent { background: var(--accent-wash); color: var(--accent-text); }

/* ---------- Fontes de conhecimento ---------- */

.sources { padding: 40px 0; border-block: 1px solid var(--line); background: var(--bg-softer); }
.sources-title { font-size: 14px; font-weight: 500; color: var(--muted); text-align: center; }
.sources-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; margin-top: 18px; }
.sources-list li {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  font-size: 14px; font-weight: 500; color: var(--ink-soft);
}
.sources-list .icon { width: 16px; height: 16px; color: var(--brand-text); }

/* ---------- Secções ---------- */

.section { padding: 80px 0; }
@media (min-width: 1024px) { .section { padding: 112px 0; } }
.section-soft { background: var(--bg-softer); border-block: 1px solid var(--line); }

.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-text); }
.h2 { margin-top: 12px; font-size: clamp(1.8rem, 1.2rem + 2.2vw, 2.7rem); line-height: 1.15; letter-spacing: -.028em; font-weight: 700; text-wrap: balance; }
.section-lead { margin-top: 16px; font-size: 18px; line-height: 1.65; color: var(--ink-soft); }

.grid-3 { display: grid; gap: 20px; margin-top: 56px; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.card {
  padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: #fff; box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, border-color .2s, transform .2s;
}
.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.card-icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 20px; border-radius: 12px; }
.card h3 { font-size: 18px; font-weight: 600; line-height: 1.35; letter-spacing: -.01em; }
.card p { margin-top: 8px; font-size: 15px; line-height: 1.65; color: var(--ink-soft); }
.card-quote {
  margin-top: 14px; padding: 10px 14px; border-radius: 12px 12px 12px 4px;
  background: var(--bg-soft); font-size: 14px; font-weight: 500; color: var(--ink);
}

/* Como funciona */
.how-grid { display: grid; gap: 48px; margin-top: 56px; align-items: center; }
@media (min-width: 1024px) { .how-grid { grid-template-columns: 1fr 1fr; gap: 72px; } }
.steps { margin: 0; padding: 0; list-style: none; }
.step { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 18px; padding-bottom: 32px; }
.step:last-child { padding-bottom: 0; }
.step:not(:last-child)::before { content: ""; position: absolute; left: 19px; top: 48px; bottom: 8px; width: 2px; border-radius: 2px; background: var(--line); }
.step-num { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 600; }
.step h3 { margin-top: 8px; font-size: 18px; font-weight: 600; }
.step p { margin-top: 6px; font-size: 15px; line-height: 1.65; color: var(--ink-soft); }

.code-card { border: 1px solid #1d2433; border-radius: var(--radius-xl); background: var(--night); box-shadow: var(--shadow-lg); overflow: hidden; }
.code-head { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--night-line); font-size: 13px; color: var(--night-text); }
.code-head .mock-dots span { background: #344054; }
.code-card pre { margin: 0; padding: 22px 20px; overflow-x: auto; font-family: var(--mono); font-size: 13.5px; line-height: 1.8; color: #e4e7ec; }
.tok-tag { color: #7cd4fd; }
.tok-attr { color: var(--night-brand); }
.tok-str { color: #fec84b; }
.tok-fn { color: #a4bcfd; }
.code-foot { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 18px; border-top: 1px solid var(--night-line); }
.code-foot span { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .06); font-size: 12px; color: #d0d5dd; }
.code-foot .icon { width: 14px; height: 14px; color: var(--night-brand); }

/* Controlo e segurança */
.trust { position: relative; overflow: hidden; background: var(--night); color: #fff; }
.trust::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(40% 60% at 95% 0%, rgba(75, 102, 255, .2), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(34, 199, 169, .14), transparent 70%);
}
.trust .container { position: relative; }
.trust .eyebrow { color: var(--night-brand); }
.trust .section-lead { color: var(--night-text); }
.trust-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .trust-grid { grid-template-columns: .9fr 1.1fr; gap: 72px; } }
.trust-items { display: grid; gap: 16px; }
@media (min-width: 640px) { .trust-items { grid-template-columns: 1fr 1fr; } }
.trust-item { padding: 24px; border: 1px solid var(--night-line); border-radius: var(--radius-lg); background: rgba(255, 255, 255, .03); }
.trust-item .icon { width: 22px; height: 22px; color: var(--night-brand); }
.trust-item h3 { margin-top: 16px; font-size: 16px; font-weight: 600; }
.trust-item p { margin-top: 6px; font-size: 14px; line-height: 1.6; color: var(--night-text); }

/* ---------- Preços ---------- */

.billing { display: inline-flex; margin-top: 28px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow-sm); }
.billing button { padding: 8px 18px; border: 0; border-radius: 9px; background: transparent; font-size: 14px; font-weight: 600; color: var(--ink-soft); cursor: pointer; }
.billing button[aria-pressed="true"] { background: var(--ink); color: #fff; }

.plans { display: grid; gap: 24px; margin-top: 56px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; padding: 28px;
  border: 1px solid var(--line); border-radius: var(--radius-xl); background: #fff; box-shadow: var(--shadow-sm);
}
.plan.is-popular { border: 2px solid var(--accent); box-shadow: 0 24px 48px -20px rgba(75, 102, 255, .35); }
.plan-badge { position: absolute; top: -12px; left: 26px; padding: 3px 10px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 600; }
.plan-name { font-size: 17px; font-weight: 600; }
.plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px; margin-top: 14px; }
.plan-amount { font-size: 40px; font-weight: 700; line-height: 1.1; letter-spacing: -.03em; }
.plan-period { font-size: 15px; color: var(--muted); }
.plan-features { display: grid; gap: 11px; margin: 24px 0 28px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-soft); }
.plan-features li { display: flex; align-items: flex-start; gap: 10px; }
.plan-features .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--brand-text); stroke-width: 2.2; }
.plan .btn { margin-top: auto; }

.plan-skeleton {
  min-height: 420px; border: 1px solid var(--line); border-radius: var(--radius-xl);
  background: linear-gradient(90deg, var(--bg-soft) 0%, #fff 50%, var(--bg-soft) 100%);
  background-size: 200% 100%; animation: shimmer 1.4s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }
.plans-message { grid-column: 1 / -1; padding: 32px; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); background: #fff; color: var(--ink-soft); text-align: center; }
.pricing-foot { margin-top: 40px; font-size: 15px; color: var(--ink-soft); text-align: center; }

/* ---------- FAQ ---------- */

.faq { max-width: 800px; margin: 48px auto 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 0; font-size: 17px; font-weight: 600; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent-text); }
.faq-icon { position: relative; flex: none; width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; border-radius: 2px;
  background: var(--ink-soft); transform: translate(-50%, -50%); transition: transform .2s;
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq details p { padding: 0 48px 24px 0; line-height: 1.7; color: var(--ink-soft); }

/* ---------- Contacto ---------- */

.section-contact { padding-top: 0; }
.contact-panel {
  display: grid; gap: 40px; padding: 32px 20px;
  border: 1px solid var(--line); border-radius: 28px;
  background: linear-gradient(135deg, #effbf8 0%, #f3f5ff 100%);
}
@media (min-width: 768px) { .contact-panel { padding: 48px; } }
@media (min-width: 1024px) { .contact-panel { grid-template-columns: 1fr 1fr; gap: 64px; padding: 64px; align-items: center; } }

.check-list { display: grid; gap: 12px; margin-top: 28px; }
.check-list li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.check-list .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--brand); color: #fff; stroke-width: 3; }
.contact-alt { margin-top: 28px; font-size: 15px; color: var(--ink-soft); }

.form-card { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: #fff; box-shadow: var(--shadow-lg); }
@media (min-width: 768px) { .form-card { padding: 32px; } }
.form-title { margin-bottom: 20px; font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.form-row { display: grid; gap: 16px; margin-bottom: 16px; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.form-row .field { margin-bottom: 0; }
.field label { font-size: 14px; font-weight: 500; }
.field label small { font-size: 13px; font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; padding: 11px 14px;
  border: 1px solid var(--line-strong); border-radius: 10px; background: #fff;
  font-size: 15px; box-shadow: var(--shadow-sm);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 116px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #98a2b3; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-wash); }
.form-privacy { margin-top: 12px; font-size: 13px; color: var(--muted); text-align: center; }
.form-feedback { margin-top: 14px; padding: 12px 14px; border: 1px solid; border-radius: 10px; font-size: 14px; }
.form-feedback.is-success { background: #ecfdf3; border-color: #abefc6; color: #067647; }
.form-feedback.is-error { background: #fef3f2; border-color: #fecdca; color: #b42318; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Rodapé ---------- */

.site-footer { padding: 64px 0 32px; background: var(--night); color: var(--night-text); font-size: 14px; }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand img { height: 40px; width: auto; }
.footer-brand p { max-width: 300px; margin-top: 16px; line-height: 1.6; }
.footer-col h2 { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.footer-col ul { display: grid; gap: 10px; margin-top: 16px; }
.footer-col a { transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--night-line); }
.footer-bottom .lang-switch { background: transparent; border-color: var(--night-line); }
.footer-bottom .lang-switch a { color: var(--night-text); }
.footer-bottom .lang-switch a:hover { color: #fff; }
.footer-bottom .lang-switch a[aria-current="true"] { background: #fff; color: var(--ink); }

/* ---------- Movimento ---------- */

@keyframes float-y { 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: no-preference) {
  .float-card { animation: float-y 6s ease-in-out infinite; }
  .float-lead { animation-delay: -3s; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
