/* Base e variáveis: sem framework, fontes remotas ou dependências. */
:root {
  color-scheme: light;
  --blue: #1e52a4;
  --blue-hover: #17408a;
  --text: #4b5563;
  --muted: #64748b;
  --focus: #fbbf24;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--text); }
h1, h2, p { margin: 0; }
a { color: inherit; text-decoration: none; }
svg { display: block; flex-shrink: 0; }
a:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 10;
  padding: 12px 20px; border-radius: 8px; background: #fff; color: var(--blue);
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }

/* Composição original: lado azul e área de acesso branca. */
.page { display: flex; min-height: 100vh; min-height: 100svh; }
.visual {
  position: relative; display: flex; flex-direction: column;
  width: 56%; min-width: 0; overflow: hidden; background: var(--blue); color: #fff;
}
.back-link {
  position: absolute; top: 8px; left: 16px; display: inline-flex;
  align-items: center; gap: 4px; min-height: 44px;
  font-size: 14px; font-weight: 500;
}
.back-link:hover { text-decoration: underline; }
.brand { display: flex; align-items: center; gap: 8px; padding: 62px 32px 0; }
.brand-prefix { display: block; font-size: 18px; font-weight: 300; line-height: 1; }
.brand-name { display: block; font-size: 36px; font-weight: 900; line-height: 1; letter-spacing: .9px; }
.illustration-wrap { flex: 1; display: flex; align-items: flex-end; justify-content: center; }
.illustration { display: block; width: min(100%, 384px); height: auto; }
.content {
  width: 44%; min-width: 0; display: flex; align-items: center; justify-content: center;
  background: #fff; box-shadow: 0 20px 25px -5px rgb(0 0 0 / .1);
}
.content-inner {
  display: flex; flex-direction: column; align-items: center;
  width: 100%; max-width: 448px; padding: 48px 32px; text-align: center;
}
h1 { margin-bottom: 12px; font-size: 36px; font-weight: 300; line-height: 40px; letter-spacing: .9px; color: #374151; }
h2 { margin-bottom: 8px; font-size: 16px; font-weight: 600; line-height: 24px; }
.intro { max-width: 320px; margin-bottom: 48px; font-size: 14px; line-height: 1.625; color: var(--muted); }
.question { margin-bottom: 24px; font-size: 16px; font-weight: 600; }
.primary-link {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; max-width: 320px; padding: 16px 24px; border-radius: 999px;
  background: var(--blue); color: #fff; font-size: 16px; font-weight: 600;
}
.primary-link:hover { background: var(--blue-hover); box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1); }
.destination { margin-top: 14px; font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.independent-notice {
  width: 100%; max-width: 310px; margin-top: 24px; padding-top: 16px;
  border-top: 1px solid #e5e7eb; color: #596575; font-size: 12px; line-height: 1.55;
}

/* Mobile, zoom e movimento reduzido. */
@media (max-width: 767px) {
  .page { flex-direction: column; }
  .visual, .content { width: 100%; min-height: 50vh; min-height: 50svh; }
  .illustration { width: min(100%, 384px); }
}
@media (max-width: 359px) {
  .content-inner { padding: 36px 20px; }
  .primary-link { padding-inline: 16px; }
}
@media (prefers-reduced-motion: no-preference) {
  .primary-link { transition: background-color .15s, box-shadow .15s; }
}
@media print {
  .visual, .skip-link { display: none; }
  .content { width: 100%; box-shadow: none; }
  .primary-link { background: transparent; color: #000; border: 1px solid #000; }
}

/* Alternativa acessível para falhas de renderização do React. */
.error-page { max-width: 560px; margin: 0 auto; padding: 64px 24px; }
.error-page > p { margin-bottom: 24px; }
.error-page .primary-link { margin-top: 24px; }
