/* ==========================================================================
   DZDEV — Design tokens & base
   Legacy :root kept for compatibility.
   Portal tokens/styles shared by body.page-home and body.page-product.
   ========================================================================== */

:root {
  /* Color */
  --color-bg: #090B0E;
  --color-surface: #101318;
  --color-surface-elevated: #15191F;
  --color-text: #F5F7FA;
  --color-text-secondary: #9CA3AF;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-accent: #A8B3C2; /* temporário — substituível */

  /* Layout */
  --container-max: 1200px;
  --hero-copy-max: 700px;
  --header-height: 4.5rem;

  /* Spacing */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4.5rem;
  --space-4xl: 6.5rem;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 24px;

  /* Type */
  --font-sans: "DM Sans", system-ui, sans-serif;
  --text-label: 0.8125rem;
  --text-body: 1.0625rem;
  --text-body-lg: 1.125rem;
  --text-h1-mobile: clamp(2.25rem, 8vw, 2.625rem);
  --text-h1-desktop: clamp(3.25rem, 4.5vw, 4rem);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-fast: 150ms;
  --duration-base: 220ms;

  /* Focus */
  --focus-ring: 0 0 0 2px var(--color-bg), 0 0 0 4px var(--color-accent);
}

/* Reset / base ----------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(168, 179, 194, 0.06), transparent 55%),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(21, 25, 31, 0.9), transparent 50%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
p {
  margin: 0;
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.skip-link {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  z-index: 100;
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-label);
  font-weight: 500;
  color: var(--color-bg);
  background: var(--color-accent);
  border-radius: var(--radius-sm);
  transform: translateY(-160%);
  transition: transform var(--duration-fast) var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(100% - (var(--space-lg) * 2), var(--container-max));
  margin-inline: auto;
}

@media (min-width: 768px) {
  .container {
    width: min(100% - (var(--space-xl) * 2), var(--container-max));
  }
}

/* Header (product pages) ------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: color-mix(in srgb, var(--color-bg) 82%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  height: 100%;
}

.brand {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--color-text);
  transition: color var(--duration-fast) var(--ease-out);
}

.brand:hover {
  color: var(--color-accent);
}

/* Shared labels / CTAs (product pages + legacy) ------------------------- */

.eyebrow {
  margin-bottom: var(--space-lg);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.cta-pending {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--color-accent);
  cursor: default;
  user-select: none;
}

.section-intro {
  max-width: var(--hero-copy-max);
  margin-bottom: var(--space-2xl);
}

.section-intro .eyebrow {
  margin-bottom: var(--space-lg);
}

.section-intro__title {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--color-text);
  text-wrap: balance;
}

.section-intro__desc {
  margin-top: var(--space-lg);
  font-size: var(--text-body);
  line-height: 1.65;
  color: var(--color-text-secondary);
  text-wrap: pretty;
}

@media (min-width: 900px) {
  .section-intro {
    margin-bottom: var(--space-3xl);
  }

  .section-intro__desc {
    font-size: var(--text-body-lg);
  }
}

/* Support panel (product pages) ------------------------------------------ */

.support-panel {
  padding: var(--space-2xl) var(--space-xl);
  background: var(--color-surface-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
}

.support-panel__title {
  margin: 0;
  max-width: 28rem;
  font-size: clamp(1.5rem, 3.5vw, 1.875rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--color-text);
  text-wrap: balance;
}

.support-panel__text {
  margin: var(--space-lg) 0 0;
  max-width: 36rem;
  font-size: var(--text-body);
  line-height: 1.65;
  color: var(--color-text-secondary);
  text-wrap: pretty;
}

.support-panel__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md) var(--space-xl);
  margin-top: var(--space-2xl);
}

@media (min-width: 900px) {
  .support-panel {
    padding: var(--space-3xl);
  }

  .support-panel__text {
    font-size: var(--text-body-lg);
  }
}

/* Footer (product pages) ------------------------------------------------- */

.site-footer {
  padding-block: var(--space-3xl) var(--space-2xl);
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
}

.footer-brand__name {
  display: inline-block;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-text);
  transition: color var(--duration-fast) var(--ease-out);
}

.footer-brand__name:hover {
  color: var(--color-accent);
}

.site-footer--simple {
  padding-block: var(--space-2xl);
}

.footer-simple {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm) var(--space-xl);
}

.footer-legal-line {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--color-text-secondary);
}

@media (min-width: 900px) {
  .site-footer {
    padding-block: var(--space-4xl) var(--space-2xl);
  }

  .site-footer--simple {
    padding-block: var(--space-3xl) var(--space-2xl);
  }
}

/* ==========================================================================
   Portal — shared by page-home + page-product + area pages (Figma visual direction)
   ========================================================================== */

body.page-home,
body.page-product,
body.page-catalog,
body.page-family,
body.page-about {
  /* Portal tokens (from site_dzdev_figma/src/index.css) */
  --color-navy: #0F1020;
  --color-navy-light: #1A1B33;
  --color-dzdev-violet: #3B3990;
  --color-dzdev-purple: #6B3B8C;
  --color-dzdev-magenta: #8A3E78;
  --color-primary: #4A46A8;
  --color-primary-hover: #5C58C4;
  --color-portal-bg: #090D16;
  --color-portal-surface: #F1F0F6;
  --color-portal-border: #CBC8D8;
  --color-portal-border-light: #DAD7E4;
  --color-portal-on-dark: #C5C1D6;
  --color-portal-link-on-dark: #BDB5FF;
  --color-portal-muted: #4A4D65;
  --color-portal-text: #14152B;
  --color-nav-bg: #E6E6F0;
  --font-display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Source Sans 3", Arial, Helvetica, sans-serif;
  --font-mono: "JetBrains Mono", "Courier New", monospace;
  --portal-max: 64rem; /* ~max-w-5xl */
  --focus-ring: 0 0 0 2px var(--color-portal-surface), 0 0 0 4px var(--color-primary);

  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-portal-text);
  background-color: var(--color-portal-bg);
  background-image:
    radial-gradient(ellipse at 20% 15%, rgba(91, 66, 145, 0.16), transparent 60%),
    radial-gradient(ellipse at 85% 45%, rgba(138, 62, 120, 0.08), transparent 55%);
  background-attachment: scroll;
}

body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) h1,
body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) h2,
body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) h3 {
  margin: 0;
}

body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) a {
  color: var(--color-primary);
}

body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) a:hover {
  color: var(--color-primary-hover);
  text-decoration: underline;
}

body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) .skip-link {
  color: #fff;
  background: var(--color-primary);
  border-radius: 2px;
}

body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) .cta-pending {
  min-height: auto;
  padding: 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--color-portal-muted);
}

/* Shell ------------------------------------------------------------------ */

body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) .portal-shell {
  width: min(100% - 2rem, var(--portal-max));
  margin-inline: auto;
}

/* Masthead --------------------------------------------------------------- */

body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) .masthead {
  background: var(--color-navy);
  border-bottom: 1px solid rgba(0, 0, 0, 0.4);
}

body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) .masthead__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
}

body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) .masthead__brand {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-shrink: 0;
}

body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) .dzdev-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.025em;
  line-height: 1;
  text-decoration: none;
  background: linear-gradient(90deg, #8280F0 0%, #B870D8 48%, #D45898 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 0 8px rgba(160, 110, 230, 0.3));
}

body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) .dzdev-wordmark:hover {
  text-decoration: none;
  filter: drop-shadow(0 0 10px rgba(160, 110, 230, 0.45));
}

body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) .dzdev-wordmark--sm {
  font-size: 15px;
  filter: none;
}

body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) .masthead__developments {
  display: none;
  font-family: var(--font-mono);
  font-size: 10px;
  color: #AAA5BD;
  letter-spacing: 0.08em;
}

body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) .masthead__tagline {
  display: none;
  margin: 0;
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-mono);
  font-size: 11px;
  color: #AAA5BD;
  letter-spacing: 0.01em;
}

@media (min-width: 640px) {
  body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) .masthead__developments {
    display: inline;
  }
}

@media (min-width: 768px) {
  body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) .masthead__tagline {
    display: block;
  }
}

/* Nav -------------------------------------------------------------------- */

body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) .portal-nav {
  background: linear-gradient(90deg, var(--color-dzdev-violet) 0%, var(--color-dzdev-purple) 52%, var(--color-dzdev-magenta) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) .portal-nav__list {
  display: flex;
  align-items: end;
  gap: 1px;
  overflow-x: auto;
  scrollbar-width: none;
}

body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) .portal-nav__list::-webkit-scrollbar {
  display: none;
}

body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) .portal-nav__link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  min-height: 2.5rem;
  padding: 8px 14px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: #FFFFFF;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 2px 2px 0 0;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.1s, color 0.1s;
}

body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) .portal-nav__link:hover {
  background: rgba(0, 0, 0, 0.16);
  color: #FFFFFF;
  text-decoration: none;
}

body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) .portal-nav__link.is-active,
body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) .portal-nav__link[aria-current="page"] {
  font-weight: 600;
  color: #FFFFFF;
  background: rgba(0, 0, 0, 0.24);
  border-color: transparent;
  border-bottom-color: #FFFFFF;
  margin-bottom: -1px;
}

body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) .portal-nav__link.is-active:hover,
body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) .portal-nav__link[aria-current="page"]:hover {
  background: rgba(0, 0, 0, 0.30);
  color: #FFFFFF;
  text-decoration: none;
}

body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) .portal-nav__link:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: -4px;
  box-shadow: none;
}

/* Nav — mobile 5 items: 3 + 2 centered (6-column track, no empty cell) ---- */

@media (max-width: 520px) {
  body .portal-nav .portal-nav__list {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: stretch;
    gap: 1px;
    overflow-x: visible;
  }

  body .portal-nav .portal-nav__list > li {
    min-width: 0;
    grid-column: span 2;
  }

  body .portal-nav .portal-nav__list > li:nth-child(4) {
    grid-column: 2 / span 2;
  }

  body .portal-nav .portal-nav__list > li:nth-child(5) {
    grid-column: 4 / span 2;
  }

  body .portal-nav .portal-nav__link {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    flex-shrink: 1;
    box-sizing: border-box;
    text-align: center;
  }

  body .portal-nav .portal-nav__link.is-active,
  body .portal-nav .portal-nav__link[aria-current="page"] {
    margin-bottom: 0;
  }
}

/* Main ------------------------------------------------------------------- */

body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) .portal-main {
  flex: 1;
  width: 100%;
  padding: 1rem 0;
}

body.page-home .portal-crumb {
  margin: 0 0 1rem;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-portal-on-dark);
}

body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) .portal-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) .portal-primary,
body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) .portal-rail {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

@media (min-width: 1024px) {
  body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) .portal-layout {
    grid-template-columns: 1fr 300px;
  }
}

/* Modules ---------------------------------------------------------------- */

body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) .module {
  overflow: hidden;
  background: var(--color-portal-surface);
  border: 1px solid var(--color-portal-border);
  border-radius: 2px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
  scroll-margin-top: 1rem;
}

body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) .module__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 6px 12px;
  background: #2B2866;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 1px 0 rgba(0, 0, 0, 0.3);
}

body.page-home .module--accent .module__bar {
  background: linear-gradient(90deg, #3B3990 0%, #6B3B8C 52%, #8A3E78 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 1px 0 rgba(0, 0, 0, 0.3);
}

body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) .module__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}

body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) .module__badge {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
}

body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) .module__body {
  background: var(--color-portal-surface);
}

body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) .module__body--pad {
  padding: 12px;
}

body.page-home .module__lead {
  margin: 0 0 12px;
  font-size: 12px;
  color: var(--color-portal-muted);
}

body.page-home .module__footer-link {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--color-portal-border-light);
}

body.page-home .module__footer-link a {
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
}

body.page-home .module__footer-link a:hover {
  text-decoration: underline;
}

/* Destaque --------------------------------------------------------------- */

body.page-home .feature-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  color: inherit;
  text-decoration: none;
  transition: background-color 0.1s;
}

body.page-home .feature-row:hover {
  background: #EEECF8;
  color: inherit;
  text-decoration: none;
}

body.page-home .feature-row__content {
  flex: 1;
  min-width: 0;
}

body.page-home .feature-row__heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

body.page-home .feature-row__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--color-portal-text);
}

body.page-home .feature-row__tagline {
  margin: 0 0 0.5rem;
  font-size: 14px;
  color: var(--color-portal-muted);
}

body.page-home .feature-row__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

body.page-home .feature-row__hint {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--color-primary);
  opacity: 0;
  transition: opacity 0.15s;
}

body.page-home .feature-row:hover .feature-row__hint {
  opacity: 1;
}

/* Badges ----------------------------------------------------------------- */

body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) .status-badge {
  display: inline-block;
  padding: 2px 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.5;
  color: #33318A;
  background: #ECEAF5;
  border: 1px solid #CCC9E6;
  border-radius: 2px;
}

body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) .status-badge--green {
  color: #166534;
  background: #DCFCE7;
  border-color: #B8EDD0;
}

body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) .status-badge--gray {
  color: #4A4D65;
  background: #E6E6F0;
  border-color: #C4C6D4;
}

/* App icons -------------------------------------------------------------- */

body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) .app-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--color-portal-border-light);
  object-fit: cover;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}

body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) .app-icon--lg {
  width: 56px;
  height: 56px;
  border-radius: 11px;
}

body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) .app-icon--sm {
  width: 36px;
  height: 36px;
  border-radius: 7px;
}

/* Linha Visão tiles ------------------------------------------------------ */

body.page-home .product-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

body.page-home .product-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 12px;
  background: var(--color-portal-surface);
  border: 1px solid var(--color-portal-border-light);
  border-radius: 2px;
  text-align: center;
  color: inherit;
  text-decoration: none;
  transition: background-color 0.1s, border-color 0.1s;
}

body.page-home .product-tile--link:hover {
  background: #EEECF8;
  border-color: #A89ADA;
  color: inherit;
  text-decoration: none;
}

body.page-home .product-tile:hover {
  background: #EEECF8;
  border-color: #A89ADA;
}

body.page-home .product-tile__name {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--color-portal-text);
}

body.page-home .product-tile .cta-pending {
  min-height: 1.25rem;
}

@media (min-width: 640px) {
  body.page-home .product-tiles {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Linha Carteira --------------------------------------------------------- */

body.page-home .carteira-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

body.page-home .carteira-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  padding: 12px;
  background: var(--color-portal-surface);
  border: 1px solid var(--color-portal-border-light);
  border-radius: 2px;
  color: inherit;
  text-decoration: none;
  transition: background-color 0.1s, border-color 0.1s;
}

body.page-home .carteira-item--link:hover {
  background: #EEECF8;
  border-color: #A89ADA;
  color: inherit;
  text-decoration: none;
}

body.page-home .carteira-item:hover {
  background: #EEECF8;
  border-color: #A89ADA;
}

body.page-home .carteira-item__name {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--color-portal-text);
}

body.page-home .carteira-item__family {
  margin: 2px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-portal-muted);
}

@media (min-width: 640px) {
  body.page-home .carteira-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Rail ------------------------------------------------------------------- */

body.page-home .rail-list {
  display: flex;
  flex-direction: column;
}

body.page-home .rail-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-bottom: 1px solid var(--color-portal-border-light);
  color: inherit;
  text-decoration: none;
  transition: background-color 0.1s;
}

body.page-home .rail-list > li:last-child .rail-item {
  border-bottom: none;
}

body.page-home .rail-item--link:hover {
  background: #EEECF8;
  color: inherit;
  text-decoration: none;
}

body.page-home .rail-item:hover {
  background: #EEECF8;
}

body.page-home .rail-item__text {
  min-width: 0;
}

body.page-home .rail-item__name {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-portal-text);
}

body.page-home .rail-item__desc {
  margin: 2px 0 6px;
  font-size: 11px;
  line-height: 1.45;
  color: var(--color-portal-muted);
}

body.page-home .rail-copy {
  margin: 0 0 0.5rem;
  font-size: 13px;
  color: var(--color-portal-text);
}

body.page-home .rail-copy--muted {
  color: var(--color-portal-muted);
}

body.page-home .rail-copy:last-child {
  margin-bottom: 0;
}

body.page-home .rail-actions {
  margin-top: 0.5rem;
}

/* Catalog strip ---------------------------------------------------------- */

body.page-home .catalog-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 12px;
  background: var(--color-portal-surface);
  border: 1px solid var(--color-portal-border);
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

body.page-home .catalog-strip__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-portal-text);
}

body.page-home .catalog-strip__meta {
  margin: 2px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-portal-muted);
}

/* Buttons ---------------------------------------------------------------- */

body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) .btn-primary,
body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  user-select: none;
  text-decoration: none;
  transition: filter 0.1s, transform 0.08s, box-shadow 0.08s;
}

body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) .btn-primary {
  padding: 6px 13px;
  color: #fff;
  background: linear-gradient(180deg, #5C58C4 0%, #38358A 100%);
  border: 1px solid #28267A;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 1px 3px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(0, 0, 0, 0.12);
}

body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) .btn-primary:hover {
  filter: brightness(1.08);
  color: #fff;
  text-decoration: none;
}

body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) .btn-primary:active {
  transform: translateY(1px);
  filter: brightness(0.94);
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(0, 0, 0, 0.12);
}

body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) .btn-secondary {
  padding: 5px 12px;
  letter-spacing: 0.06em;
  color: #14152B;
  background: linear-gradient(180deg, #F6F6FA 0%, #E4E4EE 100%);
  border: 1px solid #A6A8BC;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 1px 2px rgba(0, 0, 0, 0.14);
}

body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) .btn-secondary[aria-disabled="true"] {
  cursor: default;
}

body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) .btn-secondary:hover {
  filter: brightness(0.97);
  color: #14152B;
  text-decoration: none;
}

body.page-home span.btn-secondary:hover {
  filter: none;
}

body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) .btn-secondary:active:not([aria-disabled="true"]) {
  transform: translateY(1px);
  filter: brightness(0.95);
  box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.18);
}

/* Footer ----------------------------------------------------------------- */

body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) .portal-footer {
  margin-top: 8px;
  background: var(--color-navy);
  border-top: 1px solid #3B3990;
}

body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) .portal-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 1rem 0;
}

body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) .portal-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) .portal-footer__developments {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #AAA5BD;
  letter-spacing: 0.06em;
}

body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) .portal-footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 11px;
}

body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) .portal-footer__link,
body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) .portal-footer__pending {
  color: var(--color-portal-on-dark);
  text-decoration: none;
}

body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) .portal-footer__link:hover {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) .portal-footer__pending {
  cursor: default;
  user-select: none;
}

body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) .portal-footer__copy {
  color: #AAA5BD;
}

/* Keep keyboard focus distinct on the dark outer surfaces. */
body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about)
:is(.masthead, .portal-footer, .fiche-crumb) a:focus-visible {
  outline: 2px solid var(--color-portal-link-on-dark);
  outline-offset: 3px;
  box-shadow: none;
}

@media (min-width: 640px) {
  body:is(.page-home, .page-product, .page-catalog, .page-family, .page-about) .portal-footer__inner {
    flex-direction: row;
    align-items: center;
  }
}

/* ==========================================================================
   Product fiche — scoped to body.page-product
   ========================================================================== */

body.page-product .portal-layout--fiche {
  align-items: start;
}

@media (min-width: 1024px) {
  body.page-product .portal-layout--fiche {
    grid-template-columns: 1fr 280px;
  }
}

body:is(.page-product, .page-catalog, .page-family, .page-about) .fiche-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  margin: 0 0 1rem;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-portal-on-dark);
}

body:is(.page-product, .page-catalog, .page-family, .page-about) .fiche-crumb a {
  color: var(--color-portal-link-on-dark);
  text-decoration: none;
}

body:is(.page-product, .page-catalog, .page-family, .page-about) .fiche-crumb a:hover {
  color: #E1DCFF;
  text-decoration: underline;
}

body:is(.page-product, .page-catalog, .page-family, .page-about) .fiche-crumb [aria-current="page"] {
  color: var(--color-portal-on-dark);
}

body.page-product .fiche-header {
  padding: 1rem;
  background: var(--color-portal-surface);
  border: 1px solid var(--color-portal-border);
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

body.page-product .fiche-header__top {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

body.page-product .app-icon--xl {
  width: 64px;
  height: 64px;
  border-radius: 13px;
}

body.page-product .fiche-header__identity {
  flex: 1;
  min-width: 0;
}

body.page-product .fiche-header__name {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  color: var(--color-portal-text);
}

body.page-product .fiche-header__meta {
  display: flex;
  flex-direction: column;
}

body.page-product .meta-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 6px 0;
  border-bottom: 1px solid var(--color-portal-border-light);
}

body.page-product .meta-row:last-child {
  border-bottom: none;
}

body.page-product .meta-row__label {
  flex-shrink: 0;
  width: 6rem;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-portal-muted);
}

body.page-product .meta-row__value {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-portal-text);
}

body.page-product .fiche-header__headline {
  margin: 0 0 1rem;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-portal-muted);
}

body.page-product .fiche-header__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

body.page-product .btn-primary[aria-disabled="true"] {
  cursor: default;
  opacity: 0.72;
  filter: none;
  transform: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 1px 2px rgba(0, 0, 0, 0.28);
}

body.page-product span.btn-primary:hover {
  filter: none;
  color: #fff;
  text-decoration: none;
}

body.page-product .fiche-copy {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-portal-text);
}

body.page-product .fiche-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

body.page-product .fiche-features__item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

body.page-product .fiche-features__dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: 0.45rem;
  border-radius: 2px;
  background: var(--color-dzdev-violet);
}

body.page-product .fiche-features__name {
  margin: 0 0 0.15rem;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-portal-text);
}

body.page-product .fiche-features__desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--color-portal-muted);
}

body.page-product .fiche-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

body.page-product .fiche-gallery__image {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--color-portal-border-light);
  border-radius: 2px;
  background: #fff;
}

@media (min-width: 640px) {
  body.page-product .fiche-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Carousel modifier — opt-in; default fiche-gallery (e.g. 10Dobra) unchanged */
body.page-product .fiche-gallery--carousel {
  display: flex;
  grid-template-columns: none;
  gap: 0.75rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.25rem;
}

body.page-product .fiche-gallery--carousel:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

body.page-product .fiche-gallery--carousel > li {
  flex: 0 0 clamp(11.5rem, 85%, 18rem);
  scroll-snap-align: start;
  min-width: 0;
}

body.page-product .fiche-gallery--carousel .fiche-gallery__image {
  width: 100%;
  height: auto;
  max-width: 100%;
}

@media (min-width: 640px) {
  body.page-product .fiche-gallery--carousel {
    grid-template-columns: none;
  }

  body.page-product .fiche-gallery--carousel > li {
    flex-basis: clamp(14rem, 42%, 20rem);
  }
}

@media (min-width: 1024px) {
  body.page-product .fiche-gallery--carousel > li {
    flex-basis: clamp(15rem, 38%, 22rem);
  }
}

/* Uniform frame — opt-in; equal slide size with object-fit contain (no crop) */
body.page-product .fiche-gallery--uniform > li {
  aspect-ratio: 3 / 4;
  position: relative;
}

body.page-product .fiche-gallery--carousel.fiche-gallery--uniform .fiche-gallery__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
}

body.page-product .fiche-info {
  padding: 1rem;
  background: var(--color-portal-surface);
  border: 1px solid var(--color-portal-border);
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

body.page-product .fiche-info__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-portal-text);
}

body.page-product .fiche-support {
  padding: 12px;
  background: var(--color-portal-surface);
  border: 1px solid var(--color-portal-border);
  border-radius: 2px;
}

body.page-product .fiche-support__pending,
body.page-product .fiche-support__link {
  display: block;
  margin: 0;
  padding: 0.15rem 0;
  font-size: 12px;
  text-decoration: none;
}

body.page-product .fiche-support__pending {
  color: var(--color-portal-muted);
  cursor: default;
  user-select: none;
}

body.page-product .fiche-support__link {
  color: var(--color-primary);
}

body.page-product .fiche-support__link:hover {
  color: var(--color-primary-hover);
  text-decoration: underline;
}

body.page-product .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Area pages — catalog / family / about
   ========================================================================== */

body:is(.page-catalog, .page-family, .page-about) .portal-main .portal-shell {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

body:is(.page-catalog, .page-family, .page-about) .fiche-crumb {
  margin-bottom: 0;
}

body.page-catalog .catalog-list {
  display: flex;
  flex-direction: column;
  background: var(--color-portal-surface);
}

body.page-catalog .catalog-list > li {
  border-bottom: 1px solid var(--color-portal-border-light);
}

body.page-catalog .catalog-list > li:last-child {
  border-bottom: none;
}

body.page-catalog .catalog-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  color: inherit;
  text-decoration: none;
}

body.page-catalog .catalog-row--link {
  transition: background-color 0.1s;
}

body.page-catalog .catalog-row--link:hover {
  background: #EEECF8;
  color: inherit;
  text-decoration: none;
}

body.page-catalog .catalog-row__content {
  flex: 1;
  min-width: 0;
}

body.page-catalog .catalog-row__heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

body.page-catalog .catalog-row__name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--color-portal-text);
}

body.page-catalog .catalog-row__tagline {
  margin: 0 0 0.5rem;
  font-size: 12px;
  color: var(--color-portal-muted);
}

body.page-catalog .catalog-row__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

body.page-catalog .catalog-row__hint {
  flex-shrink: 0;
  align-self: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-primary);
  opacity: 0;
  transition: opacity 0.15s;
}

body.page-catalog .catalog-row--link:hover .catalog-row__hint {
  opacity: 1;
}

body.page-family .family-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: var(--color-portal-surface);
  border: 1px solid var(--color-portal-border);
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

body.page-family .family-header__mark {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  background: linear-gradient(135deg, #252466 0%, #4A2B7A 100%);
}

body.page-family .family-header__mark--carteira {
  background: linear-gradient(135deg, #4A2B7A 0%, #7A3068 100%);
}

body.page-family .family-header__content {
  flex: 1;
  min-width: 0;
}

body.page-family .family-header__name {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--color-portal-text);
}

body.page-family .family-header__lead {
  margin: 0 0 0.5rem;
  font-size: 14px;
  color: var(--color-portal-muted);
}

body.page-family .family-header__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

body.page-family .family-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  padding: 12px;
  background: var(--color-portal-surface);
}

@media (min-width: 640px) {
  body.page-family .family-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

body.page-family .family-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 12px;
  background: var(--color-portal-surface);
  border: 1px solid var(--color-portal-border-light);
  border-radius: 2px;
  color: inherit;
  text-decoration: none;
}

body.page-family .family-card--link {
  transition: background-color 0.1s;
}

body.page-family .family-card--link:hover {
  background: #EEECF8;
  color: inherit;
  text-decoration: none;
}

body.page-family .family-card__content {
  flex: 1;
  min-width: 0;
}

body.page-family .family-card__name {
  margin: 0 0 0.25rem;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-portal-text);
}

body.page-family .family-card__desc {
  margin: 0 0 0.5rem;
  font-size: 12px;
  line-height: 1.45;
  color: var(--color-portal-muted);
}

body.page-family .family-copy {
  margin: 0 0 0.5rem;
  font-size: 14px;
  color: var(--color-portal-text);
}

body.page-family .family-copy--muted {
  color: var(--color-portal-muted);
}

body.page-family .family-copy:last-child {
  margin-bottom: 0;
}

body.page-about .about-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 1024px) {
  body.page-about .about-layout {
    grid-template-columns: 1fr 280px;
    align-items: start;
  }
}

body.page-about .about-layout__primary,
body.page-about .about-layout__rail {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

body.page-about .about-headline {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.25;
  color: var(--color-portal-text);
}

body.page-about .about-copy {
  margin: 0 0 0.75rem;
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-portal-text);
}

body.page-about .about-copy--muted {
  color: var(--color-portal-muted);
}

body.page-about .about-copy:last-child {
  margin-bottom: 0;
}

body.page-about .principles-list {
  display: flex;
  flex-direction: column;
  background: var(--color-portal-surface);
}

body.page-about .principles-item {
  padding: 12px;
  border-bottom: 1px solid var(--color-portal-border-light);
}

body.page-about .principles-item:last-child {
  border-bottom: none;
}

body.page-about .principles-item__index {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-portal-text);
}

body.page-about .principles-item__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--color-portal-muted);
}

body.page-about .about-summary {
  display: flex;
  flex-direction: column;
  padding: 4px 12px 8px;
  background: var(--color-portal-surface);
}

body.page-about .about-summary__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-portal-border-light);
}

body.page-about .about-summary__item:last-child {
  border-bottom: none;
}

body.page-about .about-summary__label {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-portal-text);
}

body.page-about a.about-summary__label {
  color: var(--color-primary);
  text-decoration: none;
}

body.page-about a.about-summary__label:hover {
  color: var(--color-primary-hover);
  text-decoration: underline;
}

body.page-about .about-summary__note {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-portal-muted);
}

body.page-about .rail-actions {
  margin-top: 0.5rem;
}

body.page-about .about-summary--stack .about-summary__item {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}

body.page-about .about-summary--stack .about-summary__note {
  text-align: left;
  line-height: 1.4;
}

/* Clickable app surfaces: visual elevation without changing layout. */
body.page-home a:is(.product-tile, .carteira-item, .rail-item, .feature-row),
body.page-catalog a.catalog-row--link,
body.page-family a.family-card--link {
  background: #FCFBFE;
  border-color: #CDC7DE;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(59, 57, 144, 0.10);
  transition: background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

/* Inset edges preserve the dimensions of rows that have no full border. */
body.page-home a:is(.rail-item, .feature-row),
body.page-catalog a.catalog-row--link {
  box-shadow: inset 0 0 0 1px #CDC7DE, 0 2px 5px rgba(59, 57, 144, 0.10);
}

@media (hover: hover) {
  body.page-home a:is(.product-tile, .carteira-item, .rail-item, .feature-row):hover,
  body.page-catalog a.catalog-row--link:hover,
  body.page-family a.family-card--link:hover {
    background: #F5F2FC;
    border-color: #8E7CB7;
    box-shadow: inset 0 0 0 1px #8E7CB7, 0 3px 8px rgba(59, 57, 144, 0.16);
  }
}

body.page-home a:is(.product-tile, .carteira-item, .rail-item, .feature-row):focus-visible,
body.page-catalog a.catalog-row--link:focus-visible,
body.page-family a.family-card--link:focus-visible {
  background: #F5F2FC;
  border-color: #8E7CB7;
  outline: 2px solid var(--color-primary);
  outline-offset: -3px;
  box-shadow: 0 3px 8px rgba(59, 57, 144, 0.16);
}

@media (prefers-reduced-motion: reduce) {
  body.page-home a:is(.product-tile, .carteira-item, .rail-item, .feature-row),
  body.page-catalog a.catalog-row--link,
  body.page-family a.family-card--link {
    transition: none;
  }
}

