/* =========================================================
   [N]umbers — Design System base
   Tokens + componentes compartilhados por institucional + produtos.

   Para dar tema a um produto, sobrescreva apenas --brand-* e --accent-*
   em um theme.css incluído depois deste arquivo.

   Estrutura:
     1. Tokens (cores, tipografia, radii, shadows, motion)
     2. Reset + base
     3. Utilitários (container, eyebrow, grid, chips)
     4. Botões
     5. Cards
     6. Nav + nav burger mobile
     7. Hero
     8. Section headers
     9. Pricing grid
    10. Case cards
    11. Footer
    12. Form
    13. i18n (PT|EN via html[lang])
   ========================================================= */

:root {
  /* ---------- BRAND (institucional — navy do composer) ---------- */
  --brand-50:  #EEF3FA;
  --brand-100: #DCE6F4;
  --brand-200: #B6C9E6;
  --brand-300: #84A3D1;
  --brand-400: #4F7AB6;
  --brand-500: #2E5896;
  --brand-600: #1a365d;   /* primary */
  --brand-700: #152A4A;
  --brand-800: #0F1F38;
  --brand-900: #091426;

  --accent-50:  #E6F7F6;
  --accent-100: #C2ECEA;
  --accent-500: #38b2ac;  /* teal institucional */
  --accent-600: #2E938E;
  --accent-700: #236B69;

  /* Cores auxiliares (compartilhadas por todos os produtos) */
  --ok:    #10B981;
  --warn:  #F59E0B;
  --err:   #EF4444;
  --info:  #0EA5E9;

  /* ---------- NEUTRALS (blue-tinted, sem preto/branco puro) ---------- */
  --nl-0:  #FBFCFE;
  --nl-50: #F4F7FC;
  --nl-100:#EBF0F8;
  --nl-200:#DFE5F0;
  --nl-300:#C6CFDF;
  --nl-400:#8E9AB4;
  --nl-500:#5E6B85;
  --nl-600:#42506A;
  --nl-700:#2E3A52;
  --nl-800:#1A2338;
  --nl-900:#0C1428;
  --nl-950:#05091A;

  /* ---------- SEMANTIC (light theme default) ---------- */
  --bg:           var(--nl-0);
  --bg-subtle:    var(--nl-50);
  --bg-muted:     var(--nl-100);
  --surface:      #FFFFFF;
  --surface-1:    var(--nl-50);
  --surface-2:    var(--nl-100);
  --border:       var(--nl-200);
  --border-strong:var(--nl-300);
  --text:         var(--nl-900);
  --text-muted:   var(--nl-600);
  --text-subtle:  var(--nl-500);
  --text-inverse: var(--nl-0);

  /* Aliases que apontam para a cor do produto — override em theme.css */
  --primary:      var(--brand-600);
  --primary-hover:var(--brand-700);
  --primary-bg:   var(--brand-50);
  --accent:       var(--accent-500);
  --accent-hover: var(--accent-600);
  --focus-ring:   color-mix(in srgb, var(--primary) 35%, transparent);

  /* ---------- TYPE ---------- */
  --font-sans: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-display: "Inter Tight", "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* ---------- RADII ---------- */
  --r-xs: 4px; --r-sm: 6px; --r-md: 8px; --r-lg: 12px; --r-xl: 16px; --r-2xl: 20px;

  /* ---------- SHADOWS (temperatura do brand, nunca preto puro) ---------- */
  --shadow-sm: 0 1px 2px rgba(12, 30, 78, .06);
  --shadow-md: 0 2px 8px rgba(12, 30, 78, .08), 0 1px 2px rgba(12, 30, 78, .05);
  --shadow-lg: 0 12px 32px -8px rgba(10, 40, 130, .15), 0 4px 8px -2px rgba(12, 30, 78, .06);
  --shadow-xl: 0 24px 64px -12px rgba(10, 40, 130, .20), 0 8px 16px -4px rgba(12, 30, 78, .08);

  /* ---------- LAYOUT + MOTION ---------- */
  --page-max: 1280px;
  --gutter: 32px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="dark"] {
  --bg:           #05091A;
  --bg-subtle:    #0A1024;
  --bg-muted:     #101833;
  --surface:      #0A1024;
  --surface-1:    #101833;
  --surface-2:    #182042;
  --border:       #1D2748;
  --border-strong:#2B365C;
  --text:         #EEF2FA;
  --text-muted:   #94A3BF;
  --text-subtle:  #6A7490;
  --primary:      var(--brand-400);
  --primary-hover:var(--brand-300);
  --primary-bg:   color-mix(in srgb, var(--brand-500) 15%, transparent);
  --accent:       var(--accent-500);
  --accent-hover: var(--accent-100);
  --focus-ring:   color-mix(in srgb, var(--primary) 35%, transparent);
  --shadow-sm: 0 1px 2px rgba(0,4,24,.5);
  --shadow-md: 0 2px 8px rgba(0,4,24,.5), 0 1px 2px rgba(0,4,24,.4);
  --shadow-lg: 0 12px 32px -8px rgba(0,4,24,.6), 0 4px 8px -2px rgba(0,4,24,.4);
}

/* ---------- RESET + BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg); color: var(--text);
  font-family: var(--font-sans); font-size: 15px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--brand-200); color: var(--nl-900); }
[data-theme="dark"] ::selection { background: var(--brand-600); color: #fff; }

/* ---------- UTIL ---------- */
.container { max-width: var(--page-max); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); display: inline-block; }
.section { padding: 96px 0; border-top: 1px solid var(--border); position: relative; }
.section-compact { padding: 64px 0; }
.section-title { font-family: var(--font-display); font-size: clamp(32px, 4vw, 52px); line-height: 1.05; letter-spacing: -.025em; font-weight: 500; margin: 0; color: var(--text); text-wrap: balance; }
.section-kicker { font-size: 17px; line-height: 1.6; color: var(--text-muted); max-width: 640px; margin: 16px 0 0; text-wrap: pretty; }
.lead { font-size: 17px; color: var(--text-muted); max-width: 680px; line-height: 1.6; }

.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
@media (max-width: 900px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: 12px; color: var(--text-muted); background: var(--surface-1); border: 1px solid var(--border); font-family: var(--font-mono); letter-spacing: .02em; }
.chip.accent { background: var(--primary-bg); color: var(--primary); border-color: color-mix(in srgb, var(--primary) 25%, transparent); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: var(--r-md);
  font-size: 14px; font-weight: 500; line-height: 1;
  transition: background .15s var(--ease-out), color .15s, border-color .15s, transform .1s;
  white-space: nowrap; border: 1px solid transparent; height: 40px;
}
.btn:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 1px 0 rgba(0,0,0,.08), var(--shadow-sm); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-primary:active { transform: translateY(.5px); }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover { background: var(--surface-1); border-color: var(--nl-400); }
.btn-ghost { background: transparent; color: var(--text-muted); }
.btn-ghost:hover { color: var(--text); background: var(--surface-1); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-hover); }
.btn-sm { height: 32px; padding: 6px 12px; font-size: 13px; }
.btn-lg { height: 48px; padding: 12px 22px; font-size: 15px; }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border-radius: 999px; background: var(--primary-bg); color: var(--primary); font-size: 11px; font-weight: 500; letter-spacing: .02em; border: 1px solid color-mix(in srgb, var(--primary) 25%, transparent); }

/* ---------- CARDS ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; transition: border-color .2s, box-shadow .2s, transform .2s; display: flex; flex-direction: column; gap: 10px; }
.card-hover:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.card h3 { font-family: var(--font-display); font-size: 20px; font-weight: 500; letter-spacing: -.01em; margin: 0; }
.card p { margin: 0; color: var(--text-muted); font-size: 14.5px; line-height: 1.55; }
.card .eyebrow { margin-bottom: 6px; }

/* Product card — cor por produto via --product-color */
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  min-height: 240px;
}
.product-card::before {
  content: "";
  position: absolute; inset: 0 auto auto 0;
  width: 4px; height: 100%;
  background: var(--product-color, var(--primary));
}
.product-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.product-card .product-name { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -.01em; color: var(--text); }
.product-card .product-tag { font-family: var(--font-mono); font-size: 11px; color: var(--product-color, var(--primary)); text-transform: uppercase; letter-spacing: .08em; }
.product-card .product-desc { color: var(--text-muted); font-size: 14.5px; line-height: 1.55; flex: 1; }
.product-card .product-link { display: inline-flex; align-items: center; gap: 6px; color: var(--product-color, var(--primary)); font-weight: 500; font-size: 13.5px; transition: gap .15s; }
.product-card .product-link:hover { gap: 10px; }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav-inner { max-width: var(--page-max); margin: 0 auto; padding: 0 var(--gutter); height: 64px; display: flex; align-items: center; gap: 28px; }
.nav-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; letter-spacing: -.01em; color: var(--text); font-family: var(--font-display); }
.nav-logo-mark { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; background: linear-gradient(135deg, var(--brand-500), var(--brand-700)); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.15), 0 2px 6px color-mix(in srgb, var(--primary) 40%, transparent); position: relative; overflow: hidden; }
.nav-logo-sub { color: var(--text-subtle); font-weight: 400; font-size: 13px; }
.nav-items { display: flex; align-items: center; gap: 4px; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px; border-radius: 6px; font-size: 14px; color: var(--text-muted); transition: color .15s, background .15s; cursor: pointer; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--text); background: var(--surface-1); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-divider { width: 1px; height: 20px; background: var(--border); margin: 0 4px; }
.lang-toggle { display: inline-flex; background: var(--surface-1); border: 1px solid var(--border); border-radius: 6px; padding: 2px; font-size: 12px; font-family: var(--font-mono); }
.lang-toggle button { padding: 4px 8px; border-radius: 4px; color: var(--text-muted); font-weight: 500; transition: all .15s; letter-spacing: .04em; }
.lang-toggle button.active { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.theme-toggle { width: 32px; height: 32px; border-radius: 6px; display: inline-grid; place-items: center; color: var(--text-muted); transition: color .15s, background .15s; }
.theme-toggle:hover { color: var(--text); background: var(--surface-1); }
.nav-burger { display: none; width: 32px; height: 32px; border-radius: 6px; align-items: center; justify-content: center; flex-direction: column; gap: 4px; }
.nav-burger span { width: 16px; height: 1.5px; background: var(--text); }

@media (max-width: 960px) {
  .nav-items { position: fixed; inset: 64px 0 0 0; flex-direction: column; gap: 4px; align-items: stretch; padding: 20px; background: var(--bg); border-top: 1px solid var(--border); transform: translateX(100%); transition: transform .2s var(--ease-out); }
  .nav-items.open { transform: translateX(0); }
  .nav-link { padding: 12px 14px; font-size: 16px; }
  .nav-burger { display: inline-flex; }
  .nav-right .btn-ghost { display: none; }
}

/* ---------- HERO ---------- */
.hero { position: relative; padding: 96px 0 112px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(to right, var(--border) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 0%, black, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, black, transparent 70%);
  opacity: .5;
}
.hero-inner { position: relative; z-index: 1; max-width: 960px; margin: 0 auto; text-align: center; }
.hero-announce { display: inline-flex; align-items: center; gap: 10px; padding: 6px 10px 6px 6px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); font-size: 13px; color: var(--text-muted); margin-bottom: 32px; }
.hero-announce .tag { background: var(--primary); color: #fff; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 500; font-family: var(--font-mono); letter-spacing: .04em; }
.hero-announce a { color: var(--primary); font-weight: 500; }
.hero-h1 { font-family: var(--font-display); font-size: clamp(40px, 6.4vw, 84px); line-height: .98; letter-spacing: -.035em; font-weight: 500; margin: 0 0 24px; text-wrap: balance; }
.hero-h1 em { color: var(--primary); font-style: normal; }
.hero-sub { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: var(--text-muted); max-width: 640px; margin: 0 auto 40px; text-wrap: pretty; }
.hero-cta { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero-cta .mini-note { font-family: var(--font-mono); font-size: 11px; color: var(--text-subtle); letter-spacing: .04em; display: inline-flex; align-items: center; gap: 6px; margin-left: 12px; }
.hero-meta { margin-top: 64px; display: flex; justify-content: center; align-items: center; gap: 48px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 11px; color: var(--text-subtle); letter-spacing: .06em; text-transform: uppercase; }
.hero-meta strong { color: var(--text); font-weight: 500; font-family: var(--font-display); font-size: 15px; text-transform: none; letter-spacing: -.01em; }

/* Page header (páginas interiores) */
.page-head { padding: 80px 0 48px; border-bottom: 1px solid var(--border); background: var(--bg-subtle); position: relative; overflow: hidden; }
.page-head::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(to right, var(--border) 1px, transparent 1px), linear-gradient(to bottom, var(--border) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse at 50% 0%, black, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 0%, black, transparent 70%); opacity: .5; pointer-events: none; }
.page-head-inner { position: relative; z-index: 1; max-width: 780px; }
.page-crumb { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-subtle); margin-bottom: 16px; display: flex; gap: 10px; align-items: center; }
.page-crumb a { color: var(--text-muted); }
.page-crumb a:hover { color: var(--text); }
.page-h1 { font-family: var(--font-display); font-size: clamp(36px, 5vw, 60px); font-weight: 500; letter-spacing: -.03em; line-height: 1.05; margin: 0 0 16px; text-wrap: balance; }
.page-sub { font-size: clamp(17px, 1.4vw, 19px); color: var(--text-muted); margin: 0; max-width: 620px; line-height: 1.55; }

/* ---------- CLIENTS GRID (logo wall) ---------- */
/* Normalização cromática: tudo vira silhueta do tema.
   - No light: tudo fica escuro (via brightness(0))
   - No dark: tudo fica claro (via brightness(0) + invert(1))
   Funciona para qualquer arquivo — SVG/PNG, colorido, branco, preto, transparente.
   No hover, o filter some e a cor original da marca reaparece (pra logos coloridas). */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px 48px;
  justify-items: center;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
}
.client-logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -.005em;
  color: var(--text);
  /* Container fixo — object-fit escala a imagem pra caber mantendo aspect:
     - logos horizontais (ex: 500x136) ocupam 220x~60
     - logos quadradas (ex: 320x320) ocupam 80x80 centrado
     Resultado: todas ocupam o mesmo "campo visual" de 220x80 */
  width: 220px;
  height: 80px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .7;
  transition: filter .2s var(--ease-out), opacity .2s, color .2s;
  white-space: nowrap;
  text-align: center;
  line-height: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
}
[data-theme="dark"] .client-logo {
  filter: grayscale(1) brightness(1.4) contrast(.9);
  opacity: .82;
}
.client-logo:hover {
  filter: none;
  opacity: 1;
  color: var(--text);
}
/* Logos com fundo opaco (JPG, PNG sem alpha, SVG com background).
   mix-blend-mode dissolve o fundo branco; grayscale mantém uniforme. */
.client-logo.has-bg {
  filter: grayscale(1);
  opacity: .8;
  mix-blend-mode: multiply;
}
[data-theme="dark"] .client-logo.has-bg {
  filter: grayscale(1) invert(1);
  opacity: .85;
  mix-blend-mode: screen;
}
.client-logo.has-bg:hover {
  filter: none;
  mix-blend-mode: normal;
  opacity: 1;
}
[data-theme="dark"] .client-logo.has-bg:hover {
  filter: invert(1);
  mix-blend-mode: screen;
  opacity: 1;
}

/* Logos com variantes light/dark otimizadas pela empresa — não filtrar */
.client-logo.logo-variant {
  filter: none;
  opacity: .85;
}
[data-theme="dark"] .client-logo.logo-variant {
  filter: none;
  opacity: .95;
}
.client-logo.logo-variant:hover { opacity: 1; }

/* Fallback para navegadores sem suporte a filter (raro) */
@supports not (filter: brightness(0)) {
  .client-logo { filter: none; opacity: .8; }
}
@media (max-width: 900px) {
  .clients-grid { grid-template-columns: repeat(3, 1fr); gap: 28px 32px; }
  .client-logo { width: 160px; height: 64px; font-size: 15px; }
}
@media (max-width: 600px) {
  .clients-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* ---------- METRIC STRIP ---------- */
.metrics { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; background: var(--surface); }
.metric { padding: 28px 32px; border-right: 1px solid var(--border); }
.metric:last-child { border-right: none; }
.metric-num { font-family: var(--font-display); font-size: 42px; font-weight: 500; letter-spacing: -.025em; color: var(--text); line-height: 1; }
.metric-num sup { font-size: 18px; font-weight: 500; margin-left: 4px; color: var(--primary); }
.metric-cap { margin-top: 10px; font-size: 13px; color: var(--text-muted); }
@media (max-width: 900px) { .metrics { grid-template-columns: repeat(2,1fr); } .metric { border-bottom: 1px solid var(--border); } .metric:nth-last-child(-n+2) { border-bottom: none; } .metric:nth-child(2n) { border-right: none; } }

/* ---------- CTA BLOCK ---------- */
.cta-block { padding: 80px 0; }
.cta-card { position: relative; background: linear-gradient(135deg, var(--brand-800) 0%, var(--brand-600) 55%, var(--brand-500) 100%); color: #fff; border-radius: var(--r-2xl); padding: 56px 64px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; overflow: hidden; }
.cta-card::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(to right, rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(ellipse at 80% 50%, black, transparent 80%); -webkit-mask-image: radial-gradient(ellipse at 80% 50%, black, transparent 80%); }
.cta-card::after { content: ""; position: absolute; right: -120px; top: -120px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(255,255,255,.16), transparent 65%); pointer-events: none; }
.cta-content { position: relative; z-index: 1; }
.cta-title { font-family: var(--font-display); font-size: clamp(28px, 3.2vw, 40px); line-height: 1.1; letter-spacing: -.02em; font-weight: 500; margin: 0 0 16px; text-wrap: balance; }
.cta-sub { font-size: 16px; opacity: .85; margin: 0 0 28px; max-width: 520px; }
.cta-buttons { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-buttons .btn-primary { background: #fff; color: var(--brand-700); }
.cta-buttons .btn-primary:hover { background: var(--brand-50); }
.cta-buttons .btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.cta-buttons .btn-secondary:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); }
@media (max-width: 900px) { .cta-card { grid-template-columns: 1fr; padding: 40px 28px; } }

/* ---------- FORM ---------- */
.form { display: flex; flex-direction: column; gap: 16px; }
.form label { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.form input:not([type="checkbox"]):not([type="radio"]), .form textarea, .form select {
  width: 100%; padding: 12px 14px; font-size: 14.5px; font-family: inherit;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border); border-radius: var(--r-md);
  transition: border-color .15s, box-shadow .15s;
}
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--focus-ring); }
.form input[type="checkbox"] { flex: 0 0 auto; width: auto; }
.form textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }
.contact-box { background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; }
.contact-box h4 { font-family: var(--font-display); font-weight: 500; font-size: 17px; margin: 0 0 6px; }
.contact-box p { margin: 0 0 6px; font-size: 14px; color: var(--text-muted); }
.contact-box a { color: var(--primary); font-weight: 500; }
.contact-box + .contact-box { margin-top: 16px; }

/* ---------- FOOTER ---------- */
.footer { padding: 80px 0 32px; border-top: 1px solid var(--border); background: var(--bg-subtle); }
.footer-inner { max-width: var(--page-max); margin: 0 auto; padding: 0 var(--gutter); }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand p { color: var(--text-muted); font-size: 13.5px; max-width: 280px; line-height: 1.5; margin: 0 0 20px; }
.footer-status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); font-size: 12.5px; color: var(--text-muted); font-family: var(--font-mono); }
.footer-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 30%, transparent); }
.footer-col h5 { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-subtle); margin: 0 0 16px; font-weight: 500; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13.5px; color: var(--text-muted); transition: color .15s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--text-subtle); flex-wrap: wrap; gap: 16px; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: var(--text-muted); }
.footer-legal a:hover { color: var(--text); }
.footer-mega { font-family: var(--font-display); font-size: clamp(60px, 14vw, 200px); line-height: .85; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px var(--border); margin-top: 48px; user-select: none; font-weight: 500; white-space: nowrap; overflow: hidden; }
@media (max-width: 1100px) { .footer-top { grid-template-columns: 1fr 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 600px) { .footer-top { grid-template-columns: 1fr 1fr; } }
