/* ==========================================================================
   SPACE DS · components.css
   Componentes de conteúdo. Consomem só tokens: nenhuma cor ou medida solta.
   Nav, busca, gaveta, sheet, toast e rodapé ficam em shell.css.
   ========================================================================== */

/* ── Ícones ───────────────────────────────────────────────────────────── */
.icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  vertical-align: middle;
}
.icon--sm { width: 1em; height: 1em; }
.icon--lg { width: 1.75em; height: 1.75em; }
.icon--xl { width: 2.5em; height: 2.5em; stroke-width: 1.25; }

/* ── Botões ───────────────────────────────────────────────────────────── */
.btn {
  --btn-bg: var(--accent);
  --btn-bg-h: var(--accent-hover);
  --btn-bg-a: var(--accent-active);
  --btn-fg: var(--accent-ink);
  --btn-fg-h: var(--btn-fg);
  --btn-bd: transparent;

  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 44px; padding: 0 1.35em;
  font-size: var(--fs-body); font-weight: var(--fw-medium);
  line-height: 1.1; letter-spacing: var(--ls-body);
  white-space: nowrap; text-decoration: none;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1px solid var(--btn-bd); border-radius: var(--r-pill);
  user-select: none; -webkit-tap-highlight-color: transparent;
  transition:
    background-color var(--dur-2) var(--ease),
    color var(--dur-2) var(--ease),
    border-color var(--dur-2) var(--ease),
    transform var(--dur-1) var(--ease),
    opacity var(--dur-2) var(--ease);
}
.btn:hover  { color: var(--btn-fg-h); background: var(--btn-bg-h); text-decoration: none; }
.btn:active { background: var(--btn-bg-a); transform: scale(.97); }
.btn .icon  { width: 1.15em; height: 1.15em; }
.btn[disabled], .btn.is-disabled { opacity: .4; pointer-events: none; }

.btn--secondary {
  --btn-bg: transparent;
  --btn-bg-h: var(--link);
  --btn-bg-a: color-mix(in srgb, var(--link) 86%, black);
  --btn-fg: var(--link);
  --btn-fg-h: var(--bg);
  --btn-bd: var(--link);
}
.btn--tertiary {
  --btn-bg: var(--fill);
  --btn-bg-h: var(--fill-strong);
  --btn-bg-a: var(--fill-strong);
  --btn-fg: var(--text);
}
.btn--dark {
  --btn-bg: var(--gray-900);
  --btn-bg-h: var(--gray-800);
  --btn-bg-a: var(--black);
  --btn-fg: var(--white);
}
.btn--light {
  --btn-bg: var(--white);
  --btn-bg-h: var(--gray-200);
  --btn-bg-a: var(--gray-300);
  --btn-fg: var(--gray-900);
}
.btn--whatsapp {
  --btn-bg: var(--whatsapp);
  --btn-bg-h: color-mix(in srgb, var(--whatsapp) 88%, white);
  --btn-bg-a: color-mix(in srgb, var(--whatsapp) 82%, black);
  --btn-fg: var(--white);
}
.btn--sm { min-height: 36px; padding: 0 1.1em; font-size: var(--fs-caption); letter-spacing: var(--ls-caption); }
.btn--lg { min-height: 52px; padding: 0 1.7em; font-size: 1.1875rem; }
.btn--block { display: flex; width: 100%; }

/* ── Links ────────────────────────────────────────────────────────────── */
.link {
  display: inline-flex; align-items: center; gap: .3em;
  color: var(--link); text-decoration: none; cursor: pointer;
  font-weight: var(--fw-medium);
}
.link:hover { text-decoration: underline; }
.link--arrow::after {
  content: "";
  width: .44em; height: .44em; margin-left: .05em;
  border-top: 1.6px solid currentColor; border-right: 1.6px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--dur-2) var(--ease-out);
}
.link--arrow:hover::after { transform: translateX(3px) rotate(45deg); }
.link--muted { color: var(--text-muted); font-weight: var(--fw-regular); }
.link--muted:hover { color: var(--text); }

/* ── Botão de ícone ───────────────────────────────────────────────────── */
.icon-btn {
  position: relative;
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  color: inherit; text-decoration: none;
  transition: background-color var(--dur-2) var(--ease), opacity var(--dur-2) var(--ease);
}
.icon-btn:hover { background: var(--fill); text-decoration: none; }
.icon-btn--round { background: var(--fill); }
.icon-btn--round:hover { background: var(--fill-strong); }
.icon-btn--sm { width: 32px; height: 32px; }
.icon-btn[disabled] { opacity: .35; pointer-events: none; }

/* ── Selo, chip e meter ───────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: .35em;
  padding: .22em .7em; border-radius: var(--r-pill);
  font-size: var(--fs-micro); line-height: 1.3; font-weight: var(--fw-semibold); letter-spacing: .01em;
  color: var(--text); background: var(--fill); white-space: nowrap;
}
.badge--accent  { color: var(--accent-strong); background: var(--accent-tint); }
.badge--success { color: var(--success); background: var(--success-tint); }
.badge--warning { color: var(--warning); background: var(--warning-tint); }
.badge--danger  { color: var(--danger);  background: var(--danger-tint); }
.badge--solid   { color: var(--accent-ink); background: var(--accent); }
.badge--glass {
  color: var(--text); background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}

.chips { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.chip {
  display: inline-flex; align-items: center; gap: .4em;
  min-height: 36px; padding: 0 1.1em; border-radius: var(--r-pill);
  font-size: var(--fs-caption); color: var(--text); background: var(--fill);
  white-space: nowrap; text-decoration: none;
  transition: background-color var(--dur-2) var(--ease), color var(--dur-2) var(--ease);
}
.chip:hover { background: var(--fill-strong); text-decoration: none; }
.chip.is-active, .chip[aria-pressed="true"] { background: var(--text); color: var(--bg); }

.meter { display: flex; flex-direction: column; gap: 6px; }
.meter__label { display: flex; justify-content: space-between; font-size: var(--fs-caption); color: var(--text-muted); }
.meter__label strong { color: var(--text); font-weight: var(--fw-semibold); }
.meter__track { height: 6px; border-radius: 3px; background: var(--fill-strong); overflow: hidden; }
.meter__fill { display: block; height: 100%; width: calc(var(--v, 0) * 1%); border-radius: inherit; background: var(--success); }

/* ── Tiles (cartões grandes do Apple) ─────────────────────────────────── */
.tile {
  --tile-h: 560px;
  position: relative; isolation: isolate;
  display: flex; flex-direction: column; align-items: center;
  min-height: var(--tile-h); overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--tile-bg); color: var(--text);
  text-align: center;
}
@media (max-width: 733.98px) { .tile { --tile-h: 500px; } }

.tile__bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover; object-position: var(--pos, 50% 50%);
  transition: transform 1.4s var(--ease-out);
}
.tile:hover .tile__bg { transform: scale(1.035); }

.tile__scrim {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.52) 0%, rgba(0,0,0,.16) 38%, transparent 64%);
}
.tile__scrim--bottom { background: linear-gradient(0deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.18) 42%, transparent 68%); }
.tile__scrim--flat   { background: rgba(0,0,0,.28); }

.tile__body {
  display: flex; flex-direction: column; align-items: center; gap: var(--sp-1);
  width: 100%; padding: clamp(28px, 4.5vw, 52px) clamp(20px, 4vw, 48px) 0;
}
.tile__body--bottom { margin-top: auto; padding: 0 clamp(20px, 4vw, 48px) clamp(28px, 4.5vw, 52px); }
.tile__body--left   { align-items: flex-start; text-align: left; }

.tile__eyebrow {
  font-size: var(--fs-subhead); line-height: var(--lh-subhead);
  letter-spacing: var(--ls-subhead); font-weight: var(--fw-semibold);
}
.tile__title {
  font-size: var(--fs-headline); line-height: var(--lh-headline);
  letter-spacing: var(--ls-headline); font-weight: var(--fw-semibold);
  text-wrap: balance;
}
.tile__sub {
  max-width: 34ch;
  font-size: var(--fs-subhead); line-height: var(--lh-subhead);
  letter-spacing: var(--ls-subhead); font-weight: var(--fw-regular);
}
.tile__actions {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: var(--sp-3) var(--sp-5); margin-top: var(--sp-5);
}
.tile__body--left .tile__actions { justify-content: flex-start; }
/* Links sobre foto ficam brancos; sobre foto clara (tile--ink) mantêm o azul */
.tile__actions .link { color: var(--tile-link, var(--link)); }
.tile:has(> .tile__bg):not(.tile--ink) { --tile-link: #fff; }

.tile__media {
  display: flex; justify-content: center; align-items: flex-end;
  width: 100%; margin-top: auto; padding: var(--sp-6) var(--sp-6) 0;
}
.tile__media img { width: 100%; max-height: 360px; object-fit: contain; mix-blend-mode: multiply; }
[data-theme="dark"] .tile__media img, .theme-dark .tile__media img { mix-blend-mode: normal; }

.tile--hero { --tile-h: min(86vh, 780px); }
.tile--hero .tile__title { font-size: var(--fs-hero); line-height: var(--lh-hero); letter-spacing: var(--ls-hero); }
.tile--hero .tile__sub   { max-width: 40ch; }

/* ── Bento ────────────────────────────────────────────────────────────── */
.bento { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gap-tile); }
@media (min-width: 734px) {
  .bento--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bento > .span-all { grid-column: 1 / -1; }
}

/* ── Card de produto ──────────────────────────────────────────────────── */
.pcard {
  position: relative;
  display: flex; flex-direction: column; height: 100%;
  overflow: hidden; border-radius: var(--r-xl);
  background: var(--tile-bg); color: var(--text);
}
.section--alt .pcard { background: var(--bg-elev); }

.pcard__media {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 1 / 1; background: var(--media-bg, var(--bg-alt));
}
.pcard__media img {
  width: 100%; height: 100%;
  object-fit: var(--fit, cover); object-position: var(--pos, 50% 50%);
  transform: scale(var(--zoom, 1)); transform-origin: var(--pos, 50% 50%);
  transition: transform var(--dur-4) var(--ease-out);
}
.pcard__media.is-contain { background: var(--media-bg, var(--bg-elev)); }
.pcard__media.is-contain img { mix-blend-mode: multiply; padding: var(--sp-4); }
[data-theme="dark"] .pcard__media.is-contain img { mix-blend-mode: normal; }
.pcard:hover .pcard__media img { transform: scale(calc(var(--zoom, 1) * 1.045)); }
.pcard__badge { position: absolute; top: var(--sp-4); left: var(--sp-4); z-index: 1; pointer-events: none; }

.pcard__body {
  display: flex; flex-direction: column; flex: 1; gap: var(--sp-1);
  padding: var(--sp-5) var(--sp-6) var(--sp-6);
}
.pcard__eyebrow { font-size: var(--fs-micro); font-weight: var(--fw-semibold); color: var(--text-muted); letter-spacing: .01em; }

/* Etiqueta de destaque (Novo, Seminovos, Troque seu aparelho): pílula na cor da marca.
   Funciona em qualquer fundo, claro, escuro ou foto. */
.t-eyebrow--new,
.tile__eyebrow.t-eyebrow--new,
.pcard__eyebrow.is-new {
  display: inline-block; width: fit-content;
  padding: .3em .85em; border-radius: var(--r-pill);
  font-size: var(--fs-caption); line-height: 1.2; letter-spacing: .01em; font-weight: var(--fw-semibold);
  color: var(--accent-ink); background: var(--accent);
}
.pcard__eyebrow.is-new { margin-bottom: var(--sp-1); padding: .25em .75em; font-size: var(--fs-micro); }
.pcard__name {
  font-size: var(--fs-title); line-height: var(--lh-title);
  letter-spacing: var(--ls-title); font-weight: var(--fw-semibold);
}
.pcard__name a { color: inherit; }
.pcard__name a::after { content: ""; position: absolute; inset: 0; z-index: 0; } /* card inteiro clicável */
.pcard__tag { font-size: var(--fs-caption); color: var(--text-muted); text-wrap: pretty; }
.pcard__meter { margin-top: var(--sp-3); }
.pcard__foot {
  display: flex; align-items: flex-end; justify-content: space-between; gap: var(--sp-3);
  margin-top: auto; padding-top: var(--sp-5);
}
.pcard__foot .btn, .pcard__foot .link { position: relative; z-index: 1; }

/* ── Prateleira (carrossel) ───────────────────────────────────────────── */
.shelf { position: relative; }
.shelf__track {
  --pad: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter)));
  display: grid; grid-auto-flow: column;
  grid-auto-columns: clamp(256px, 80vw, 300px); gap: var(--gap-tile);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding-inline: var(--pad); scroll-padding-inline: var(--pad);
  scrollbar-width: none;
}
.shelf__track::-webkit-scrollbar { display: none; }
.shelf__track > * { scroll-snap-align: start; }
.shelf__ctrl {
  display: flex; justify-content: flex-end; gap: var(--sp-2);
  max-width: var(--wrap); margin: var(--sp-5) auto 0; padding-inline: var(--gutter);
}

/* ── Preço ────────────────────────────────────────────────────────────── */
.price { display: flex; flex-direction: column; gap: 2px; }
.price__from { font-size: var(--fs-micro); color: var(--text-muted); }
.price__now {
  font-size: var(--fs-title); line-height: 1.1;
  letter-spacing: var(--ls-title); font-weight: var(--fw-semibold);
  font-variant-numeric: tabular-nums;
}
.price__was { font-size: var(--fs-caption); color: var(--text-subtle); text-decoration: line-through; font-variant-numeric: tabular-nums; }
.price__inst, .price__pix { font-size: var(--fs-caption); color: var(--text-muted); font-variant-numeric: tabular-nums; }
.price__pix strong { color: var(--success); font-weight: var(--fw-semibold); }
.price--lg .price__now { font-size: var(--fs-headline); letter-spacing: var(--ls-headline); }
.price--lg .price__inst, .price--lg .price__pix { font-size: var(--fs-body); }

/* ── Seletores de opção ───────────────────────────────────────────────── */
.swatches { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.swatch {
  --sw: var(--gray-300);
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--sw);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18);
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease);
}
.swatch:hover { transform: scale(1.1); }
.swatch[aria-checked="true"] {
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18), 0 0 0 2px var(--bg), 0 0 0 4px var(--accent-strong);
}

.optcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--sp-3); }
.optcard {
  display: flex; flex-direction: column; gap: 2px; text-align: left;
  padding: var(--sp-4) var(--sp-5); border-radius: var(--r-md);
  background: var(--bg-elev); color: var(--text);
  box-shadow: inset 0 0 0 1px var(--border);
  transition: box-shadow var(--dur-2) var(--ease);
}
.optcard:hover { box-shadow: inset 0 0 0 1px var(--text-subtle); }
.optcard[aria-checked="true"] { box-shadow: inset 0 0 0 2px var(--accent-strong); }
.optcard[disabled] { opacity: .45; }
.optcard__title { font-weight: var(--fw-semibold); }
.optcard__sub   { font-size: var(--fs-caption); color: var(--text-muted); }

.seg { display: inline-flex; padding: 2px; border-radius: var(--r-pill); background: var(--fill); }
.seg__btn {
  min-height: 32px; padding: 0 var(--sp-4); border-radius: var(--r-pill);
  font-size: var(--fs-caption); color: var(--text); white-space: nowrap;
  transition: background-color var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}
.seg__btn[aria-pressed="true"], .seg__btn[aria-checked="true"], .seg__btn.is-active {
  background: var(--raised); box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
}

.qty { display: inline-flex; align-items: center; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1px var(--border); }
.qty button {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  color: var(--text); transition: background-color var(--dur-2) var(--ease);
}
.qty button:hover { background: var(--fill); }
.qty button:disabled { opacity: .35; pointer-events: none; }
.qty__value { min-width: 28px; text-align: center; font-weight: var(--fw-semibold); font-variant-numeric: tabular-nums; }

/* ── Formulários ──────────────────────────────────────────────────────── */
.field { display: flex; flex-direction: column; gap: var(--sp-2); }
.field__label { font-size: var(--fs-caption); font-weight: var(--fw-medium); }
.field__hint  { font-size: var(--fs-micro); color: var(--text-muted); }
.field__error { font-size: var(--fs-micro); color: var(--danger); }

.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 0 var(--sp-4);
  color: var(--text); background: var(--bg-elev);
  border: 1px solid var(--border); border-radius: var(--r-md);
  transition: border-color var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}
.textarea { min-height: 96px; padding-block: var(--sp-3); resize: vertical; }
.input::placeholder, .textarea::placeholder { color: var(--text-subtle); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--text-subtle); }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--accent-strong); box-shadow: 0 0 0 4px var(--accent-tint);
}
.input[aria-invalid="true"], .textarea[aria-invalid="true"] {
  border-color: var(--danger); box-shadow: 0 0 0 4px var(--danger-tint);
}
.select {
  appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e6e73' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
}
.select--pill { min-height: 36px; border-radius: var(--r-pill); font-size: var(--fs-caption); padding-left: var(--sp-4); }

.check { position: relative; display: inline-flex; align-items: center; gap: var(--sp-3); cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; cursor: pointer; }
.check__box {
  position: relative; flex: none; width: 22px; height: 22px;
  border-radius: 6px; box-shadow: inset 0 0 0 1.5px var(--text-subtle);
  transition: background-color var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}
.check--radio .check__box { border-radius: 50%; }
.check input:checked + .check__box { background: var(--accent); box-shadow: none; }
/* O "check" é uma máscara pintada com --accent-ink, então fica legível em qualquer cor de destaque */
.check:not(.check--radio) .check__box::before {
  content: ""; position: absolute; inset: 0; background: var(--accent-ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 80% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 80% no-repeat;
  opacity: 0; transition: opacity var(--dur-1) var(--ease);
}
.check:not(.check--radio) input:checked + .check__box::before { opacity: 1; }
.check--radio input:checked + .check__box::after {
  content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--accent-ink);
}
.check input:focus-visible + .check__box { outline: 3px solid var(--focus); outline-offset: 2px; }

.switch { position: relative; display: inline-block; width: 51px; height: 31px; flex: none; cursor: pointer; }
.switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.switch__track {
  position: absolute; inset: 0; border-radius: var(--r-pill);
  background: var(--fill-strong);
  transition: background-color var(--dur-3) var(--ease);
}
.switch__track::after {
  content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%;
  background: var(--white); box-shadow: 0 2px 4px rgba(0, 0, 0, .25);
  transition: transform var(--dur-3) var(--ease-out);
}
.switch input:checked + .switch__track { background: var(--accent); }
.switch input:checked + .switch__track::after { transform: translateX(20px); }
.switch input:focus-visible + .switch__track { outline: 3px solid var(--focus); outline-offset: 2px; }

/* ── Acordeão ─────────────────────────────────────────────────────────── */
.acc { border-top: 1px solid var(--border-soft); }
.acc__item { border-bottom: 1px solid var(--border-soft); }
.acc__sum {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  padding: var(--sp-5) 0; cursor: pointer; list-style: none;
  font-size: var(--fs-subhead); line-height: var(--lh-subhead);
  letter-spacing: var(--ls-subhead); font-weight: var(--fw-semibold);
}
.acc__sum::-webkit-details-marker { display: none; }
.acc__sum::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 1.6px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.6px 100% no-repeat;
  transition: transform var(--dur-3) var(--ease-out);
}
.acc__item[open] > .acc__sum::after { transform: rotate(45deg); }
.acc__body { max-width: 68ch; padding: 0 0 var(--sp-6); color: var(--text-muted); }
.acc__item[open] > .acc__body { animation: acc-in var(--dur-3) var(--ease-out) both; }
@keyframes acc-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ── Abas ─────────────────────────────────────────────────────────────── */
.tabs__list { display: flex; gap: var(--sp-8); overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--border-soft); }
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__tab {
  position: relative; flex: none; padding: var(--sp-3) 0;
  font-size: var(--fs-caption); color: var(--text-muted); white-space: nowrap;
  transition: color var(--dur-2) var(--ease);
}
.tabs__tab:hover { color: var(--text); }
.tabs__tab[aria-selected="true"] { color: var(--text); font-weight: var(--fw-semibold); }
.tabs__tab[aria-selected="true"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--text); border-radius: 1px;
}
.tabs__panel { padding-top: var(--sp-6); animation: acc-in var(--dur-3) var(--ease-out) both; }

/* ── Migalhas de pão ──────────────────────────────────────────────────── */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .55rem; font-size: var(--fs-caption); color: var(--text-muted); }
.crumbs a { color: var(--text-muted); }
.crumbs a:hover { color: var(--text); text-decoration: none; }
.crumbs li + li { display: inline-flex; align-items: center; gap: .55rem; }
.crumbs li + li::before {
  content: ""; width: .38em; height: .38em; opacity: .55;
  border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.crumbs [aria-current] { color: var(--text); }

/* ── Confiança (benefícios) ───────────────────────────────────────────── */
.trust { display: grid; gap: var(--sp-8) var(--sp-6); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 734px)  { .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1068px) { .trust { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.trust__item { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-2); }
.trust__icon {
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: var(--sp-2);
  border-radius: 50%; color: var(--accent-strong); background: var(--accent-tint);
}
.trust__icon .icon { width: 24px; height: 24px; }
.trust__title { font-size: var(--fs-subhead); line-height: var(--lh-subhead); letter-spacing: var(--ls-subhead); font-weight: var(--fw-semibold); }
.trust__text  { font-size: var(--fs-caption); color: var(--text-muted); max-width: 32ch; }

/* ── Especificações ───────────────────────────────────────────────────── */
.specs { display: grid; gap: var(--sp-12); }
.specs__group { display: grid; gap: var(--sp-4) var(--sp-8); }
@media (min-width: 734px) { .specs__group { grid-template-columns: 240px minmax(0, 1fr); } }
.specs__title { font-size: var(--fs-title); line-height: var(--lh-title); letter-spacing: var(--ls-title); font-weight: var(--fw-semibold); }
.specs__rows { border-top: 1px solid var(--border-soft); }
.specs__row {
  display: grid; grid-template-columns: minmax(110px, 190px) minmax(0, 1fr); gap: var(--sp-4);
  padding: var(--sp-3) 0; border-bottom: 1px solid var(--border-soft);
  font-size: var(--fs-caption);
}
.specs__row dt { color: var(--text-muted); }
.specs__row dd { color: var(--text); }

/* ── Tabela e destaque ────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: var(--fs-caption); }
.table th, .table td { padding: var(--sp-3) var(--sp-4); text-align: left; border-bottom: 1px solid var(--border-soft); vertical-align: top; }
.table th { color: var(--text); font-weight: var(--fw-semibold); border-bottom-color: var(--border); white-space: nowrap; }
.table td { color: var(--text-muted); }
.table code, code.inline {
  padding: .1em .4em; border-radius: var(--r-xs);
  font-family: var(--font-mono); font-size: .92em; letter-spacing: 0;
  color: var(--text); background: var(--fill);
}

.callout {
  display: flex; gap: var(--sp-3); align-items: flex-start;
  padding: var(--sp-4) var(--sp-5); border-radius: var(--r-md);
  font-size: var(--fs-caption); background: var(--accent-tint);
}
.callout .icon { margin-top: 1px; color: var(--accent-strong); }
.callout--success { background: var(--success-tint); } .callout--success .icon { color: var(--success); }
.callout--warning { background: var(--warning-tint); } .callout--warning .icon { color: var(--warning); }
.callout--danger  { background: var(--danger-tint); }  .callout--danger  .icon { color: var(--danger); }

.empty { display: flex; flex-direction: column; align-items: center; gap: var(--sp-3); padding: var(--sp-20) var(--sp-4); text-align: center; }
.empty .icon { width: 56px; height: 56px; color: var(--text-subtle); stroke-width: 1.2; }
.empty p { max-width: 42ch; color: var(--text-muted); }

kbd {
  display: inline-block; min-width: 1.6em; padding: .1em .45em; text-align: center;
  font-family: var(--font-mono); font-size: .85em; letter-spacing: 0;
  color: var(--text); background: var(--fill); border-radius: var(--r-xs);
  box-shadow: inset 0 -1px 0 var(--border-soft);
}
