/* Storm Lab — site
   Conceito: calma no centro. Uma coluna de leitura com muito espaço, linhas finas e um só gesto
   gráfico por secção: o vórtice no topo, a linha contínua no método, as plataformas a rolar no fim. */

@font-face { font-family: "Outfit"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/outfit-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/outfit-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap; src: url("../fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Layout: coluna de 1200 px, secções separadas por espaço e linhas finas, fundo nevoeiro com uma faixa noite. */
:root {
  --azul: #2450FF;
  --azul-escuro: #1A3FE0;
  --azul-claro: #8FA6FF;
  --noite: #0B0E14;
  --abismo: #161B24;
  --nevoeiro: #EEF0F3;
  --nuvem: #D5DAE1;
  --ardosia: #586272;
  --relampago: #FFD23F;
  --branco: #FFFFFF;

  --surface: #EEF0F3;
  --raised: #FFFFFF;
  --ink: #0B0E14;
  --muted: #586272;
  --line: #D5DAE1;
  --control: #586272;
  --brand: #2450FF;
  --brand-hover: #1A3FE0;
  --brand-text: #2450FF;
  --on-brand: #FFFFFF;
  --logo: #0B0E14;
  --focus: #2450FF;
  --header-bg: rgba(238, 240, 243, 0.86);
  --band: #0B0E14;
  --band-raised: #161B24;
  --band-ink: #EEF0F3;
  --band-muted: #9AA4B2;
  --band-line: #262D3A;
  --band-accent: #8FA6FF;
  --spark: #FFD23F;
  --error: #B4232C;
  --ok: #157347;

  --font-display: "Outfit", "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(72px, 10vw, 128px);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --surface: #0B0E14;
    --raised: #161B24;
    --ink: #EEF0F3;
    --muted: #9AA4B2;
    --line: #262D3A;
    --control: #9AA4B2;
    --brand: #2450FF;
    --brand-hover: #3A63FF;
    --brand-text: #8FA6FF;
    --logo: #FFFFFF;
    --focus: #8FA6FF;
    --header-bg: rgba(11, 14, 20, 0.86);
    --band: #161B24;
    --band-raised: #1F2633;
    --band-line: #2C3442;
    --error: #FF8A8A;
    --ok: #6FD39B;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --surface: #0B0E14;
  --raised: #161B24;
  --ink: #EEF0F3;
  --muted: #9AA4B2;
  --line: #262D3A;
  --control: #9AA4B2;
  --brand: #2450FF;
  --brand-hover: #3A63FF;
  --brand-text: #8FA6FF;
  --logo: #FFFFFF;
  --focus: #8FA6FF;
  --header-bg: rgba(11, 14, 20, 0.86);
  --band: #161B24;
  --band-raised: #1F2633;
  --band-line: #2C3442;
  --error: #FF8A8A;
  --ok: #6FD39B;
  color-scheme: dark;
}

/* Zona escura: cabeçalho e topo das páginas em Noite, tanto em modo claro como escuro */
.on-dark {
  --surface: #0B0E14;
  --raised: #161B24;
  --ink: #EEF0F3;
  --muted: #9AA4B2;
  --line: #262D3A;
  --control: #9AA4B2;
  --brand-hover: #3A63FF;
  --brand-text: #8FA6FF;
  --logo: #FFFFFF;
  --focus: #8FA6FF;
  --header-bg: #0B0E14;
  color-scheme: dark;
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
a { color: var(--brand-text); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--azul); color: #fff; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; margin: 0; text-wrap: balance; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--gutter); top: -60px; z-index: 50; background: var(--brand); color: var(--on-brand); padding: 10px 16px; border-radius: var(--radius-md); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1264px; margin-inline: auto; padding-inline: var(--gutter); }
.label {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-text);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.label .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--spark); flex: none; }
.ico { width: 24px; height: 24px; flex: none; stroke-width: 2; }

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--radius-md);
  border: 0;
  background: var(--brand);
  color: var(--on-brand);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, transform .15s ease;
}
.btn:hover { background: var(--brand-hover); text-decoration: none; }
.btn .ico { width: 20px; height: 20px; transition: transform .15s ease; }
.btn:hover .ico { transform: translateX(3px); }
.btn.quiet { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--control); }
.btn.quiet:hover { background: var(--raised); }
.btn.light { background: #fff; color: var(--noite); }
.btn.light:hover { background: var(--nevoeiro); }
.btn.sm { min-height: 40px; padding: 0 16px; font-size: 15px; }

/* Cabeçalho */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 40;
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; color: var(--logo); }
.brand svg { width: 168px; height: auto; display: block; overflow: visible; }
/* Símbolo do logótipo: roda à volta do olho (centro do anel) */
.logo-sym-load, .logo-sym { transform-box: fill-box; transform-origin: 44.108% 50.689%; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a.btn, .nav a.btn:hover { color: var(--on-brand); }
.nav a[aria-current="page"] { font-weight: 600; }
.menu-btn { display: none; background: transparent; border: 0; color: var(--ink); width: 44px; height: 44px; border-radius: var(--radius-md); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn .ico-close { display: none; }

@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; background: var(--surface); border-bottom: 1px solid var(--line); }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav .btn { margin-top: 16px; }
  .site-header.open .nav { display: flex; }
  .site-header.open .menu-btn .ico-open { display: none; }
  .site-header.open .menu-btn .ico-close { display: block; }
}

/* Hero */
.hero { padding-block: clamp(48px, 8vw, 104px) clamp(56px, 8vw, 112px); }
.hero.on-dark, .page-hero.on-dark { background: var(--surface); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(44px, 7.2vw, 88px); line-height: 0.98; letter-spacing: -0.035em; margin-top: 20px; }
.hero h1 .kw { display: block; font-family: var(--font-mono); font-weight: 500; font-size: 13px; line-height: 18px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-text); margin-bottom: 20px; }
.lede { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.6; color: var(--muted); max-width: 52ch; margin-top: 24px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.04em; color: var(--muted); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .ico { width: 16px; height: 16px; color: var(--brand-text); }
.eye { position: relative; width: 100%; max-width: 460px; aspect-ratio: 1; justify-self: end; color: var(--brand); }
.eye .rings { position: absolute; inset: 0; width: 100%; height: 100%; }
.eye .rings circle { fill: none; stroke: var(--line); stroke-width: 1.5; }
.eye .rings .tick { stroke: var(--line); stroke-width: 1.5; }
.eye .rings text { fill: var(--muted); font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; }
.eye .vortex { position: absolute; left: 25.299%; top: 21.569%; width: 56%; height: auto; overflow: visible; }
.eye .vortex .pupil { transform-box: fill-box; transform-origin: center; }

/* Animação do logótipo (só para quem não pediu movimento reduzido no sistema)
   Topo: o anel desenha-se, a pupila aparece e os três braços saem do olho em espiral; depois fica parado.
   Cabeçalho: o símbolo dá um terço de volta ao abrir a página e ao passar o rato (três braços: volta a ficar igual). */
@media (prefers-reduced-motion: no-preference) {
  /* site.js acrescenta .ver quando o símbolo aparece no ecrã (no telemóvel fica abaixo da dobra).
     Se o JavaScript falhar, o símbolo aparece parado ao fim de 4 s. */
  .js .eye:not(.ver) .rings, .js .eye:not(.ver) .vortex { visibility: hidden; animation: sl-mostrar 0s linear 4s forwards; }
  .eye.ver .rings { animation: sl-aparecer .8s ease-out .1s both; }
  .eye.ver .vortex .ring { stroke-dasharray: 1 2; animation: sl-desenhar .8s cubic-bezier(.45, 0, .25, 1) .25s both; }
  .eye.ver .vortex .pupil { animation: sl-pupila .5s cubic-bezier(.2, .7, .3, 1) .7s both; }
  .eye.ver .vortex .arm { stroke-dasharray: 1 2; animation: sl-desenhar 1.1s cubic-bezier(.5, 0, .2, 1) .9s both; }
  .eye.ver .vortex .a2 { animation-delay: 1s; }
  .eye.ver .vortex .a3 { animation-delay: 1.1s; }
  .site-header .logo-sym-load { animation: sl-terco 1s cubic-bezier(.65, 0, .35, 1) .35s both; }
  .site-header .brand:hover .logo-sym { animation: sl-terco-hover .9s cubic-bezier(.65, 0, .35, 1); }
}
@keyframes sl-desenhar { from { stroke-dashoffset: 1; opacity: 0; } 2% { opacity: 1; } to { stroke-dashoffset: 0; opacity: 1; } }
@keyframes sl-pupila { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes sl-aparecer { from { opacity: 0; } to { opacity: 1; } }
@keyframes sl-mostrar { to { visibility: visible; } }
@keyframes sl-terco { from { transform: rotate(-120deg); } to { transform: rotate(0deg); } }
@keyframes sl-terco-hover { from { transform: rotate(0deg); } to { transform: rotate(120deg); } }

/* Secções */
.section { padding-block: var(--section); }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.05; letter-spacing: -0.025em; }
.section-head p { color: var(--muted); font-size: 18px; max-width: 60ch; }

/* Situações */
.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.cases li { background: var(--raised); border-radius: var(--radius-lg); padding: 28px; display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 18px; align-items: start; font-size: 18px; line-height: 1.55; }
.cases .ico { color: var(--brand-text); margin-top: 3px; }

/* Serviços (lista) */
.services { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.services li { border-bottom: 1px solid var(--line); }
.services a { display: grid; grid-template-columns: 56px 40px minmax(0, 0.9fr) minmax(0, 1.3fr) 28px; gap: 20px; align-items: center; padding: 28px 12px; color: inherit; text-decoration: none; border-radius: var(--radius-md); transition: background-color .15s ease; }
.services a:hover { background: var(--raised); }
.services .n { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.08em; color: var(--muted); }
.services .ico { color: var(--brand-text); }
.services h3 { font-size: 24px; line-height: 1.2; letter-spacing: -0.01em; }
.services p { color: var(--muted); }
.services .go { color: var(--muted); transition: transform .15s ease, color .15s ease; }
.services a:hover .go { transform: translateX(4px); color: var(--brand-text); }

/* Método: linha contínua com quatro nós */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; position: relative; }
.steps li { position: relative; display: grid; gap: 14px; align-content: start; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 24px; top: 21px; width: calc(100% + 28px); height: 6px; background: var(--brand); }
.steps .node { width: 48px; height: 48px; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 6px var(--brand); display: grid; place-items: center; font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--brand-text); position: relative; z-index: 1; }
.steps h3 { font-size: 22px; margin-top: 10px; }
.steps p { color: var(--muted); font-size: 16px; }

/* Faixa escura: compromissos */
.band { background: var(--band); color: var(--band-ink); }
.section.band + .section { border-top: 0; }
.band .label { color: var(--band-accent); }
.band .section-head p { color: var(--band-muted); }
.promises { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.promise-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 32px; list-style: none; margin: 0; padding: 0; }
.promise-list h3 { font-size: 22px; margin-bottom: 10px; display: flex; gap: 12px; align-items: center; }
.promise-list h3 .ico { color: var(--band-accent); }
.promise-list p { color: var(--band-muted); font-size: 16px; }
.sheet { background: var(--band-raised); border-radius: var(--radius-lg); padding: 28px; font-family: var(--font-mono); font-size: 14px; line-height: 1.5; box-shadow: inset 0 0 0 1px var(--band-line); }
.sheet .sheet-title { display: flex; justify-content: space-between; gap: 16px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--band-accent); padding-bottom: 16px; border-bottom: 1px dashed var(--band-line); margin-bottom: 8px; }
.sheet dl { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); }
.sheet dt, .sheet dd { margin: 0; padding: 10px 0; border-bottom: 1px dashed var(--band-line); }
.sheet dt { color: var(--band-muted); padding-right: 20px; }
.sheet dd { color: var(--band-ink); text-align: right; }
.sheet .live { display: inline-flex; align-items: center; gap: 8px; }
.sheet .live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--spark); }
.sheet .note { margin-top: 14px; font-size: 12px; color: var(--band-muted); }

/* Perguntas */
.faq { border-top: 1px solid var(--line); max-width: 920px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 4px; font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { color: var(--brand-text); transition: transform .2s ease; }
.faq details[open] summary .ico { transform: rotate(45deg); }
.faq .answer { padding: 0 4px 26px; color: var(--muted); max-width: 70ch; }

/* Plataformas a rolar */
.platforms { padding-block: clamp(56px, 8vw, 96px); border-top: 1px solid var(--line); overflow: hidden; }
.platforms .section-head { margin-bottom: 36px; }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee + .marquee { margin-top: 18px; }
.marquee-track { display: flex; width: max-content; gap: 18px; animation: rolar 48s linear infinite; }
.marquee.reverse .marquee-track { animation-direction: reverse; animation-duration: 56s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
.chip { display: inline-flex; align-items: center; gap: 12px; height: 72px; padding: 0 28px; border-radius: 999px; background: var(--raised); box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; }
.chip .name { font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: -0.01em; color: var(--ink); }
.chip .kind { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.chip img { height: 28px; width: auto; display: block; }
@keyframes rolar { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; width: auto; flex-wrap: wrap; }
  .marquee ul { flex-wrap: wrap; }
  .marquee ul[aria-hidden="true"] { display: none; }
}

/* Chamada final */
.cta { padding-block: 0 var(--section); }
.cta-box { position: relative; overflow: hidden; background: var(--azul); color: #fff; border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 72px); display: grid; gap: 22px; }
.cta-box h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.05; letter-spacing: -0.025em; max-width: 14ch; position: relative; }
.cta-box p { font-size: 18px; max-width: 46ch; position: relative; }
.cta-box .actions { margin-top: 8px; position: relative; align-items: center; }
.cta-box .mail { color: #fff; font-weight: 600; }
.cta-box .vortex { position: absolute; right: -90px; bottom: -120px; width: 420px; height: auto; color: rgba(255, 255, 255, 0.14); pointer-events: none; }

/* Rodapé */
.site-footer { background: var(--noite); color: #EEF0F3; padding-block: 64px 32px; }
.site-footer a { color: #EEF0F3; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-grid .brand { color: #fff; }
.footer-grid .brand svg { width: 180px; }
.footer-grid p { color: #9AA4B2; margin-top: 18px; max-width: 34ch; font-size: 15px; }
.footer-grid h3 { font-family: var(--font-mono); font-weight: 500; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #8FA6FF; margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid #262D3A; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 13px; color: #9AA4B2; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-bottom a { color: #9AA4B2; }

/* Páginas interiores */
.page-hero { padding-block: clamp(48px, 7vw, 96px) clamp(36px, 5vw, 64px); }
.page-hero h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.02; letter-spacing: -0.03em; margin-top: 18px; max-width: 18ch; }
.page-hero .lede { max-width: 58ch; }
.page-hero.on-dark { margin-bottom: clamp(40px, 6vw, 72px); }

.svc-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.svc-index { position: sticky; top: 104px; list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.svc-index a { display: flex; gap: 12px; padding: 10px 12px; border-radius: var(--radius-md); color: var(--muted); text-decoration: none; font-size: 15px; }
.svc-index a:hover { background: var(--raised); color: var(--ink); }
.svc-index .n { font-family: var(--font-mono); font-size: 12px; color: var(--brand-text); padding-top: 2px; }
.svc { padding-block: 40px 56px; border-top: 1px solid var(--line); display: grid; gap: 20px; }
.svc:first-child { border-top: 0; padding-top: 0; }
.svc-title { display: flex; align-items: center; gap: 16px; }
.svc-title .ico-box { width: 56px; height: 56px; border-radius: 16px; background: var(--raised); display: grid; place-items: center; color: var(--brand-text); flex: none; }
.svc h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; letter-spacing: -0.02em; }
.svc > p { color: var(--muted); font-size: 18px; max-width: 64ch; }
.svc h3 { font-family: var(--font-mono); font-weight: 500; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-text); margin-top: 8px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
.ticks li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: start; }
.ticks .ico { width: 20px; height: 20px; color: var(--brand-text); margin-top: 4px; }

/* Contactos */
.contact { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(32px, 5vw, 64px); align-items: start; padding-bottom: var(--section); }
.form { background: var(--raised); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); display: grid; gap: 20px; }
.form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: 15px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; min-height: 48px; }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; border-color: transparent; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--error); }
.check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 15px; color: var(--muted); }
.check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--azul); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 15px; min-height: 1.2em; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--error); }
.aside { display: grid; gap: 28px; }
.aside .card { background: var(--raised); border-radius: var(--radius-lg); padding: 28px; display: grid; gap: 14px; }
.aside h2 { font-size: 22px; }
.aside .email { font-family: var(--font-mono); font-size: 15px; word-break: break-all; }
.copy-btn { justify-self: start; }
.next { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: passo; }
.next li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; color: var(--muted); font-size: 15px; }
.next li::before { counter-increment: passo; content: "0" counter(passo); font-family: var(--font-mono); font-size: 12px; color: var(--brand-text); padding-top: 3px; }

/* Texto legal */
.prose { max-width: 760px; padding-bottom: var(--section); }
.prose h2 { font-size: 24px; margin: 40px 0 12px; }
.prose > h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted); }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 20px; }
.prose .fill { background: var(--raised); padding: 1px 6px; border-radius: 4px; font-family: var(--font-mono); font-size: 14px; color: var(--ink); }

.center-page { min-height: 60vh; display: grid; align-content: center; justify-items: start; gap: 20px; padding-block: var(--section); }
.center-page h1 { font-size: clamp(40px, 6vw, 72px); letter-spacing: -0.03em; line-height: 1.02; }

/* Telemóvel e tablet */
@media (max-width: 1024px) {
  .services a { grid-template-columns: 48px 32px minmax(0, 1fr) 24px; }
  .services a p { grid-column: 3 / 4; }
  .services a .go { grid-row: 1; grid-column: 4; }
  .promises { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .eye { max-width: 280px; justify-self: center; }
  .cases { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-left: 0; }
  .steps li:not(:last-child)::after { left: 21px; top: 24px; width: 6px; height: calc(100% + 32px); }
  .steps li { grid-template-columns: 48px minmax(0, 1fr); column-gap: 20px; }
  .steps li > :not(.node) { grid-column: 2; }
  .steps .node { grid-row: 1 / span 2; }
  .steps h3 { margin-top: 10px; }
  .promise-list { grid-template-columns: minmax(0, 1fr); }
  .svc-layout { grid-template-columns: minmax(0, 1fr); }
  .svc-index { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ticks { grid-template-columns: minmax(0, 1fr); }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .form .row { grid-template-columns: minmax(0, 1fr); }
  .cta-box .vortex { width: 300px; right: -110px; bottom: -110px; }
}
@media (max-width: 560px) {
  .brand svg { width: 140px; }
  .services a { grid-template-columns: 32px minmax(0, 1fr) 24px; gap: 14px; padding: 24px 4px; }
  .services a .n { display: none; }
  .services a .ico { grid-row: 1; }
  .services a h3 { grid-column: 2; }
  .services a p { grid-column: 2 / 4; }
  .services a .go { grid-column: 3; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .chip { height: 60px; padding: 0 22px; }
  .chip .name { font-size: 19px; }
}
