/* ============================================================
   zeOOs by Precode — folha de estilo
   Identidade Brand Essentials v1.0 (2026)
   Azul Principal #003F8C · Azul Secundário #1E63FF · Azul Claro #6FB4FF
   Cinza Escuro #1A1A1A · Cinza Médio #6B7280 · Neutro #F4F7FB
   League Spartan (títulos) · Inter (corpo) · IBM Plex Mono (dados)
   ============================================================ */

:root {
  /* marca — paleta oficial do brandbook */
  --brand:        #003F8C;   /* Azul Principal */
  --brand-hover:  #002C63;
  --brand-soft:   #E7EEF9;
  --sky:          #1E63FF;   /* Azul Secundário */
  --accent:       #6FB4FF;   /* Azul Claro */

  /* superfícies e texto */
  --bg:           #FFFFFF;
  --surface:      #FFFFFF;
  --surface-2:    #F4F7FB;   /* neutro do brandbook */
  --surface-3:    #E9EFF8;
  --line:         #DFE7F2;
  --line-strong:  #C3D1E5;

  --heading:      #003F8C;
  --text:         #1A1A1A;   /* Cinza Escuro */
  --muted:        #6B7280;   /* Cinza Médio */
  --faint:        #98A1B0;

  --on-brand:     #FFFFFF;

  /* faixas de marca */
  --band-bg:      #003F8C;
  --band-fg:      #FFFFFF;
  --band-btn-bg:  #FFFFFF;
  --band-btn-fg:  #003F8C;

  /* estado */
  --ok:           #1B8A5A;
  --warn:         #B8791B;

  /* métrica */
  --wrap: 1160px;
  --r-sm: 4px;
  --r:    8px;
  --r-lg: 14px;

  --shadow: 0 1px 2px rgba(20,40,70,.05), 0 8px 24px -12px rgba(20,40,70,.14);
  --shadow-lift: 0 2px 4px rgba(20,40,70,.06), 0 18px 40px -18px rgba(20,40,70,.24);

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --brand:        #6FB4FF;
    --brand-hover:  #9BCDFF;
    --brand-soft:   #10233F;
    --sky:          #4C82FF;
    --accent:       #6FB4FF;

    --bg:           #080F1C;
    --surface:      #0D1728;
    --surface-2:    #101B2E;
    --surface-3:    #16243C;
    --line:         #1D2E4A;
    --line-strong:  #2A3F63;

    --heading:      #DFEAFA;
    --text:         #C9D6E9;
    --muted:        #94A2B8;
    --faint:        #6F7F97;

    --on-brand:     #05101F;

  --band-bg:      #0B1E3C;
  --band-fg:      #E1ECFB;
  --band-btn-bg:  #6FB4FF;
  --band-btn-fg:  #05101F;

    --band-bg:      #0B1E3C;
    --band-fg:      #E1ECFB;
    --band-btn-bg:  #6FB4FF;
    --band-btn-fg:  #05101F;

    --ok:           #46C08A;
    --warn:         #E0AC55;

    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px -12px rgba(0,0,0,.6);
    --shadow-lift: 0 2px 4px rgba(0,0,0,.4), 0 18px 40px -18px rgba(0,0,0,.7);
  }
}

:root[data-theme="dark"] {
  --brand:        #6FB4FF;
  --brand-hover:  #9BCDFF;
  --brand-soft:   #10233F;
  --sky:          #4C82FF;
  --accent:       #6FB4FF;

  --bg:           #080F1C;
  --surface:      #0D1728;
  --surface-2:    #101B2E;
  --surface-3:    #16243C;
  --line:         #1D2E4A;
  --line-strong:  #2A3F63;

  --heading:      #DFEAFA;
  --text:         #C9D6E9;
  --muted:        #94A2B8;
  --faint:        #6F7F97;

  --on-brand:     #05101F;

  --ok:           #46C08A;
  --warn:         #E0AC55;

  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px -12px rgba(0,0,0,.6);
  --shadow-lift: 0 2px 4px rgba(0,0,0,.4), 0 18px 40px -18px rgba(0,0,0,.7);
}

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", ui-sans-serif, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16.5px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: "League Spartan", "Inter", ui-sans-serif, sans-serif;
  color: var(--heading);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin: 0;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
img { max-width: 100%; display: block; }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-hover); }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

.mono {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-variant-numeric: tabular-nums;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }

.eyebrow {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 500;
  display: block;
}

.sr { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }

/* ---------- header ---------- */

.hdr {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.hdr.scrolled { border-bottom-color: var(--line); }

.hdr-in {
  display: flex; align-items: center; gap: 18px;
  height: 66px;
  max-width: var(--wrap); margin-inline: auto; padding-inline: 22px;
}

.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 30px; width: auto; }
.brand .lg-dark { display: none; }
:root[data-theme="dark"] .brand .lg-light,
.brand .lg-light { display: block; }
:root[data-theme="dark"] .brand .lg-light { display: none; }
:root[data-theme="dark"] .brand .lg-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand .lg-light { display: none; }
  :root:not([data-theme="light"]) .brand .lg-dark { display: block; }
}

.nav { display: flex; align-items: center; gap: 3px; margin-inline-start: auto; }
.nav a {
  font-size: 14.5px; color: var(--text); padding: 8px 11px; border-radius: var(--r-sm);
  white-space: nowrap; font-weight: 400;
}
.nav a:hover { background: var(--surface-2); color: var(--heading); }
.nav a.on { color: var(--brand); font-weight: 600; }

/* menu suspenso de Soluções */
.navdd { position: relative; display: flex; align-items: center; }
.navdd > a { display: inline-flex; align-items: center; gap: 6px; }
.navdd > a svg { width: 10px; height: 10px; opacity: .55; transition: transform .18s ease; }
.navdd::after { content: ""; position: absolute; top: 100%; inset-inline: 0; height: 14px; }
.navdd-menu {
  position: absolute; top: calc(100% + 12px); inset-inline-start: -6px; min-width: 272px; z-index: 80;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow-lift); padding: 7px; display: flex; flex-direction: column; gap: 1px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.navdd:hover .navdd-menu, .navdd:focus-within .navdd-menu { opacity: 1; visibility: visible; transform: none; }
.navdd:hover > a svg, .navdd:focus-within > a svg { transform: rotate(180deg); }
.navdd-menu a {
  display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: var(--r-sm);
  color: var(--heading); font-size: 14.8px; font-weight: 600; white-space: normal;
}
.navdd-menu a:hover { background: var(--surface-2); color: var(--brand); }
.navdd-menu a.on { color: var(--brand); }
.navdd-menu a .d { font-size: 12.6px; color: var(--muted); font-weight: 400; line-height: 1.4; }

@media (prefers-reduced-motion: reduce) { .navdd-menu { transition: none; } }

.hdr-act { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }

/* entrada de cliente (plataforma) */
.hdr-login {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  font-size: 14px; font-weight: 500; color: var(--muted);
  padding: 7px 11px; border-radius: var(--r-sm); border: 1px solid transparent;
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}
.hdr-login svg { width: 15px; height: 15px; opacity: .65; flex: 0 0 auto; }
.hdr-login:hover { color: var(--brand); background: var(--surface-2); border-color: var(--line); }
.hdr-login:hover svg { opacity: 1; }
.hdr-sep { width: 1px; height: 19px; background: var(--line); flex: 0 0 auto; }
@media (max-width: 1060px) { .hdr-login span { display: none; } .hdr-login { padding: 7px 9px; } }

.lang {
  position: relative;
}
.lang-btn {
  display: flex; align-items: center; gap: 6px;
  font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 12px; font-weight: 500;
  background: transparent; border: 1px solid var(--line); color: var(--text);
  padding: 7px 10px; border-radius: var(--r-sm); cursor: pointer; letter-spacing: .05em;
}
.lang-btn:hover { border-color: var(--line-strong); }
.lang-btn svg { width: 10px; height: 10px; opacity: .6; }
.lang-menu {
  position: absolute; top: calc(100% + 7px); inset-inline-end: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow-lift); padding: 5px; min-width: 154px; display: none; z-index: 80;
}
.lang-menu.open { display: block; }
.lang-menu button {
  display: flex; width: 100%; align-items: center; gap: 10px;
  background: none; border: 0; cursor: pointer; text-align: start;
  padding: 8px 10px; border-radius: var(--r-sm); color: var(--text);
  font: inherit; font-size: 14px;
}
.lang-menu button:hover { background: var(--surface-2); }
.lang-menu button[aria-current="true"] { color: var(--brand); font-weight: 600; }
.lang-menu .code { font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 11px; color: var(--faint); letter-spacing: .08em; }

.burger {
  display: none; width: 40px; height: 38px; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line); border-radius: var(--r-sm); cursor: pointer;
}
.burger span { display: block; width: 17px; height: 1.5px; background: var(--heading); position: relative; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; inset-inline-start: 0; width: 17px; height: 1.5px; background: var(--heading);
  transition: transform .22s ease, top .22s ease;
}
.burger span::before { top: -5.5px; } .burger span::after { top: 5.5px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

/* ---------- botões ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: "Inter", sans-serif; font-size: 15px; font-weight: 600;
  padding: 12px 20px; border-radius: var(--r-sm); border: 1px solid transparent;
  cursor: pointer; white-space: nowrap; transition: background .16s ease, border-color .16s ease, transform .16s ease;
}
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: var(--brand-hover); color: var(--on-brand); }
.btn-ghost { background: transparent; color: var(--heading); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); background: var(--surface-2); }
.btn-sm { padding: 9px 15px; font-size: 14px; }
.btn:active { transform: translateY(1px); }

.link-arrow { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 15px; }
.link-arrow::after { content: "→"; transition: transform .18s ease; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- secções ---------- */

.sec { padding-block: 72px; }
.sec-tight { padding-block: 52px; }
.sec-alt { background: var(--surface-2); border-block: 1px solid var(--line); }

.sec-head { max-width: 640px; display: flex; flex-direction: column; gap: 13px; margin-bottom: 38px; }
.sec-head h2 { font-size: clamp(27px, 3.4vw, 38px); }
.sec-head p { color: var(--muted); font-size: 17px; }

/* ---------- hero ---------- */

.hero { padding-block: 62px 60px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset-block-start: -220px; inset-inline-end: -180px;
  width: 640px; height: 640px; border-radius: 50%;
  border: 1px solid var(--line); opacity: .9; pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset-block-start: -120px; inset-inline-end: 40px;
  width: 420px; height: 420px; border-radius: 50%;
  border: 1px solid var(--line); pointer-events: none;
}
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0,1.08fr) minmax(0,.92fr); gap: 54px; align-items: center; }

.hero h1 {
  font-size: clamp(42px, 7.4vw, 82px);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-block: 18px 20px;
}
.hero h1 .dot { color: var(--brand); }
.hero-lead { font-size: clamp(16.5px, 1.9vw, 19px); color: var(--muted); max-width: 33em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 28px 18px; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.hero-checks span { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--muted); }
.hero-checks svg { width: 15px; height: 15px; color: var(--brand); flex: 0 0 auto; }
.hero-micro { margin-top: 16px; font-size: 12px; color: var(--faint); font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .04em; }

/* consola */
.console {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lift); overflow: hidden;
}
.console-bar {
  display: flex; align-items: center; gap: 8px; padding: 11px 14px;
  border-bottom: 1px solid var(--line); background: var(--surface-2);
}
.console-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); display: block; }
.console-bar .t { font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 11px; color: var(--faint); margin-inline-start: 6px; letter-spacing: .04em; }
.console-bar .live { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 6px; font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 10px; color: var(--ok); text-transform: uppercase; letter-spacing: .1em; }
.console-bar .live b { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); display: block; }

.console-body { padding: 20px 18px 18px; }
.console-count { display: flex; align-items: baseline; gap: 12px; margin-bottom: 4px; }
.console-count .n {
  font-family: "League Spartan", "Helvetica Neue", Arial, sans-serif; font-weight: 800; font-size: 62px; line-height: 1;
  color: var(--heading); font-variant-numeric: tabular-nums;
}
.console-count .n.zero { color: var(--brand); }
.console-count .lbl { font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 11px; color: var(--faint); text-transform: uppercase; letter-spacing: .12em; }
.console-rows { list-style: none; display: flex; flex-direction: column; margin-top: 16px; }
.console-rows li {
  display: flex; align-items: center; gap: 10px; padding: 10px 0;
  border-top: 1px solid var(--line); font-size: 13.5px;
}
.console-rows li .nm { color: var(--muted); flex: 1; min-width: 0; }
.console-rows li .st {
  font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em;
  color: var(--ok); display: inline-flex; align-items: center; gap: 6px; opacity: 0; transform: translateY(2px);
  transition: opacity .35s ease, transform .35s ease;
}
.console-rows li.done .st { opacity: 1; transform: none; }
.console-rows li .st svg { width: 12px; height: 12px; }

/* ---------- grelhas de cartões ---------- */

.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 24px; display: flex; flex-direction: column; gap: 11px;
}
.card h3 { font-size: 19px; }
.card p { color: var(--muted); font-size: 15.2px; }

.step { display: flex; flex-direction: column; gap: 11px; }
.step .n {
  font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 11px; letter-spacing: .12em;
  color: var(--brand); font-weight: 500;
  padding-bottom: 12px; border-bottom: 2px solid var(--brand);
  width: fit-content; min-width: 46px;
}
.step h3 { font-size: 20px; margin-top: 4px; }
.step p { color: var(--muted); font-size: 15.2px; }

/* lista de verificação */
.checks { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.checks li { display: flex; gap: 11px; font-size: 15.4px; color: var(--text); }
.checks li::before {
  content: ""; flex: 0 0 auto; width: 7px; height: 7px; margin-top: 9px; border-radius: 50%;
  background: var(--brand);
}
.checks.neg li::before { background: var(--line-strong); }

/* ---------- faixa IA ---------- */

.ai-band { background: var(--band-bg); color: var(--band-fg); }
.ai-band h2, .ai-band h3 { color: var(--band-fg); }
.ai-band .lead { color: color-mix(in srgb, var(--band-fg) 82%, transparent); font-size: 17.5px; max-width: 46em; }
.ai-band .eyebrow { color: var(--accent); }
.ai-band .checks li { color: color-mix(in srgb, var(--band-fg) 92%, transparent); }
.ai-band .checks li::before { background: var(--accent); }
.ai-band .note {
  margin-top: 26px; padding-top: 20px; border-top: 1px solid color-mix(in srgb, var(--band-fg) 26%, transparent);
  font-size: 15px; color: color-mix(in srgb, var(--band-fg) 78%, transparent);
}
.ai-band .btn-ghost { border-color: color-mix(in srgb, var(--band-fg) 42%, transparent); color: var(--band-fg); }
.ai-band .btn-ghost:hover { background: color-mix(in srgb, var(--band-fg) 12%, transparent); border-color: var(--band-fg); color: var(--band-fg); }
.ai-grid { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); gap: 48px; align-items: start; }

/* ---------- marketplaces ---------- */

.mp-strip { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
.mp-chip {
  display: flex; flex-direction: column; gap: 3px; padding: 14px 15px;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--surface);
  transition: border-color .16s ease, transform .16s ease;
}
.mp-chip:hover { border-color: var(--brand); transform: translateY(-2px); }
.mp-chip .nm { font-family: "League Spartan", "Helvetica Neue", Arial, sans-serif; font-weight: 700; font-size: 16px; color: var(--heading); }
.mp-chip .mk { font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 10.5px; color: var(--faint); letter-spacing: .07em; }

.mp-table { width: 100%; border-collapse: collapse; font-size: 14.6px; }
.mp-table th {
  text-align: start; font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 10.5px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .1em; color: var(--faint);
  padding: 0 14px 11px 0; border-bottom: 1px solid var(--line); white-space: nowrap;
}
.mp-table td { padding: 15px 14px 15px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.mp-table tr:hover td { background: var(--surface-2); }
.mp-table .nm { font-family: "League Spartan", "Helvetica Neue", Arial, sans-serif; font-weight: 700; font-size: 17px; color: var(--heading); }
.mp-table .nm a { color: inherit; }
.mp-table .nm a:hover { color: var(--brand); }
.mp-table .num { font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-variant-numeric: tabular-nums; color: var(--text); white-space: nowrap; }
.mp-table .sub { font-size: 12px; color: var(--faint); display: block; margin-top: 2px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.filters button {
  font: inherit; font-size: 13.5px; padding: 7px 14px; border-radius: 100px; cursor: pointer;
  background: transparent; border: 1px solid var(--line); color: var(--muted);
}
.filters button:hover { border-color: var(--line-strong); color: var(--text); }
.filters button.on { background: var(--brand); border-color: var(--brand); color: var(--on-brand); font-weight: 600; }

.flags { display: flex; flex-wrap: wrap; gap: 5px; }
.flag {
  font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 10px; letter-spacing: .06em;
  padding: 3px 6px; border-radius: 3px; background: var(--surface-3); color: var(--muted);
}

/* ficha de marketplace */
.mp-hero { display: flex; flex-direction: column; gap: 16px; }
.mp-hero h1 { font-size: clamp(34px, 5.4vw, 54px); }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin-block: 30px; }
.tile {
  border: 1px solid var(--line); border-radius: var(--r); padding: 18px; background: var(--surface);
  display: flex; flex-direction: column; gap: 5px;
}
.tile .k { font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 10.5px; text-transform: uppercase; letter-spacing: .11em; color: var(--faint); }
.tile .v { font-family: "League Spartan", "Helvetica Neue", Arial, sans-serif; font-weight: 700; font-size: 28px; color: var(--heading); font-variant-numeric: tabular-nums; }
.tile .v.sm { font-size: 19px; line-height: 1.25; }
.tile .n { font-size: 12.5px; color: var(--muted); }

.prose { display: flex; flex-direction: column; gap: 26px; max-width: 68ch; }
.prose section { display: flex; flex-direction: column; gap: 9px; }
.prose h3 { font-size: 15px; font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; color: var(--brand); }
.prose p { font-size: 16.4px; color: var(--text); }

.srcline {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 30px;
  padding-top: 16px; border-top: 1px solid var(--line);
  font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 11.5px; color: var(--faint); letter-spacing: .02em;
}
.badge {
  font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
  padding: 3px 7px; border-radius: 3px; border: 1px solid var(--line-strong); color: var(--muted);
}
.badge.high { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 45%, transparent); }
.badge.low  { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 45%, transparent); }

.notice {
  border-inline-start: 3px solid var(--brand); background: var(--surface-2);
  padding: 15px 18px; border-radius: 0 var(--r) var(--r) 0; font-size: 14.4px; color: var(--muted);
}

/* ---------- números ---------- */

.stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.stat { background: var(--surface); padding: 26px 22px; display: flex; flex-direction: column; gap: 7px; }
.stat .v {
  font-family: "League Spartan", "Helvetica Neue", Arial, sans-serif; font-weight: 800; font-size: clamp(34px, 4.6vw, 46px);
  color: var(--brand); line-height: 1; font-variant-numeric: tabular-nums;
}
.stat .t { font-size: 14.6px; color: var(--heading); font-weight: 600; line-height: 1.4; }
.stat .d { font-size: 14px; color: var(--muted); }
.stat .s { font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 10.5px; color: var(--faint); margin-top: auto; padding-top: 10px; letter-spacing: .03em; }
.stat .s a { color: var(--faint); text-decoration: underline; text-underline-offset: 2px; }
.stat .s a:hover { color: var(--brand); }

/* ---------- formulário ---------- */

.form-block { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 52px; align-items: start; }
.form {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 15px;
}
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12.5px; font-weight: 600; color: var(--heading); letter-spacing: .01em; }
.field label .req { color: var(--brand); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; color: var(--text); background: var(--bg);
  border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: 11px 12px; width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 92px; line-height: 1.55; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 16%, transparent);
}
.field.err input, .field.err select, .field.err textarea { border-color: #C0392B; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.form-foot .privacy { font-size: 12.4px; color: var(--faint); flex: 1; min-width: 190px; }
.form-msg { font-size: 13.5px; color: #C0392B; }

.form-ok { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; padding: 8px 0; }
.form-ok .ic { width: 40px; height: 40px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.form-ok .ic svg { width: 20px; height: 20px; }
.form-ok h3 { font-size: 22px; }
.form-ok p { color: var(--muted); font-size: 15.4px; }

/* captação compacta */
.catch {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r);
  padding: 16px 18px;
}
.catch .lb { font-size: 15px; font-weight: 600; color: var(--heading); flex: 1 1 220px; }
.catch input { flex: 1 1 190px; font: inherit; font-size: 15px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--bg); color: var(--text); }
.catch input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 16%, transparent); }

/* ---------- CTA final ---------- */

.cta-band { background: var(--band-bg); color: var(--band-fg); }
.cta-band h2 { color: var(--band-fg); font-size: clamp(28px, 4vw, 42px); }
.cta-band p { color: color-mix(in srgb, var(--band-fg) 82%, transparent); font-size: 17.5px; max-width: 42em; }
.cta-band .btn-primary { background: var(--band-btn-bg); color: var(--band-btn-fg); }
.cta-band .btn-primary:hover { background: color-mix(in srgb, var(--band-btn-bg) 86%, var(--accent)); color: var(--band-btn-fg); }
.cta-band .mark { width: 46px; height: 3px; background: var(--accent); margin-bottom: 22px; }

/* ---------- rodapé ---------- */

.ftr { border-top: 1px solid var(--line); background: var(--surface-2); padding-block: 46px 30px; }
.ftr-grid { display: grid; grid-template-columns: minmax(0,1.5fr) repeat(3, minmax(0,1fr)); gap: 34px; }
.ftr h4 { font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 10.5px; font-weight: 500; text-transform: uppercase; letter-spacing: .12em; color: var(--faint); margin-bottom: 13px; }
.ftr ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.ftr a { font-size: 14.4px; color: var(--muted); }
.ftr a:hover { color: var(--brand); }
.ftr .ftr-login { display: inline-flex; align-items: center; gap: 5px; color: var(--heading); font-weight: 500; }
.ftr .ftr-login svg { width: 11px; height: 11px; opacity: .6; }
.ftr .ftr-login:hover { color: var(--brand); }
.ftr .tag { font-size: 14.4px; color: var(--muted); max-width: 30em; margin-top: 14px; }
.ftr img { height: 28px; width: auto; }
.ftr-btm {
  margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center;
  font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 11px; color: var(--faint); letter-spacing: .02em;
}

/* ---------- rodapé: seletor de idioma na barra inferior ---------- */
.ftr-btm { justify-content: space-between; }
.ftr-langs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 15px; }
.ftr-langs a {
  font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--faint);
}
.ftr-langs a:hover { color: var(--brand); }
.ftr-langs a[aria-current] { color: var(--brand); font-weight: 500; }
.ftr .ftr-more { color: var(--heading); font-weight: 500; }
.ftr .ftr-mail { display: block; margin-top: 12px; font-size: 14.4px; }

/* ---------- barra fixa mobile ---------- */

.sticky-cta {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 55; display: none;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: blur(12px); border-top: 1px solid var(--line);
}
.sticky-cta .btn { width: 100%; }

/* ---------- painel mobile ---------- */

.mnav {
  position: fixed; inset: 66px 0 0; z-index: 58; background: var(--bg);
  padding: 12px 22px 40px; overflow-y: auto; display: none; flex-direction: column;
}
.mnav.open { display: flex; }
.mnav a {
  display: flex; align-items: center; justify-content: space-between;
  font-family: "League Spartan", "Helvetica Neue", Arial, sans-serif; font-weight: 700; font-size: 23px; color: var(--heading);
  padding: 15px 0; border-bottom: 1px solid var(--line);
}
.mnav a.on { color: var(--brand); }
.mnav a.sub { font-size: 17px; font-weight: 400; font-family: "Inter", sans-serif; color: var(--muted); padding: 12px 0 12px 16px; }
.mnav a.sub.on { color: var(--brand); }
.mnav a::after { content: "→"; font-family: "Inter", sans-serif; font-size: 16px; color: var(--faint); font-weight: 400; }
.mnav .btn { margin-top: 24px; }
.mnav .btn + .btn { margin-top: 10px; }
.mnav .btn-ghost { justify-content: center; gap: 8px; }
.mnav .btn-ghost::after { content: none; }
.mnav .btn-ghost svg { width: 15px; height: 15px; flex: 0 0 auto; }
.mnav-langs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.mnav-langs button {
  font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 12px; letter-spacing: .06em;
  padding: 8px 13px; border-radius: var(--r-sm); border: 1px solid var(--line); background: transparent;
  color: var(--muted); cursor: pointer;
}
.mnav-langs button[aria-current="true"] { border-color: var(--brand); color: var(--brand); font-weight: 600; }

/* ---------- acordeão (mobile) ---------- */

details.acc { border-bottom: 1px solid var(--line); }
details.acc summary {
  list-style: none; cursor: pointer; padding: 16px 0; display: flex; align-items: center; gap: 12px;
  font-family: "League Spartan", "Helvetica Neue", Arial, sans-serif; font-weight: 700; font-size: 18px; color: var(--heading);
}
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after {
  content: "+"; margin-inline-start: auto; font-family: "Inter", sans-serif; font-weight: 400;
  font-size: 21px; color: var(--brand); line-height: 1;
}
details.acc[open] summary::after { content: "–"; }
details.acc .acc-body { padding-bottom: 18px; color: var(--muted); font-size: 15.2px; }

/* ---------- animação de entrada ---------- */

.rise { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.rise.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rise { opacity: 1; transform: none; transition: none; }
  .console-rows li .st { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   RESPONSIVO
   ============================================================ */

@media (max-width: 1020px) {
  .hero-in { grid-template-columns: 1fr; gap: 38px; }
  .ai-grid { grid-template-columns: 1fr; gap: 30px; }
  .form-block { grid-template-columns: 1fr; gap: 30px; }
  .mp-strip { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .ftr-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: flex; }
  .hdr-act { margin-inline-start: auto; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 18px; }
  .hdr-in { padding-inline: 18px; }

  .sec { padding-block: 46px; }
  .sec-tight { padding-block: 34px; }
  .sec-head { margin-bottom: 26px; gap: 10px; }
  .sec-head p { font-size: 15.6px; }

  .hero { padding-block: 34px 40px; }
  .hero::before, .hero::after { display: none; }
  .hero h1 { margin-block: 12px 14px; letter-spacing: -0.03em; }
  .hero-lead { font-size: 16.4px; }
  .hero-cta { margin-block: 22px 14px; gap: 9px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-checks { gap: 8px 18px; }

  .console-body { padding: 16px 15px 14px; }
  .console-count .n { font-size: 46px; }
  .console-rows li { padding: 8px 0; font-size: 12.8px; }

  .grid { gap: 12px; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .card { padding: 19px; gap: 8px; }
  .card h3 { font-size: 17.5px; }
  .card p { font-size: 14.8px; }

  .mp-strip { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
  .mp-chip { padding: 11px 12px; }

  .stats { grid-template-columns: 1fr; }
  .stat { padding: 20px 18px; }

  .tiles { grid-template-columns: 1fr; gap: 10px; margin-block: 22px; }
  .tile { padding: 15px; flex-direction: row; align-items: baseline; gap: 12px; flex-wrap: wrap; }
  .tile .k { flex: 0 0 100%; }
  .tile .v { font-size: 24px; }
  .tile .v.sm { font-size: 17px; }

  .prose { gap: 20px; }
  .prose p { font-size: 15.8px; }

  .form { padding: 20px; }
  .fields { grid-template-columns: 1fr; gap: 12px; }
  .form-foot .btn { width: 100%; }

  .ftr-grid { grid-template-columns: 1fr; gap: 22px; }
  .ftr { padding-block: 34px 26px; }

  .sticky-cta { display: block; }
  body { padding-bottom: 66px; }

  .cta-band p { font-size: 16.2px; }
}

@media (max-width: 360px) {
  .hero h1 { font-size: 38px; }
}

@media print {
  .hdr, .sticky-cta, .mnav, .form { display: none !important; }
}


/* ---------- cartão-acordeão (expandido em desktop, fechado em mobile) ---------- */

details.acc-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 24px;
}
details.acc-card > summary { list-style: none; display: block; cursor: default; }
details.acc-card > summary::-webkit-details-marker { display: none; }
details.acc-card > summary h3 { font-size: 19px; }
details.acc-card .acc-body { color: var(--muted); font-size: 15.2px; padding-top: 11px; }
details.acc-card .acc-body p { color: inherit; font-size: inherit; }

@media (max-width: 700px) {
  details.acc-card { padding: 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  details.acc-card > summary {
    cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 15px 0;
  }
  details.acc-card > summary h3 { font-size: 17.5px; flex: 1; }
  details.acc-card > summary::after {
    content: "+"; font-family: "Inter", sans-serif; font-weight: 400; font-size: 22px;
    color: var(--brand); line-height: 1; flex: 0 0 auto;
  }
  details.acc-card[open] > summary::after { content: "–"; }
  details.acc-card .acc-body { padding: 0 0 16px; font-size: 14.9px; }

  /* a lista de canais mostra 6 em mobile; o resto vive na subpágina */
  .mp-strip .mp-chip:nth-child(n+7) { display: none; }

  /* rodapé em duas colunas para não alongar o scroll */
  .ftr-grid { grid-template-columns: 1fr 1fr; gap: 20px 18px; }
  .ftr-grid > div:first-child { grid-column: 1 / -1; }
  .ftr a { font-size: 13.8px; }
  .ftr .tag { font-size: 13.8px; }

  .sec { padding-block: 40px; }
  .stat { padding: 17px 16px; gap: 5px; }
  .stat .d { font-size: 13.4px; }
  .checks li { font-size: 14.9px; }
}

/* numeração dentro do cartão-acordeão */
details.acc-card > summary { display: flex; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
details.acc-card > summary .n {
  font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 11px; letter-spacing: .12em;
  color: var(--brand); font-weight: 500; flex: 0 0 auto;
  padding: 3px 7px; border: 1px solid color-mix(in srgb, var(--brand) 35%, transparent);
  border-radius: 3px; line-height: 1.4; margin-top: 3px;
}
details.acc-card > summary h3 { flex: 1 1 auto; min-width: 0; }

/* botão fantasma sobre fundo de marca */
.cta-band .btn-ghost {
  border-color: color-mix(in srgb, var(--band-fg) 45%, transparent);
  color: var(--band-fg);
}
.cta-band .btn-ghost:hover {
  background: color-mix(in srgb, var(--band-fg) 14%, transparent);
  border-color: var(--band-fg); color: var(--band-fg);
}

/* link de regresso */
.link-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 18px;
}
.link-back::before { content: "←"; transition: transform .18s ease; }
.link-back:hover { color: var(--brand); }
.link-back:hover::before { transform: translateX(-3px); }

/* ficha de marketplace: prosa + coluna de captação */
.mp-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 330px); gap: 46px; align-items: start; }
.mp-aside {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 22px; display: flex; flex-direction: column; gap: 13px; position: sticky; top: 86px;
}
.mp-aside h3 { font-size: 19px; }
.mp-aside p { color: var(--muted); font-size: 14.6px; }
.mp-aside .catch { background: var(--surface); flex-direction: column; align-items: stretch; padding: 14px; gap: 9px; }
.mp-aside .catch .lb { font-size: 13.4px; flex: none; }
.mp-aside .catch input,
.mp-aside .catch .btn { width: 100%; flex: none; }

@media (max-width: 960px) {
  .mp-body { grid-template-columns: 1fr; gap: 30px; }
  .mp-aside { position: static; }
}

/* Alternância entre a tabela (secretária) e os cartões (telemóvel).
   Nunca se veem os dois: são a mesma lista com duas formas.

   O `display` dos cartões vive SÓ aqui, no seletor duplo. Estava em
   `.mp-cards { display: flex }` mais abaixo — mesma especificidade que
   `.only-sm { display: none }` e escrito depois, portanto ganhava, e os
   cartões apareciam na secretária por baixo da tabela. */
.only-sm { display: none; }
.mp-cards.only-sm { display: none; }
@media (max-width: 700px) {
  .only-lg { display: none; }
  .only-sm { display: block; }
  .mp-cards.only-sm { display: flex; }
}

.mp-cards { flex-direction: column; gap: 10px; }
.mp-card {
  display: flex; flex-direction: column; gap: 11px;
  border: 1px solid var(--line); border-radius: var(--r); padding: 15px 16px;
  background: var(--surface); color: var(--text);
}
.mp-card:hover { border-color: var(--brand); }
.mp-card-hd { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.mp-card-hd .nm { font-family: "League Spartan", "Helvetica Neue", Arial, sans-serif; font-weight: 700; font-size: 18px; color: var(--heading); }
.mp-card-hd .ct {
  font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--faint); margin-inline-start: auto;
}
.mp-card-dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.mp-card-dl div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mp-card-dl dt {
  font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--faint);
}
.mp-card-dl dd { margin: 0; font-size: 15px; color: var(--heading); font-weight: 600; }

/* utilitários de layout adicionados no build */
@media (max-width: 900px) { .hide-sm { display: none !important; } }


/* ============================================================
   BLOCOS NOVOS — clientes, percurso, mapa, blogue
   ============================================================ */

/* ---------- faixa de logótipos de clientes ---------- */

.clients { padding-block: 46px; border-block: 1px solid var(--line); background: var(--surface-2); }
.clients-lb {
  text-align: center; font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 11px;
  text-transform: uppercase; letter-spacing: .22em; color: var(--faint); margin-bottom: 30px;
}
/* Flex, não grid. Com uma grelha de seis colunas a última fila encostava à
   esquerda — nove logótipos dão 6 + 3, e os três ficavam nas colunas 1 a 3.
   Em flex, `justify-content: center` centra cada fila, inclusive a última.
   A largura de cada mosaico vem do flex-basis, para manter as seis colunas. */
.clients-row {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 16px 26px; align-items: center;
}
.client {
  display: flex; align-items: center; justify-content: center;
  flex: 0 1 calc((100% - 5 * 26px) / 6);
  height: 58px; padding: 8px 10px; border-radius: var(--r);
}
.client img {
  max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain;
  filter: grayscale(1); opacity: .62; transition: filter .2s ease, opacity .2s ease;
}
.client:hover img { filter: grayscale(0); opacity: 1; }
/* marcador visual enquanto não há ficheiro de logótipo */
.client .slot {
  display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;
  border: 1px dashed var(--line-strong); border-radius: var(--r);
  font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--faint); text-align: center; padding: 6px;
}

/* Os cortes por largura vivem todos junto do resto da faixa, mais abaixo.
   Havia aqui um segundo par (3 e 2 colunas) que nunca chegou a pegar: o par
   de baixo é escrito depois, com a mesma especificidade, e ganhava sempre. */

/* ---------- Sobre: cabeçalho com key visual ---------- */

.about-hero { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.92fr); gap: 50px; align-items: center; }
.about-hero .sec-head { margin-bottom: 0; max-width: none; }

.kv { display: flex; flex-direction: column; gap: 12px; }
.kv-frame {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface-2); padding: 16px 14px;
}
.kv svg { width: 100%; height: auto; display: block; }
.kv .ring { fill: none; stroke: var(--brand); stroke-width: 9; }
.kv .wire { fill: none; stroke: var(--line-strong); stroke-width: 1.4; stroke-dasharray: 4 5; }
.kv .node-out { fill: var(--surface); stroke: var(--brand); stroke-width: 2.4; }
.kv .node-in { fill: var(--brand); }
.kv .bar { fill: var(--brand); opacity: .5; }
.kv .wire.on { stroke: var(--brand); stroke-dasharray: none; opacity: .75; }
.kv .dotm { fill: var(--brand); }
.kv .halo { fill: none; stroke: var(--brand); stroke-width: 1.2; opacity: .35; }
.kv .cap {
  font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 10.5px; letter-spacing: .11em;
  text-transform: uppercase; fill: var(--faint);
}
.kv figcaption { font-size: 13.6px; color: var(--muted); text-align: center; }

@media (max-width: 900px) { .about-hero { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- percurso: três marcos lado a lado ---------- */

.tl { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.tl-item {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 22px 20px; display: flex; flex-direction: column; gap: 10px;
}
.tl-ic { width: 30px; height: 30px; color: var(--brand); }
.tl-year {
  font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 12px; font-weight: 500;
  letter-spacing: .16em; color: var(--brand);
}
.tl-item h3 { font-size: 19px; }
.tl-item p { color: var(--muted); font-size: 14.8px; }

@media (max-width: 860px) { .tl { grid-template-columns: 1fr; gap: 12px; } }

/* ---------- citação + pilares ---------- */

.quote-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); gap: 48px; align-items: center; }
.quote {
  font-family: "League Spartan", "Helvetica Neue", Arial, sans-serif; font-weight: 700;
  font-size: clamp(22px, 2.8vw, 31px); line-height: 1.18; color: var(--heading);
  border-inline-start: 4px solid var(--brand); padding-inline-start: 22px; margin: 0;
}
.quote-body { margin-top: 20px; padding-inline-start: 26px; color: var(--muted); font-size: 16px; }

.pillars { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.pillar { background: var(--surface); padding: 20px 18px; display: flex; gap: 13px; align-items: flex-start; }
.pillar .ic { width: 22px; height: 22px; color: var(--brand); flex: 0 0 auto; margin-top: 3px; }
.pillar .tx { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pillar .k { font-family: "League Spartan", "Helvetica Neue", Arial, sans-serif; font-weight: 700; font-size: 18px; color: var(--heading); }
.pillar .d { font-size: 14.4px; color: var(--muted); }

.claim-line {
  margin-top: 26px; font-family: "League Spartan", "Helvetica Neue", Arial, sans-serif; font-weight: 800;
  font-size: clamp(20px, 2.4vw, 26px); color: var(--brand); letter-spacing: -.01em;
}

@media (max-width: 900px) { .quote-grid { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 460px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- páginas de soluções: áreas de atuação + mantra ---------- */

.areas { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.area {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 20px 18px; display: flex; flex-direction: column; gap: 9px;
}
.area .ic { width: 26px; height: 26px; color: var(--brand); }
.area h3 { font-size: 16.5px; }
.area p { font-size: 14.2px; color: var(--muted); line-height: 1.55; }

@media (max-width: 1000px) { .areas { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 520px) { .areas { grid-template-columns: 1fr; gap: 10px; } }

.mantra { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; margin-top: 32px; }
.mantra-i { display: flex; flex-direction: column; gap: 7px; padding-top: 15px; border-top: 2px solid var(--accent); }
.mantra-i .k { font-family: "League Spartan", "Helvetica Neue", Arial, sans-serif; font-weight: 700; font-size: 19px; color: var(--band-fg); }
.mantra-i .d { font-size: 14.4px; color: color-mix(in srgb, var(--band-fg) 78%, transparent); }

@media (max-width: 860px) { .mantra { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; margin-top: 24px; } }
@media (max-width: 460px) { .mantra { grid-template-columns: 1fr; gap: 14px; } }

.fit-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
@media (max-width: 720px) { .fit-2 { grid-template-columns: 1fr; gap: 12px; } }

/* cartões das soluções */
.sol-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.sol-card {
  display: flex; flex-direction: column; gap: 12px; padding: 26px; color: var(--text);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  transition: border-color .18s ease, transform .18s ease;
}
.sol-card:hover { border-color: var(--brand); transform: translateY(-2px); color: var(--text); }
.sol-card .ic { width: 30px; height: 30px; color: var(--brand); }
.sol-card h3 { font-size: 21px; }
.sol-card p { color: var(--muted); font-size: 15.2px; }
.sol-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.sol-chips span {
  font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase;
  color: var(--brand); border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent);
  border-radius: 999px; padding: 4px 10px;
}
.sol-card .go { margin-top: auto; padding-top: 6px; color: var(--brand); }
@media (max-width: 760px) { .sol-grid { grid-template-columns: 1fr; gap: 12px; } }

/* gráfico do Intelligence Price */
.kv .axis { stroke: var(--line-strong); stroke-width: 1.2; }
.kv .band { fill: color-mix(in srgb, var(--brand) 12%, transparent); }
.kv .edge { fill: none; stroke: color-mix(in srgb, var(--brand) 45%, transparent); stroke-width: 1.3; stroke-dasharray: 5 4; }
.kv .mkt { fill: none; stroke: var(--faint); stroke-width: 1.6; stroke-dasharray: 4 4; }
.kv .you { fill: none; stroke: var(--brand); stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round; }

/* percurso ilustrado em quatro paragens */
.journey { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0,1fr); gap: 20px; position: relative; }
.journey::before {
  content: ""; position: absolute; z-index: 0; top: 32px; left: 10%; right: 10%; height: 2px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--brand) 30%, transparent), var(--brand));
}
.jn { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 13px; position: relative; z-index: 1; }
.jn .dot {
  width: 66px; height: 66px; flex: 0 0 auto; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--brand); color: var(--brand);
  display: grid; place-items: center;
}
.jn .dot svg { width: 28px; height: 28px; }
.jn .tx { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.jn .n { font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 11px; letter-spacing: .14em; color: var(--faint); }
.jn h3 { font-size: 17.5px; }
.jn p { font-size: 14.4px; color: var(--muted); max-width: 24ch; }

@media (max-width: 820px) {
  .journey { grid-auto-flow: row; grid-auto-columns: auto; gap: 16px; }
  .journey::before { top: 18px; bottom: 18px; left: 32px; right: auto; width: 2px; height: auto;
    background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 30%, transparent), var(--brand)); }
  .jn { flex-direction: row; align-items: flex-start; text-align: start; gap: 16px; }
  .jn .dot { width: 66px; height: 66px; }
  .jn .tx { align-items: flex-start; }
  .jn p { max-width: none; }
}

/* ---------- mapa "onde estamos" ---------- */

.geo { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.9fr); gap: 40px; align-items: center; }
.geo-map { max-width: 460px; margin-inline: auto; }
.geo-map { position: relative; }
.geo-map svg { width: 100%; height: auto; display: block; }
.geo-map .land { fill: var(--surface-3); stroke: var(--line-strong); stroke-width: .7; }
.geo-map .land.on { fill: color-mix(in srgb, var(--brand) 22%, var(--surface-3)); stroke: var(--brand); }
.geo-map .link { stroke: var(--brand); stroke-width: 1.6; stroke-dasharray: 5 5; fill: none; opacity: .65; }
.geo-map .pin { fill: var(--brand); }
.geo-map .pin-ring { fill: none; stroke: var(--brand); stroke-width: 1.4; opacity: .45; }
.geo-map .cap {
  font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 9.6px; letter-spacing: .1em;
  text-transform: uppercase; fill: var(--muted);
}
@media (prefers-reduced-motion: no-preference) {
  .geo-map .pin-ring { animation: geoPulse 2.6s ease-out infinite; transform-box: fill-box; transform-origin: center; }
  .geo-map .pin-ring.b { animation-delay: 1.3s; }
}
@keyframes geoPulse { 0% { transform: scale(.55); opacity: .75; } 100% { transform: scale(1.5); opacity: 0; } }

.geo-list { display: flex; flex-direction: column; gap: 18px; }
.geo-site { display: flex; flex-direction: column; gap: 5px; padding-inline-start: 17px; border-inline-start: 3px solid var(--brand); }
.geo-site .k { font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 10.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--faint); }
.geo-site .n { font-family: "League Spartan", "Helvetica Neue", Arial, sans-serif; font-weight: 700; font-size: 21px; color: var(--heading); }
.geo-site .d { font-size: 15px; color: var(--muted); }

@media (max-width: 860px) { .geo { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- blogue / notícias ---------- */

.posts { display: flex; flex-direction: column; gap: 0; }
.post-row {
  display: grid; grid-template-columns: 148px 1fr auto; gap: 0 26px; align-items: start;
  padding-block: 26px; border-top: 1px solid var(--line); color: var(--text);
}
.post-row:last-child { border-bottom: 1px solid var(--line); }
.post-row:hover .post-t { color: var(--brand); }
.post-meta { display: flex; flex-direction: column; gap: 7px; }
.post-date { font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 11.5px; color: var(--faint); letter-spacing: .04em; }
.post-cat {
  align-self: flex-start; font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 9.5px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--brand);
  border: 1px solid color-mix(in srgb, var(--brand) 35%, transparent);
  border-radius: 3px; padding: 3px 7px;
}
.post-main { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.post-t { font-family: "League Spartan", "Helvetica Neue", Arial, sans-serif; font-weight: 700; font-size: 23px; color: var(--heading); line-height: 1.2; }
.post-x { color: var(--muted); font-size: 15.4px; max-width: 62ch; }
.post-go { color: var(--faint); font-size: 20px; padding-top: 3px; }
.post-row:hover .post-go { color: var(--brand); }

@media (max-width: 780px) {
  .post-row { grid-template-columns: 1fr; gap: 11px; }
  .post-go { display: none; }
  .post-meta { flex-direction: row; align-items: center; gap: 12px; }
  .post-t { font-size: 20px; }
}

/* artigo */
.article { max-width: 72ch; }
.article-head { display: flex; flex-direction: column; gap: 15px; margin-bottom: 34px; }
.article-head .row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.article-head h1 { font-size: clamp(31px, 4.6vw, 48px); line-height: 1.08; }
.article-lead { font-size: 19px; color: var(--muted); line-height: 1.55; }
.article-body { display: flex; flex-direction: column; gap: 22px; }
.article-body h2 { font-size: clamp(22px, 2.7vw, 28px); margin-top: 14px; }
.article-body p { font-size: 16.8px; color: var(--text); line-height: 1.68; }
.article-body ul { margin: 0; padding-inline-start: 20px; display: flex; flex-direction: column; gap: 8px; }
.article-body li { font-size: 16.4px; color: var(--text); line-height: 1.6; }
.article-foot {
  margin-top: 38px; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between;
}

.article-body .stats { margin-block: 8px; }
.article-body .stats .stat { padding: 22px 18px; }



/* ============================================================
   HOME ILUSTRADA — arte do herói, faixa rolante, ilustrações,
   diagrama de fluxo e mapa interativo dos marketplaces
   ============================================================ */

/* ---------- traço animado partilhado ---------- */
/* cada caminho leva pathLength="100", por isso o impulso corre à
   mesma velocidade em fios de comprimentos diferentes */

.pulse-line { fill: none; stroke: var(--sky); stroke-width: 2.6; stroke-linecap: round; }
@media (prefers-reduced-motion: no-preference) {
  .pulse-line { stroke-dasharray: 7 93; animation: pulseRun 3.4s linear infinite; }
}
@media (prefers-reduced-motion: reduce) { .pulse-line { display: none; } }
@keyframes pulseRun { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }

/* ---------- arte de fundo do herói ---------- */

.hero.art::before, .hero.art::after { display: none; }
.hero.art { padding-block-end: 0; }
.hero-art {
  position: absolute; z-index: 0; pointer-events: none;
  inset-block-start: -96px; inset-inline-end: -168px;
  width: 660px; max-width: 82vw; height: auto;
}
.hero-art .ring { fill: none; stroke: var(--line); stroke-width: 1; }
.hero-art .ring-d { fill: none; stroke: var(--line-strong); stroke-width: 1.1; stroke-dasharray: 2 10; stroke-linecap: round; }
.hero-art .sat { fill: var(--accent); }
.hero-art .sat-b { fill: var(--brand); opacity: .55; }
.hero-art .core { fill: none; stroke: var(--brand); stroke-width: 1.6; opacity: .3; }
@media (prefers-reduced-motion: no-preference) {
  .hero-art .spin  { animation: heroSpin 54s linear infinite; transform-origin: 300px 300px; }
  .hero-art .spin-r { animation: heroSpin 78s linear infinite reverse; transform-origin: 300px 300px; }
}
@keyframes heroSpin { to { transform: rotate(360deg); } }
@media (max-width: 900px) { .hero-art { display: none; } }

/* ---------- faixa rolante de canais ---------- */
/* Logótipos em mosaicos brancos: normaliza marcas com fundo opaco
   (Worten, Makro) e mantém tudo legível também em modo escuro. */

.ticker { position: relative; margin-top: 42px; padding-block: 22px 26px; border-block-start: 1px solid var(--line); overflow: hidden; }
.ticker-lb {
  text-align: center; font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 10.5px;
  text-transform: uppercase; letter-spacing: .2em; color: var(--faint); margin-bottom: 18px;
}
.ticker-row { position: relative; }
.ticker-row::before, .ticker-row::after {
  content: ""; position: absolute; inset-block: 0; width: 90px; z-index: 2; pointer-events: none;
}
.ticker-row::before { inset-inline-start: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.ticker-row::after  { inset-inline-end: 0;  background: linear-gradient(270deg, var(--bg), transparent); }
.ticker-track { display: flex; width: max-content; }
.tk { display: flex; }
.tk > span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 150px; height: 64px; margin-inline: 7px; padding: 11px 15px; flex: 0 0 auto;
  background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--r);
}
.tk img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
@media (prefers-reduced-motion: no-preference) {
  .ticker-track { animation: tickRun 58s linear infinite; }
  .ticker:hover .ticker-track { animation-play-state: paused; }
}
@keyframes tickRun { to { transform: translateX(-50%); } }
@media (max-width: 560px) { .tk > span { width: 124px; height: 56px; } }

/* ---------- faixa de clientes: mosaicos com a mesma linguagem ---------- */

.client {
  height: 66px; padding: 10px 14px;
  background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--r);
}
.client img { filter: grayscale(1); opacity: .72; }
.client:hover img { filter: none; opacity: 1; }
@media (max-width: 900px) { .client { flex-basis: calc((100% - 3 * 26px) / 4); } }
@media (max-width: 620px) { .client { flex-basis: calc((100% - 2 * 26px) / 3); height: 56px; padding: 8px 10px; } }

/* ---------- ilustrações dos obstáculos ---------- */

.icard { padding: 0; gap: 0; overflow: hidden; }
.icard .bd { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; }
.icard .bd h3 { font-size: 19px; }
.icard .bd p { color: var(--muted); font-size: 15.2px; }

.ill { display: block; width: 100%; height: auto; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.ill .fr   { fill: var(--surface); stroke: var(--line-strong); stroke-width: 1.2; }
.ill .fr-b { fill: var(--surface); stroke: var(--brand); stroke-width: 1.7; }
.ill .ln   { fill: var(--line-strong); }
.ill .ln-b { fill: var(--brand); opacity: .8; }
.ill .wire { fill: none; stroke: var(--line-strong); stroke-width: 1.3; stroke-dasharray: 4 5; }
.ill .sld  { fill: var(--brand); }
.ill .soft { fill: color-mix(in srgb, var(--brand) 18%, transparent); }
.ill .warn { fill: var(--warn); }
.ill .cap  {
  font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 9.5px; letter-spacing: .11em;
  text-transform: uppercase; fill: var(--faint);
}
.ill .num { font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 13px; fill: var(--heading); }
@media (prefers-reduced-motion: no-preference) {
  .ill .blink { animation: illBlink 3.6s ease-in-out infinite; }
  .ill .grow  { animation: illGrow 4.4s ease-in-out infinite; transform-box: fill-box; transform-origin: bottom; }
}
@keyframes illBlink { 0%, 44% { opacity: 1; } 52%, 96% { opacity: .18; } 100% { opacity: 1; } }
@keyframes illGrow  { 0%, 100% { transform: scaleY(.42); } 50% { transform: scaleY(1); } }

/* ---------- diagrama de fluxo ---------- */

.flow-frame {
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface);
  padding: 24px 20px; box-shadow: var(--shadow);
}
/* em ecrãs estreitos o diagrama desliza na horizontal em vez de encolher
   a tipografia até ficar ilegível */
.flow-scroll { overflow-x: auto; overscroll-behavior-x: contain; }
.flow { display: block; width: 100%; min-width: 680px; height: auto; }
.flow .wire { fill: none; stroke: var(--line-strong); stroke-width: 1.4; }
.flow .node { fill: var(--surface-2); stroke: var(--line-strong); stroke-width: 1.3; }
.flow .node-b { fill: var(--surface-2); stroke: var(--brand); stroke-width: 1.6; }
.flow .hub { fill: none; stroke: var(--brand); stroke-width: 7; }
.flow .bar { fill: var(--brand); opacity: .55; }
.flow .lbl {
  font-family: "Inter", sans-serif; font-size: 13px; font-weight: 500; fill: var(--heading);
}
.flow .cap {
  font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; fill: var(--faint);
}
.flow-note {
  margin-top: 18px; font-size: 14.6px; color: var(--muted); text-align: center; max-width: 62ch;
  margin-inline: auto;
}

/* ---------- mapa interativo ---------- */

.mapx { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,.7fr); gap: 34px; align-items: start; }
.mapx-canvas { position: relative; }
.mapx-canvas svg { display: block; width: 100%; height: auto; }

.mapx .ctxland { fill: var(--surface-3); stroke: var(--bg); stroke-width: .8; }
.mapx .ctry { cursor: pointer; outline: none; }
.mapx .ctry .area {
  fill: color-mix(in srgb, var(--brand) 15%, var(--surface-2));
  stroke: var(--brand); stroke-width: .9; transition: fill .16s ease;
}
.mapx .ctry:hover .area,
.mapx .ctry.on .area,
.mapx .ctry:focus-visible .area { fill: color-mix(in srgb, var(--brand) 45%, var(--surface-2)); }
.mapx .ctry:focus-visible .area { stroke-width: 2; }

.mapx .dot { fill: var(--brand); pointer-events: none; }
.mapx .halo { fill: none; stroke: var(--brand); stroke-width: 1.4; opacity: .5; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .mapx .halo { animation: mapPulse 3s ease-out infinite; transform-box: fill-box; transform-origin: center; }
}
@keyframes mapPulse { 0% { transform: scale(.35); opacity: .65; } 100% { transform: scale(1.7); opacity: 0; } }

.mapx-tip {
  position: absolute; z-index: 5; pointer-events: none; opacity: 0;
  transform: translate(-50%, calc(-100% - 14px));
  background: var(--brand); color: var(--on-brand); border-radius: var(--r);
  padding: 9px 13px; box-shadow: var(--shadow-lift); white-space: nowrap;
  transition: opacity .13s ease;
}
.mapx-tip.on { opacity: 1; }
.mapx-tip .n { display: block; font-family: "League Spartan", "Helvetica Neue", Arial, sans-serif; font-weight: 700; font-size: 15px; }
.mapx-tip .m { font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 10.5px; letter-spacing: .07em; opacity: .82; }
.mapx-tip::after {
  content: ""; position: absolute; inset-block-end: -5px; inset-inline-start: 50%;
  width: 10px; height: 10px; background: var(--brand); transform: translateX(-50%) rotate(45deg);
}

.mapx-panel {
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface);
  padding: 22px 20px; display: flex; flex-direction: column; gap: 16px;
  position: sticky; top: 96px;
}
.mapx-kpi { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mapx-kpi div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mapx-kpi .n {
  font-family: "League Spartan", "Helvetica Neue", Arial, sans-serif; font-weight: 800; font-size: 36px; line-height: 1;
  color: var(--brand); font-variant-numeric: tabular-nums;
}
.mapx-kpi .k {
  font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 9.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--faint);
}
.mapx-body { display: flex; flex-direction: column; gap: 10px; padding-top: 15px; border-top: 1px solid var(--line); }
.mapx-cn { display: flex; align-items: baseline; gap: 10px; }
.mapx-cn .n { font-family: "League Spartan", "Helvetica Neue", Arial, sans-serif; font-weight: 700; font-size: 21px; color: var(--heading); }
.mapx-cn .c { font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 11px; color: var(--faint); letter-spacing: .1em; }
.mapx-links { display: flex; flex-direction: column; }
.mapx-links a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 0; border-top: 1px solid var(--line); color: var(--text); font-size: 15px;
}
.mapx-links a:first-child { border-top: 0; }
.mapx-links a:hover { color: var(--brand); }
.mapx-links .cm { font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 11.5px; color: var(--faint); flex: 0 0 auto; }
.mapx-links a:hover .cm { color: var(--brand); }
.mapx-hint { font-size: 14px; color: var(--muted); line-height: 1.55; }

@media (max-width: 900px) {
  .mapx { grid-template-columns: 1fr; gap: 22px; }
  .mapx-panel { position: static; }
}


/* A faixa de IA da home passou a clara: encostada ao CTA final, os dois
   blocos em azul profundo liam-se como uma unica mancha pesada. */
.ai-soft .lead { color: var(--muted); font-size: 17.5px; max-width: 46em; }
.ai-soft .note {
  margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line);
  font-size: 15px; color: var(--muted);
}

/* ---------- pop-up de entrada ---------- */
/* Aparece uma vez por navegador, só à chegada ao site. A escolha fica
   guardada em localStorage; mudar a versão da chave volta a mostrá-lo. */

.promo { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; }
.promo-back {
  position: absolute; inset: 0; border: 0; padding: 0; cursor: pointer;
  background: color-mix(in srgb, #04142B 64%, transparent); backdrop-filter: blur(3px);
}
.promo-card {
  position: relative; width: min(470px, 100%); max-height: calc(100vh - 40px); overflow-y: auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lift); padding: 26px 26px 22px;
  display: flex; flex-direction: column; gap: 13px; text-align: center;
}
.promo-card:focus { outline: none; }
@media (prefers-reduced-motion: no-preference) {
  .promo-card { animation: promoIn .3s cubic-bezier(.2,.7,.3,1) both; }
  .promo-back { animation: promoFade .3s ease both; }
}
@keyframes promoIn { from { opacity: 0; transform: translateY(18px) scale(.98); } }
@keyframes promoFade { from { opacity: 0; } }

.promo-x {
  position: absolute; inset-block-start: 10px; inset-inline-end: 10px; z-index: 2;
  width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent;
  color: var(--faint); font-size: 21px; line-height: 1; cursor: pointer;
}
.promo-x:hover { background: var(--surface-2); color: var(--heading); }

/* tira ilustrada: par de anéis da marca, fio animado, logótipo do canal */
.promo-kv {
  display: flex; align-items: center; justify-content: center; gap: 0;
  background: var(--surface-2); border-radius: var(--r); padding: 20px 16px;
}
.promo-kv .hub { width: 96px; height: 58px; flex: 0 0 auto; }
.promo-kv .hub circle { fill: none; stroke: var(--brand); stroke-width: 4.5; }
.promo-kv .link { width: 92px; height: 14px; flex: 0 0 auto; }
.promo-kv .link .wire { fill: none; stroke: var(--line-strong); stroke-width: 1.6; }
.promo-badge {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  width: 92px; height: 66px; padding: 10px;
  background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--r);
}
.promo-badge img { max-width: 100%; max-height: 100%; width: auto; height: auto; }

.promo-card .eyebrow { justify-content: center; }
.promo-card h2 { font-size: clamp(23px, 3.2vw, 28px); line-height: 1.14; }
.promo-card p { color: var(--muted); font-size: 15.4px; }

.promo-card .catch {
  flex-direction: column; align-items: stretch; gap: 9px; text-align: start;
  background: var(--surface-2); padding: 15px;
}
.promo-card .catch .lb { flex: none; font-size: 14px; }
.promo-card .catch input, .promo-card .catch .btn { width: 100%; flex: none; }

html.locked, html.locked body { overflow: hidden; }
@media (max-width: 520px) {
  .promo-card { padding: 24px 18px 18px; gap: 11px; }
  .promo-kv { padding: 16px 10px; }
  .promo-kv .link { width: 56px; }
}

/* ---------- destaque obrigatório da marca ---------- */
/* "zeOOs by Precode" e "Zero Obstáculo Operacional" aparecem sempre a negrito */
.brand-em { font-weight: 700; }
/* em títulos e citações a hierarquia já é mais pesada: não a enfraquecer */
h1 .brand-em, h2 .brand-em, h3 .brand-em,
.quote .brand-em, .post-t .brand-em, .tl-item h3 .brand-em,
.pillar .k .brand-em, .stat .t .brand-em { font-weight: inherit; }

/* ============================================================
   ALTERAÇÕES À VERSÃO PHP
   Tudo o que difere do preview estático vive neste bloco, para
   se poder ler de uma vez o que mudou. Ver CHANGES.md.
   ============================================================ */

/* ---------- cabeçalho: logótipo maior ----------
   Pedido explícito. O logótipo do rodapé mantém-se nos 30 px — só
   cresce o do cabeçalho. A altura da barra acompanha, e o menu de
   telemóvel arranca abaixo dela através da mesma variável. */
:root { --hdr-h: 80px; }
.hdr-in { height: var(--hdr-h); }
.hdr .brand img { height: 46px; }
.mnav { inset: var(--hdr-h) 0 0; }
@media (max-width: 560px) {
  :root { --hdr-h: 68px; }
  .hdr .brand img { height: 36px; }
}

/* ---------- ligações que eram botões ----------
   O seletor de idioma e os filtros passaram a ser ligações reais:
   cada idioma e cada categoria tem endereço próprio, partilhável e
   indexável. O aspeto mantém-se. */
.lang-menu a {
  display: flex; width: 100%; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: var(--r-sm); color: var(--text);
  font-size: 14px;
}
.lang-menu a:hover { background: var(--surface-2); }
.lang-menu a[aria-current="true"] { color: var(--brand); font-weight: 600; }

.mnav-langs a {
  display: inline-flex; justify-content: center;
  font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px; letter-spacing: .06em; font-weight: 400;
  padding: 8px 13px; border-radius: var(--r-sm); border: 1px solid var(--line);
  color: var(--muted); border-bottom: 1px solid var(--line);
}
.mnav-langs a::after { content: none; }
.mnav-langs a[aria-current="true"] { border-color: var(--brand); color: var(--brand); font-weight: 600; }

.filters a {
  font-size: 13.5px; padding: 7px 14px; border-radius: 100px;
  border: 1px solid var(--line); color: var(--muted);
}
.filters a:hover { border-color: var(--line-strong); color: var(--text); }
.filters a.on { background: var(--brand); border-color: var(--brand); color: var(--on-brand); font-weight: 600; }

/* ---------- selo por par canal-país ----------
   novo-site.md p.50 §1 e p.51. Três estados, três leituras à vista:
   operado é afirmação, ligado é possibilidade, não integrado é um não. */
.mp-status {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font-size: 12px; font-weight: 500; line-height: 1;
  padding: 5px 10px; border-radius: 100px; border: 1px solid;
}
.mp-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.mp-status.operated  { color: var(--ok);    border-color: color-mix(in srgb, var(--ok) 35%, transparent);    background: color-mix(in srgb, var(--ok) 8%, transparent); }
.mp-status.connected { color: var(--brand); border-color: color-mix(in srgb, var(--brand) 32%, transparent); background: color-mix(in srgb, var(--brand) 7%, transparent); }
.mp-status.none      { color: var(--faint); border-color: var(--line-strong); background: transparent; }
.mp-status.xs { font-size: 10.5px; padding: 3px 7px; }
.mp-status.xs::before { width: 5px; height: 5px; }
.mp-status.lg { font-size: 13.5px; padding: 7px 14px; align-self: flex-start; }

/* O mesmo estado, aplicado a cada país da fila de bandeiras. */
.flag.operated  { background: color-mix(in srgb, var(--ok) 13%, transparent);    color: var(--ok); font-weight: 600; }
.flag.connected { background: color-mix(in srgb, var(--brand) 11%, transparent); color: var(--brand); }
.flag.none      { background: var(--surface-3); color: var(--faint); }

.status-legend { display: flex; flex-direction: column; gap: 9px; margin: 0 0 22px; }
.status-legend li { display: flex; align-items: center; gap: 11px; flex-wrap: wrap; }
.status-legend li span:last-child { color: var(--muted); font-size: 14.5px; }

.mp-status-note { color: var(--muted); font-size: 14.5px; margin: 0; }
.mp-apply-case {
  margin: 12px 0 16px; padding: 12px 14px; border-inline-start: 2px solid var(--brand);
  background: var(--surface-2); color: var(--text); font-size: 14.5px; border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

/* ---------- mapa: legenda de duas cores ----------
   novo-site.md p.51: o mapa tem de separar operado de ligado. */
.mapx-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 18px 0 14px; }
.mapx-legend li { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); }
.mapx-legend .sw { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; }
.mapx-legend .sw.operated  { background: var(--ok); }
.mapx-legend .sw.connected { background: var(--brand); }

.mapx-links .mp-status { margin-inline-start: 8px; }

/* Sem JavaScript o mapa é só desenho — a lista é que é o conteúdo. */
.mapx-nojs { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 22px; margin-top: 26px; }
.mapx-nojs h3 { font-size: 15px; margin-bottom: 8px; }
.mapx-nojs li { display: flex; align-items: center; gap: 8px; padding: 3px 0; font-size: 14px; }

/* ---------- em que língua se opera (p.51) ---------- */
.op-langs {
  margin: 14px 0 0; font-size: 14.5px; color: var(--muted);
  display: inline-flex; align-items: center; gap: 8px;
}
.op-langs::before { content: ""; width: 3px; align-self: stretch; background: var(--brand); border-radius: 2px; }

/* ---------- política de privacidade (p.55, bloqueante Amazon) ---------- */
.wrap-prose { max-width: 820px; }
.privacy-updated {
  font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px; color: var(--faint); margin-bottom: 26px;
}
.privacy-prose section + section { margin-top: 34px; }
.privacy-prose h2 { font-size: clamp(20px, 2.4vw, 25px); margin-bottom: 12px; }
.privacy-prose p { color: var(--text); font-size: 16px; line-height: 1.66; margin-bottom: 12px; }
.privacy-prose ul { margin: 6px 0 12px; padding-inline-start: 20px; list-style: disc; }
.privacy-prose li { color: var(--text); font-size: 16px; line-height: 1.6; margin-bottom: 7px; }
.privacy-prose .table-scroll { margin-top: 14px; }
.privacy-prose td { font-size: 14px; vertical-align: top; }

/* ---------- rodapé: identificação legal (p.52) ---------- */
.ftr-legal {
  margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: 13.5px; color: var(--muted);
  text-align: center;
}

/* ---------- formulários ---------- */
/* Campo-isco: fora do ecrã, fora do foco, invisível para quem lê. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-impoc { margin-top: 12px; font-size: 14px; color: var(--muted); }
.form-foot .privacy a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr; }
}

/* ---------- política de privacidade: índice e numeração ---------- */
.privacy-toc {
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--surface-2); padding: 20px 24px; margin-bottom: 38px;
}
.privacy-toc h2 {
  font-size: 13px; text-transform: uppercase; letter-spacing: .14em;
  color: var(--faint); margin-bottom: 12px;
  font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
.privacy-toc ol { list-style: none; counter-reset: toc; columns: 2; column-gap: 32px; }
.privacy-toc li { counter-increment: toc; padding: 4px 0; break-inside: avoid; font-size: 15px; }
.privacy-toc li::before {
  content: counter(toc) ". "; color: var(--faint);
  font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 12px;
}
.privacy-toc a { color: var(--text); }
.privacy-toc a:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 680px) { .privacy-toc ol { columns: 1; } }

/* Âncora não fica escondida atrás do cabeçalho fixo. */
.privacy-prose section { scroll-margin-top: calc(var(--hdr-h) + 16px); }
.privacy-n { color: var(--faint); font-variant-numeric: tabular-nums; }

.privacy-contacts { margin-top: 14px; }
.privacy-contacts dt {
  font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 11px; text-transform: uppercase; letter-spacing: .08em;
  color: var(--faint); margin-top: 14px;
}
.privacy-contacts dd { font-size: 16px; color: var(--text); margin-top: 3px; }

/* ---------- inventário de funcionalidades (novo-site.md p.55) ---------- */
.features { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.feature-group { background: var(--surface); padding: 24px 22px; }
.feature-group h3 { font-size: 16px; margin-bottom: 12px; }
.feature-group .checks li { font-size: 14.8px; }
@media (max-width: 760px) { .features { grid-template-columns: 1fr; } }

/* ---------- botão claro / escuro ----------
   Mostram-se os dois ícones e revela-se o certo pelo mesmo padrão dos
   logótipos: sem `data-theme` manda a media query; com ele, manda o atributo. */
.theme-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; flex: 0 0 auto;
  background: transparent; border: 1px solid var(--line); border-radius: var(--r-sm);
  color: var(--muted); cursor: pointer; padding: 0;
}
.theme-btn:hover { border-color: var(--line-strong); color: var(--text); }
.theme-btn svg { width: 16px; height: 16px; }

/* Claro (por omissão): mostra a lua — o que acontece se carregar. */
.theme-btn .ic-sun { display: none; }
.theme-btn .ic-moon { display: block; }
/* Escuro forçado. */
:root[data-theme="dark"] .theme-btn .ic-moon { display: none; }
:root[data-theme="dark"] .theme-btn .ic-sun { display: block; }
/* Escuro por preferência do browser, sem escolha guardada. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-btn .ic-moon { display: none; }
  :root:not([data-theme="light"]) .theme-btn .ic-sun { display: block; }
}
