/* Hallmark · v2.0.0 · theme: MAG Soluções brand (by request, matches agencia.automag.com.br) · genre: modern-minimal · shape: single column link list · hero: wordmark + one line · signature: the WhatsApp action set first and largest · material real: the 4 destinations, WhatsApp, CNPJ, Boa Vista · absent: metrics, quotes, logos */
/* critique: a link page is a router, so the page is one column, one primary action and four equal rows; the brand blue is spent only on the WhatsApp action. */
/* waive 79: the content is centred in the screen; the space measured is the vertical centring, not a gap */
/* waive 77: a link-in-bio page is one screen by definition (a router, not a landing page) */

@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fontes/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 800; font-style: normal; font-display: swap; src: url("/fontes/inter-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 900; font-style: normal; font-display: swap; src: url("/fontes/inter-latin-900-normal.woff2") format("woff2"); }

:root {
  color-scheme: dark;
  --color-bg-top: #2A2A30;
  --color-bg: #050507;
  --color-surface: #0E0E12;
  --color-surface-2: #17171C;
  --color-ink: #F5F5F7;
  --color-ink-2: #C7C7CF;
  --color-muted: #9A9AA6;
  --color-rule: rgb(255 255 255 / 0.08);
  --color-rule-hover: rgb(255 255 255 / 0.22);
  --color-gloss: rgb(255 255 255 / 0.10);
  --color-shadow: rgb(0 0 0 / 0.55);
  --color-accent-1: #2F8BFF;
  --color-accent-2: #7B5CFF;
  --color-action: #1D63D6;            /* azul da marca escurecido: texto branco a 5,7:1 */
  --color-accent-soft: #A9B4FF;
  --color-accent-ink: #FFFFFF;
  --color-focus: #8FA2FF;
  --gradient-bg: linear-gradient(180deg, var(--color-bg-top), var(--color-bg) 520px);

  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
  --text-sm: 0.875rem; --text-md: 1rem; --text-lg: 1.0625rem; --text-display: clamp(2rem, 6vw + 0.5rem, 2.75rem);
  --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px;
  --radius-card: 22px; --radius-pill: 999px;
  --shadow-card: inset 0 1px 0 var(--color-gloss), 0 24px 48px -24px var(--color-shadow);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-micro: 140ms; --dur-short: 220ms;
  --measure: 520px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--color-bg) var(--gradient-bg) no-repeat;
  color: var(--color-ink);
  font: 400 var(--text-md)/1.5 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }

.pagina { min-height: 100vh; min-height: 100dvh; align-content: center; width: 100%; max-width: calc(var(--measure) + 2 * var(--space-md)); margin: 0 auto; padding: var(--space-2xl) var(--space-md) var(--space-xl); display: grid; gap: var(--space-lg); }

.topo { display: grid; justify-items: center; gap: var(--space-sm); text-align: center; }
.topo__icone { width: 72px; height: 72px; border-radius: 20px; box-shadow: var(--shadow-card); }
.topo h1 { margin: var(--space-xs) 0 0; font-size: var(--text-display); font-weight: 900; line-height: 1.05; letter-spacing: -0.04em; text-wrap: balance; overflow-wrap: break-word; min-width: 0; }
.topo__linha { margin: 0; max-width: 34ch; color: var(--color-ink-2); font-size: var(--text-lg); }

.whats {
  display: flex; align-items: center; justify-content: center; gap: var(--space-sm);
  min-height: 72px; padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-pill);
  background: var(--color-action);
  color: var(--color-accent-ink); text-decoration: none;
  box-shadow: inset 0 1px 0 var(--color-gloss), 0 18px 40px -18px var(--color-accent-1);
  transition: transform var(--dur-micro) var(--ease-out), box-shadow var(--dur-short) var(--ease-out);
}
.whats svg { width: 28px; height: 28px; flex: none; fill: currentColor; }
.whats span { display: grid; line-height: 1.2; text-align: left; }
.whats strong { font-size: var(--text-lg); font-weight: 800; }
.whats small { font-size: var(--text-sm); opacity: 0.9; }
.whats:hover { background: var(--color-accent-1); transform: translateY(-2px); box-shadow: inset 0 1px 0 var(--color-gloss), 0 22px 44px -16px var(--color-accent-1); }
.whats:active { transform: translateY(0); }

.links { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-sm); }
.link {
  display: flex; align-items: center; justify-content: center;
  min-height: 64px; padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--color-rule); border-radius: var(--radius-card);
  background: var(--color-surface);
  color: var(--color-ink); text-decoration: none; text-align: center;
  transition: transform var(--dur-micro) var(--ease-out), border-color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out);
}
.link__rotulo { font-size: var(--text-lg); font-weight: 800; line-height: 1.25; white-space: nowrap; }
.link:hover { transform: translateY(-2px); border-color: var(--color-rule-hover); background: var(--color-surface-2); }
.link:active { transform: translateY(0); }
.link--automag .link__rotulo { color: var(--color-accent-soft); }

.whats:focus-visible, .link:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; transition: none; }

.rodape { margin-top: var(--space-lg); display: grid; gap: var(--space-2xs); text-align: center; color: var(--color-muted); font-size: var(--text-sm); }
.rodape p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  .whats, .link { transition: none; }
  .whats:hover, .link:hover { transform: none; }
}
