/* Primo's Sports — componentes */

/* ---------------------------------------------------------------- Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px; /* alvo de toque acessível */
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: var(--fs-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
}
.btn:hover { transform: translateY(-2px); }
.btn:disabled,
.btn[aria-disabled='true'] { opacity: 0.45; cursor: not-allowed; transform: none; }
.btn svg { width: 18px; height: 18px; }

.btn-primary { background: var(--neon); color: #05210a; }
.btn-primary:hover { background: var(--neon-2); }
.btn-outline { border-color: var(--border-strong); color: var(--white); background: rgba(255, 255, 255, 0.03); }
.btn-outline:hover { border-color: var(--neon); color: var(--neon); }
.btn-ghost { color: var(--text-muted); }
.btn-ghost:hover { color: var(--neon); }
.btn-sm { min-height: 40px; padding: 0.5rem 1rem; font-size: var(--fs-xs); }
.btn-block { width: 100%; }
.btn-wa { background: #25d366; color: #04240f; }
.btn-wa:hover { background: #1fb955; }

/* Botões da capa: pílulas maiores, em caixa alta */
.btn-hero {
  min-height: 56px;
  padding: 0.9rem 1.9rem;
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 800;
}
.btn-hero .btn-arrow {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-left: 0.35rem;
  border-radius: 50%;
  background: rgba(5, 33, 10, 0.18);
}
.btn-hero .btn-arrow svg { width: 15px; height: 15px; }
/* Variante contornada verde do WhatsApp (a referência não usa o verde cheio) */
.btn-wa-outline {
  background: transparent;
  color: var(--neon);
  border: 2px solid var(--neon);
}
.btn-wa-outline:hover { background: var(--accent-soft); }
.btn-wa-outline svg { width: 20px; height: 20px; }

/* --------------------------------------------------------- Card de produto */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--gap);
}

/* Carrossel de destaques (home): rolagem horizontal com snap, setas e dots */
.carousel-actions { display: flex; align-items: center; gap: 0.6rem; }
.carousel-arrow {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--white);
  flex-shrink: 0;
  transition: border-color var(--transition), color var(--transition), opacity var(--transition);
}
.carousel-arrow::before {
  content: '';
  width: 9px; height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}
#destaquesPrev::before { transform: rotate(135deg); margin-left: 3px; }
#destaquesNext::before { transform: rotate(-45deg); margin-right: 2px; }
.carousel-arrow:hover { border-color: var(--neon); color: var(--neon); }
.carousel-arrow:disabled { opacity: 0.35; cursor: not-allowed; }
.carousel-arrow:disabled:hover { border-color: var(--border-strong); color: var(--white); }

.carousel-viewport { overflow: hidden; }
.carousel-grid {
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}
.carousel-grid::-webkit-scrollbar { display: none; }
.carousel-grid .product-card,
.carousel-grid .skeleton-card {
  flex: 0 0 clamp(210px, 46vw, 270px);
  scroll-snap-align: start;
}
@media (min-width: 860px) {
  .carousel-grid .product-card,
  .carousel-grid .skeleton-card { flex-basis: clamp(240px, 23vw, 280px); }
}

.carousel-dots { display: none; justify-content: center; gap: 0.4rem; margin-top: 0.85rem; }
.carousel-dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border-strong);
  transition: background var(--transition), transform var(--transition);
}
.carousel-dots button[aria-current='true'] { background: var(--neon); transform: scale(1.25); }

@media (max-width: 720px) {
  .carousel-actions .btn { display: none; }
  .carousel-dots { display: flex; }
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.product-card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.product-card.is-unavailable { opacity: 0.72; }

.product-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  background: linear-gradient(160deg, var(--surface-3), #0a0a0a);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.product-visual img { width: 100%; height: 100%; object-fit: cover; }

.product-tags {
  position: absolute;
  top: 0.65rem; left: 0.65rem;
  display: flex; flex-direction: column;
  gap: 0.3rem;
  align-items: flex-start;
  z-index: 2;
}

.tag {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  border: 1px solid transparent;
}
.tag-best { background: var(--neon); color: #05210a; }
.tag-new { background: var(--info); color: #04203f; }
.tag-ready { background: rgba(118, 255, 3, 0.16); color: var(--neon); border-color: rgba(118, 255, 3, 0.4); }
.tag-low { background: rgba(255, 176, 32, 0.16); color: var(--warn); border-color: rgba(255, 176, 32, 0.45); }
.tag-order { background: rgba(77, 163, 255, 0.14); color: var(--info); border-color: rgba(77, 163, 255, 0.4); }
.tag-off { background: rgba(255, 77, 77, 0.14); color: var(--alert); border-color: rgba(255, 77, 77, 0.4); }

.favorite {
  position: absolute;
  top: 0.65rem; right: 0.65rem;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(5, 5, 5, 0.65);
  border: 1px solid var(--border);
  color: var(--white);
  z-index: 2;
  transition: color var(--transition), border-color var(--transition);
}
.favorite svg { width: 18px; height: 18px; }
.favorite:hover { color: var(--neon); border-color: var(--neon); }
.favorite[aria-pressed='true'] { color: var(--neon); border-color: var(--neon); }
.favorite[aria-pressed='true'] svg { fill: currentColor; }

.product-info { padding: 1rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.product-category { font-size: var(--fs-xs); color: var(--neon); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.product-name { font-size: 1.0625rem; font-weight: 700; line-height: 1.3; }
.product-meta { font-size: var(--fs-xs); color: var(--text-dim); }
.product-status { font-size: var(--fs-xs); font-weight: 700; }
.product-status.ok { color: var(--neon); }
.product-status.low { color: var(--warn); }
.product-status.order { color: var(--info); }
.product-status.off { color: var(--alert); }

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.65rem;
}
.product-price { font-family: var(--font-display); font-size: 1.6rem; color: var(--white); letter-spacing: 0.02em; }
.product-price-note { font-size: var(--fs-xs); color: var(--text-dim); }

.product-actions { display: grid; gap: 0.45rem; margin-top: 0.75rem; }
.product-actions .row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.45rem; }

/* ------------------------------------------------------- Filtros e busca */
.catalog-layout { display: grid; grid-template-columns: 268px 1fr; gap: 2rem; align-items: start; }

.filters-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  max-height: calc(100vh - var(--header-h) - 2rem);
  overflow-y: auto;
}
.filters-panel h3 { font-family: var(--font-display); letter-spacing: 0.08em; font-size: 1.15rem; margin-bottom: 0.75rem; }

/* Grupos de filtro em accordion nativo (<details>/<summary>): sem JS extra,
   navegável por teclado e compatível com leitor de tela. */
.filter-group { border-top: 1px solid var(--border); padding: 0.65rem 0; }
.filter-group:first-of-type { border-top: 0; padding-top: 0; }
.filter-group summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 0.25rem 0;
}
.filter-group summary::-webkit-details-marker { display: none; }
.filter-group summary::after {
  content: '';
  width: 7px; height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--transition);
}
.filter-group[open] summary::after { transform: rotate(-135deg); }
.filter-group[open] summary { color: var(--white); margin-bottom: 0.5rem; }
.filter-group summary:focus-visible { outline: 2px solid var(--neon); outline-offset: 2px; border-radius: 4px; }

.filters-panel-actions { display: grid; gap: 0.5rem; margin-top: 0.5rem; }
.filters-apply { display: none; }
@media (max-width: 1100px) {
  .filters-apply { display: inline-flex; }
}

.check {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.3rem 0;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  cursor: pointer;
  min-height: 32px;
}
.check input { width: 18px; height: 18px; accent-color: var(--neon); cursor: pointer; }
.check:hover { color: var(--white); }

.field { display: grid; gap: 0.35rem; margin-bottom: 0.85rem; }
.field label { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-dim); }
.input,
select.input,
textarea.input {
  width: 100%;
  min-height: 46px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.85rem;
  color: var(--white);
  transition: border-color var(--transition);
}
textarea.input { min-height: 90px; resize: vertical; }
.input::placeholder { color: var(--gray-dim); }
.input:focus { border-color: var(--neon); outline-offset: 1px; }
.input[aria-invalid='true'] { border-color: var(--alert); }
.field-error { color: var(--alert); font-size: var(--fs-xs); }

.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.catalog-toolbar .search-field { flex: 1 1 260px; min-width: 200px; }
.result-count { font-size: var(--fs-sm); color: var(--text-dim); }
.result-count b { color: var(--neon); }

.active-filters { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--accent-soft);
  border: 1px solid rgba(118, 255, 3, 0.35);
  color: var(--neon);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  font-size: var(--fs-xs);
  font-weight: 700;
}
.chip button { color: inherit; font-size: 1rem; line-height: 1; }

.filters-toggle { display: none; }

/* ----------------------------------------------------------- Estados UI */
.state-box {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1.5rem;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.state-box h3 { font-family: var(--font-display); font-size: 1.4rem; letter-spacing: 0.04em; margin-bottom: 0.5rem; }
.state-box p { color: var(--text-muted); margin-bottom: 1.25rem; }
.state-box.error { border-color: rgba(255, 77, 77, 0.5); }

.skeleton-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}
.skeleton-block { background: var(--surface-3); }
.skeleton-card .sk-img { aspect-ratio: 1 / 1; }
.skeleton-card .sk-line { height: 12px; margin: 0.75rem 1rem; border-radius: 6px; }
.skeleton-card .sk-line.short { width: 45%; }

/* ---------------------------------------------------- Tamanhos / estoque */
.size-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.size-option {
  position: relative;
  min-width: 58px;
  min-height: 48px;
  padding: 0.4rem 0.65rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  color: var(--white);
  display: grid;
  place-items: center;
  gap: 0.1rem;
  font-weight: 700;
  transition: border-color var(--transition), background var(--transition);
}
.size-option small { font-size: 0.625rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.size-option[aria-pressed='true'] { border-color: var(--neon); background: var(--accent-soft); color: var(--neon); }
.size-option.is-available small { color: var(--neon); }
.size-option.is-low small { color: var(--warn); }
.size-option.is-low { border-color: rgba(255, 176, 32, 0.5); }
.size-option.is-preorder small { color: var(--info); }
.size-option.is-preorder { border-color: rgba(77, 163, 255, 0.5); }
.size-option:disabled { color: var(--gray-dim); border-style: dashed; cursor: not-allowed; text-decoration: line-through; }
.size-option:disabled small { color: var(--gray-dim); text-decoration: none; }

.size-legend { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.6rem; font-size: var(--fs-xs); color: var(--text-dim); }
.size-legend span { display: inline-flex; align-items: center; gap: 0.35rem; }
.size-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

/* ----------------------------------------------- Overlay, drawer e modal */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
  z-index: var(--z-overlay);
}
.overlay.open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  top: 0; right: 0;
  height: 100dvh;
  width: min(420px, 100%);
  background: var(--graphite);
  border-left: 1px solid var(--border);
  transform: translateX(100%);
  transition: transform var(--transition);
  z-index: var(--z-drawer);
  display: flex;
  flex-direction: column;
}
.drawer.open { transform: translateX(0); }
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}
.drawer-head h2 { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: 0.06em; }
.close-btn {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--white);
  font-size: 1.25rem;
  line-height: 1;
}
.close-btn:hover { border-color: var(--neon); color: var(--neon); }

.drawer-body { flex: 1; overflow-y: auto; padding: 1.1rem 1.25rem; }
.drawer-footer { border-top: 1px solid var(--border); padding: 1.1rem 1.25rem; display: grid; gap: 0.6rem; background: var(--surface); }

.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 0.85rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
}
.cart-item .thumb { width: 64px; height: 64px; border-radius: var(--radius-sm); background: var(--surface-3); object-fit: cover; }
.cart-item h3 { font-size: var(--fs-sm); font-weight: 700; line-height: 1.3; }
.cart-item .meta { font-size: var(--fs-xs); color: var(--text-dim); }
.cart-item .perso { font-size: var(--fs-xs); color: var(--neon); }
.cart-item-actions { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-top: 0.5rem; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--border-strong); border-radius: 999px; overflow: hidden; }
.qty button { width: 36px; height: 36px; display: grid; place-items: center; color: var(--white); font-size: 1.1rem; }
.qty button:hover { color: var(--neon); }
.qty span, .qty output { min-width: 34px; text-align: center; font-weight: 700; font-size: var(--fs-sm); }

.link-danger { color: var(--alert); font-size: var(--fs-xs); font-weight: 700; }
.link-danger:hover { text-decoration: underline; }

.summary { display: grid; gap: 0.35rem; font-size: var(--fs-sm); }
.summary div { display: flex; justify-content: space-between; gap: 1rem; color: var(--text-muted); }
.summary .total { color: var(--white); font-weight: 800; font-size: 1.05rem; }
.summary .total span:last-child { color: var(--neon); }
.summary .save span:last-child { color: var(--neon); }

.cart-incentive {
  margin-top: 0.5rem;
  padding: 0.6rem 0.75rem;
  border: 1px dashed rgba(118, 255, 3, 0.4);
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--neon);
  font-size: var(--fs-xs);
  font-weight: 700;
}

/* Modal de produto */
.modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}
.modal.open { opacity: 1; visibility: visible; }
.modal-dialog {
  position: relative;
  width: min(980px, 100%);
  max-height: 92dvh;
  overflow-y: auto;
  background: var(--graphite);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.modal-close { position: absolute; top: 0.85rem; right: 0.85rem; z-index: 3; background: rgba(5,5,5,0.7); }
.modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; padding: 1.5rem; }

.gallery { display: grid; gap: 0.6rem; align-content: start; }
.gallery-main {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.gallery-main.zoomed img { transform: scale(1.8); cursor: zoom-out; }
.gallery-main img { cursor: zoom-in; }
.thumbs { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.thumbs button {
  width: 62px; height: 62px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-2);
}
.thumbs button[aria-current='true'] { border-color: var(--neon); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }

.modal-body { display: grid; gap: 0.85rem; align-content: start; }
.modal-body h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 4vw, 2.1rem); line-height: 1.05; letter-spacing: 0.02em; }
.modal-price { font-family: var(--font-display); font-size: 2.25rem; color: var(--neon); line-height: 1; }
.spec-list { display: grid; gap: 0.3rem; font-size: var(--fs-sm); }
.spec-list div { display: flex; gap: 0.5rem; color: var(--text-muted); }
.spec-list dt { color: var(--text-dim); min-width: 108px; }
.spec-list dd { margin: 0; color: var(--white); }

.tabs { display: flex; gap: 0.25rem; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.tabs button {
  padding: 0.6rem 0.9rem;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text-dim);
  border-bottom: 2px solid transparent;
  min-height: 44px;
}
.tabs button[aria-selected='true'] { color: var(--neon); border-bottom-color: var(--neon); }
.tab-panel { padding-top: 0.85rem; font-size: var(--fs-sm); color: var(--text-muted); }
.tab-panel ul { margin-left: 1.1rem; }
.tab-panel li { list-style: disc; margin-bottom: 0.3rem; }

.perso-box { border: 1px solid var(--border); border-radius: var(--radius); padding: 0.9rem; background: var(--surface-2); }
.perso-fields { display: grid; grid-template-columns: 2fr 1fr; gap: 0.6rem; margin-top: 0.75rem; }

.share-row { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.trust-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin: 0.25rem 0 0.5rem;
}
.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
  padding: 0.75rem 0.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
  font-size: 0.6875rem;
  color: var(--text-muted);
  line-height: 1.25;
}
a.trust-badge:hover { border-color: var(--neon); color: var(--neon); }
.trust-badge svg { width: 20px; height: 20px; color: var(--neon); }

.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0.75rem; padding: 0 1.5rem 1.5rem; }
.related-card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); text-align: left; }
.related-card img { aspect-ratio: 1/1; object-fit: cover; width: 100%; }
.related-card span { display: block; padding: 0.55rem 0.65rem; font-size: var(--fs-xs); }
.related-card:hover { border-color: var(--neon); }

/* ------------------------------------------------------------- Toast/WA */
.toast-stack {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  z-index: var(--z-toast);
  display: grid;
  gap: 0.5rem;
  width: min(400px, calc(100% - 2rem));
  pointer-events: none;
}
.toast {
  background: var(--surface-3);
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--neon);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  font-size: var(--fs-sm);
  box-shadow: var(--shadow);
}
.toast.error { border-left-color: var(--alert); }
.toast.warn { border-left-color: var(--warn); }

.whatsapp-float {
  position: fixed;
  right: 1rem;
  /* Respeita a safe area do iPhone (barra de gestos) para não ficar meio
     escondido nem sobrepor outros controles do sistema. */
  bottom: calc(1rem + env(safe-area-inset-bottom));
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #04240f;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5);
  z-index: 90;
  transition: transform var(--transition);
}
.whatsapp-float:hover { transform: scale(1.06); }
.whatsapp-float svg { width: 28px; height: 28px; }

/* Animação de entrada como melhoria progressiva: o conteúdo é visível por
   padrão e só começa oculto quando o JS assume o controle (classe .js).
   Sem JS, com JS quebrado ou em leitores simples, nada desaparece. */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 500ms ease, transform 500ms ease; }
.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
