@font-face {
  font-family: "Google Sans";
  src: local("Google Sans"), url("shared/fonts/google-sans/GoogleSans-Latin-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
.portal-landing [hidden] { display: none; }
.portal-landing, .portal-landing *, .portal-landing *::before, .portal-landing *::after { box-sizing: border-box; }
.portal-landing { margin: 0; font-family: "Google Sans", system-ui, sans-serif; line-height: 1.5; -webkit-font-smoothing: antialiased; }
.portal-landing .skip-link { position: fixed; top: 8px; left: 8px; z-index: 10; padding: 12px 18px; border-radius: 8px; background: #fff; color: #315fa8; transform: translateY(-160%); }
.portal-landing .skip-link:focus { transform: none; }
/* Página inicial: estilos locais, sem alterar as interfaces dos produtos. */
.portal-landing {
  --home-blue: #315fa8;
  --home-ink: #1d2939;
  --home-muted: #526176;
  color: var(--home-ink);
  background: radial-gradient(ellipse 65% 440px at 50% 0, #edf3fd 0, transparent 100%), #f8fafc;
}
.portal-shell { width: min(1080px, calc(100% - 64px)); margin-inline: auto; }
.portal-header { border-bottom: 1px solid #e6ebf2; background: rgb(255 255 255 / .65); }
.portal-header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 80px; gap: 24px; }
.portal-brand { display: inline-flex; align-items: baseline; color: var(--home-ink); font-size: 22px; font-weight: 700; letter-spacing: -.8px; text-decoration: none; white-space: nowrap; }
.portal-brand > span:first-child { margin-inline: 4px; font-weight: 400; }
.portal-brand-dot { color: var(--home-blue); }
.portal-header nav { display: flex; align-items: center; gap: 28px; }
.portal-header nav a { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; color: var(--home-muted); font-size: 14px; text-decoration: none; }
.portal-header nav .portal-login { padding-inline: 20px; border: 1px solid #d5dfed; border-radius: 12px; background: white; color: var(--home-blue); font-weight: 600; box-shadow: 0 2px 3px rgb(29 41 57 / .025); }
.portal-header nav .portal-login:hover { background: #f0f5fd; border-color: #a8bcdb; }
.portal-home { padding-bottom: 56px; }
.portal-intro { padding-block: clamp(48px, 5vw, 72px) 44px; text-align: center; }
.portal-eyebrow { margin: 0 0 18px; color: var(--home-blue); font-size: 13px; font-weight: 600; letter-spacing: .025em; }
.portal-intro h1 { margin: 0; color: var(--home-ink); font-size: clamp(36px, 4.2vw, 56px); font-weight: 700; letter-spacing: -.045em; line-height: 1.12; }
.portal-intro h1 span { color: var(--home-blue); }
.portal-intro-copy { margin: 20px 0 0; color: var(--home-muted); font-size: 17px; line-height: 1.6; }
.portal-products { scroll-margin-top: 24px; }
.portal-product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.portal-product { --product-color: var(--home-blue); --product-tint: #eff4fd; display: flex; flex-direction: column; min-width: 0; padding: 24px 28px 14px; border: 1px solid #e0e6ee; border-radius: 20px; background: white; box-shadow: 0 2px 4px rgb(29 41 57 / .025), 0 10px 24px rgb(29 41 57 / .025); transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.portal-product--calculator { --product-color: #16715e; --product-tint: #eef8f4; }
.portal-product--penal { --product-color: #7350a6; --product-tint: #f5f1fb; }
.portal-product--documents { --product-color: #a36023; --product-tint: #fcf5ec; }
.portal-product-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 14px; border: 1px solid color-mix(in srgb, var(--product-color) 10%, white); border-radius: 14px; background: var(--product-tint); color: var(--product-color); }
.portal-product h2 { margin: 0 0 8px; color: var(--home-ink); font-size: 22px; font-weight: 600; letter-spacing: -.025em; line-height: 1.3; }
.portal-product > p { margin: 0 0 16px; color: var(--home-muted); font-size: 15px; line-height: 1.6; }
.portal-product-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0 16px; margin-top: auto; padding-top: 10px; border-top: 1px solid #eef1f5; }
.portal-product-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--product-color); font-size: 14px; font-weight: 600; text-decoration: none; }
.portal-product-link svg { flex-shrink: 0; transition: transform 180ms ease; }
.portal-product-link:hover { color: var(--product-color); text-decoration: none; }
.portal-product-link:hover svg { transform: translateX(3px); }
.portal-product-secondary { display: inline-flex; align-items: center; min-height: 44px; color: var(--home-muted); font-size: 13px; text-decoration: none; }
.portal-product-secondary:hover, .portal-footer a:hover, .portal-nav-products:hover { text-decoration: underline; text-underline-offset: 4px; }
.portal-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 20px 28px; border-top: 1px solid #e1e7ef; color: var(--home-muted); font-size: 13px; }
.portal-footer p { margin: 0; }
.portal-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.portal-footer a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: none; }
.portal-landing a:focus-visible { outline: 2px solid var(--home-blue); outline-offset: 5px; border-radius: 4px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .portal-product:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--product-color) 28%, white); box-shadow: 0 4px 8px rgb(29 41 57 / .03), 0 14px 32px rgb(29 41 57 / .065); }
}
@media (max-width: 640px) {
  .portal-shell { width: calc(100% - 40px); }
  .portal-header-inner { min-height: 72px; gap: 16px; }
  .portal-header nav { gap: 12px; }
  .portal-header nav .portal-nav-products { display: none; }
  .portal-header nav .portal-login { padding-inline: 16px; }
  .portal-brand { font-size: 21px; }
  .portal-intro { padding-block: 44px 32px; text-align: left; }
  .portal-intro h1 { max-width: 420px; font-size: clamp(34px, 8.5vw, 46px); }
  .portal-intro h1 span { display: block; }
  .portal-intro-copy { margin-top: 16px; max-width: 310px; font-size: 16px; }
  .portal-product-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .portal-product { padding: 24px 24px 14px; border-radius: 18px; }
  .portal-product h2 { font-size: 21px; }
  .portal-product > p { margin-bottom: 18px; }
  .portal-home { padding-bottom: 32px; }
  .portal-footer { flex-direction: column; align-items: flex-start; gap: 8px; padding-block: 20px; }
  .portal-footer nav { gap: 4px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .portal-product, .portal-product-link svg { transition: none; }
  .portal-product-link:hover svg { transform: none; }
}
