/* RALOTECH BUSINESS — landing pública (raiz do host business).
   As cores vêm de /owner/shared/tokens.css; aqui só há layout.
   Base = desktop; os outros tamanhos vivem só nas media queries do fim. */

/* As fontes são as do painel: mesmo ficheiro, por caminho absoluto do host. */
@font-face {
  font-family: Inter;
  src: url('/owner/shared/fonts/inter-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Syne;
  src: url('/owner/shared/fonts/syne-latin.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--bz-font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--bz-text);
  background: var(--bz-bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
/* Foco sempre visível, também sobre a sala escura. */
:focus-visible { outline: 3px solid #4f8cff; outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 32px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 20;
  background: #e8eef7; color: #0d1420; padding: 10px 14px; border-radius: 8px; font-weight: 600;
}
.skip:focus { top: 12px; }

/* ── Sala escura: cabeçalho + hero. Preta nos dois modos, como a barra do painel;
      por isso as cores aqui são fixas e não tokens que mudam com o tema. ── */
.room {
  background: #080d16;
  color: #e8eef7;
  background-image:
    radial-gradient(900px circle at 82% 0%, rgba(79, 140, 255, 0.22), transparent 62%),
    radial-gradient(600px circle at 0% 100%, rgba(140, 195, 255, 0.07), transparent 60%);
}

/* O cabeçalho pousa sobre a sala (absoluto) para a luz do hero não ter costura. */
.top { position: absolute; left: 0; right: 0; top: 0; z-index: 2; color: #e8eef7; }
.room { padding-top: 88px; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 88px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px; flex: none;
  background: #05080e; border: 1px solid #223042;
  display: grid; place-items: center;
}
.brand-text { font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.brand-text span { color: #94a3b5; font-weight: 500; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { font-size: 14px; font-weight: 500; color: #c3cfdd; text-decoration: none; padding: 12px 0; }
.nav a:not(.btn):hover { color: #8cc3ff; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px; border-radius: 10px;
  font: 700 15px/1 var(--bz-font); letter-spacing: 0.01em; text-decoration: none;
  border: 1px solid transparent; transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
/* Na sala escura o botão principal é o claro (o «ink button» invertido do login). */
.top .btn-primary, .room .btn-primary, .close .btn-primary { background: #e8eef7; color: #0d1420; }
.top .btn-primary:hover, .room .btn-primary:hover, .close .btn-primary:hover { background: #8cc3ff; }
.room .btn-ghost, .close .btn-ghost { border-color: #33435a; color: #e8eef7; }
.room .btn-ghost:hover, .close .btn-ghost:hover { border-color: #8cc3ff; color: #8cc3ff; }

.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; padding-top: 72px; padding-bottom: 104px; }
.eyebrow {
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--bz-text3); margin-bottom: 18px;
}
.room .eyebrow { color: #8cc3ff; }
.hero h1 {
  font-family: var(--bz-display); font-weight: 700;
  font-size: 60px; line-height: 1.04; letter-spacing: -0.02em;
}
.hero h1 em { font-style: normal; color: #8cc3ff; }
.lede { margin-top: 24px; font-size: 18px; line-height: 1.6; color: #c3cfdd; max-width: 33em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.note { margin-top: 18px; font-size: 13px; color: #94a3b5; }

/* O caminho de uma encomenda: os estados reais, sem números inventados. */
.flow {
  background: #0d1420; border: 1px solid #223042; border-radius: 14px; padding: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.flow h2 { font: 600 12.5px/1 var(--bz-font); letter-spacing: 0.12em; text-transform: uppercase; color: #94a3b5; margin-bottom: 20px; }
.flow li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; position: relative; padding-bottom: 20px; }
.flow li:last-child { padding-bottom: 0; }
.flow li::before {
  content: ""; width: 12px; height: 12px; border-radius: 50%; margin: 5px 0 0 8px;
  background: #8cc3ff; box-shadow: 0 0 0 4px rgba(140, 195, 255, 0.14);
}
.flow li::after { content: ""; position: absolute; left: 13px; top: 24px; bottom: 0; width: 2px; background: #223042; }
.flow li:last-child::after { display: none; }
.flow strong { display: block; font-size: 15px; font-weight: 600; color: #e8eef7; }
.flow span { display: block; font-size: 13.5px; color: #94a3b5; line-height: 1.5; }

/* ── Sala clara (ou escura, se o sistema pedir): segue os tokens. ── */
.sec { padding: 96px 0; }
.sec-alt { background: var(--bz-bg2); border-top: 1px solid var(--bz-border); border-bottom: 1px solid var(--bz-border); }
.sec-head { max-width: 720px; margin-bottom: 48px; }
.sec h2, .close h2 {
  font-family: var(--bz-display); font-weight: 700;
  font-size: 40px; line-height: 1.1; letter-spacing: -0.015em;
}
.sec-head h2 + p { margin-top: 16px; font-size: 17px; color: var(--bz-text2); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--bz-bg2); border: 1px solid var(--bz-border); border-radius: var(--bz-r-xl);
  padding: 28px; box-shadow: var(--bz-shadow);
}
.sec-alt .card { background: var(--bz-bg); box-shadow: none; }
.card svg { width: 26px; height: 26px; color: var(--bz-accent); margin-bottom: 18px; display: block; }
.card h3 { font: 700 19px/1.25 var(--bz-display); margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--bz-text2); }

.also { margin-top: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.also li { border-top: 2px solid var(--bz-active); padding-top: 14px; font-size: 15px; color: var(--bz-text2); }
.also strong { display: block; color: var(--bz-text); font-weight: 700; margin-bottom: 4px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 1px solid var(--bz-border2); padding-top: 20px; }
.steps li::before {
  content: "0" counter(step);
  display: block; font: 700 14px/1 var(--bz-display); letter-spacing: 0.08em;
  color: var(--bz-active-ink); margin-bottom: 14px;
}
.steps h3 { font: 700 19px/1.25 var(--bz-display); margin-bottom: 8px; }
.steps p { font-size: 15px; color: var(--bz-text2); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.split .sec-head { margin-bottom: 0; }
.ticks li { position: relative; padding: 16px 0 16px 34px; border-bottom: 1px solid var(--bz-border); font-size: 16px; color: var(--bz-text2); }
.ticks li:first-child { padding-top: 0; }
.ticks li:first-child::before { top: 5px; }
.ticks li::before {
  content: ""; position: absolute; left: 4px; top: 21px; width: 14px; height: 8px;
  border-left: 2.5px solid var(--bz-accent); border-bottom: 2.5px solid var(--bz-accent);
  transform: rotate(-45deg);
}
.ticks strong { color: var(--bz-text); }

.docs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.docs li {
  font-size: 13.5px; font-weight: 600; color: var(--bz-text2);
  border: 1px solid var(--bz-border2); border-radius: 999px; padding: 7px 14px; background: var(--bz-bg2);
}

/* ── Fecho + rodapé: de volta à sala escura. ── */
.close { background: #080d16; color: #e8eef7; padding: 96px 0; text-align: center;
  background-image: radial-gradient(700px circle at 50% 120%, rgba(79, 140, 255, 0.24), transparent 65%); }
.close p { margin: 16px auto 0; max-width: 34em; font-size: 17px; color: #c3cfdd; }
.close .cta { justify-content: center; }

.foot { background: #05080e; color: #94a3b5; font-size: 13.5px; padding: 28px 0; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.foot a { color: #c3cfdd; display: inline-block; padding: 12px 0; margin: -12px 0; }
.foot a:hover { color: #8cc3ff; }

/* ── Tablet ── */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 48px; padding-top: 48px; padding-bottom: 72px; }
  .hero h1 { font-size: 48px; }
  .grid, .also { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .sec, .close { padding: 72px 0; }
  .sec h2, .close h2 { font-size: 34px; }
}

/* ── Telemóvel: 16px de margem lateral, uma coluna, nada transborda. ── */
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .nav a:not(.btn) { display: none; }
  .bar { height: 72px; }
  .room { padding-top: 72px; }
  .hero { padding-top: 32px; padding-bottom: 56px; gap: 40px; }
  .hero h1 { font-size: 38px; }
  .lede { font-size: 16.5px; }
  .cta .btn { width: 100%; }
  .flow { padding: 22px 18px; }
  .grid, .also, .steps { grid-template-columns: 1fr; }
  .steps { gap: 24px; }
  .card { padding: 22px; }
  .sec, .close { padding: 56px 0; }
  .sec-head { margin-bottom: 32px; }
  .sec h2, .close h2 { font-size: 29px; }
  .foot .wrap { flex-direction: column; }
}
