/* ==========================================================================
   Alcatech Shop - Estilos da loja publica
   Mobile-first, variaveis CSS para tema configuravel pelo admin.
   ========================================================================== */

:root {
  --color-primary: #0b5fff;
  --color-primary-dark: #0847c4;
  --color-primary-light: #eaf0ff;
  --color-accent: #ff7a00;
  --color-accent-light: #fff1e2;
  --color-bg: #f5f7fb;
  --color-surface: #ffffff;
  --color-text: #14171f;
  --color-text-muted: #5b6472;
  --color-border: #e3e7ee;
  --color-success: #17875a;
  --color-success-light: #e7f7ef;
  --color-danger: #d63b3b;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(20, 25, 40, 0.08);
  --shadow-md: 0 6px 20px rgba(20, 25, 40, 0.10);
  --shadow-lg: 0 20px 48px -12px rgba(20, 25, 40, 0.22);
  --container-width: 1280px;
  --font-base: 'Inter', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-base);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 16px;
}

/* Foco visivel para acessibilidade */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-primary);
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* -------------------- Topbar -------------------- */
.topbar {
  background: var(--color-text);
  color: #cfd6e4;
  font-size: 13px;
}
.topbar .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-top: 6px;
  padding-bottom: 6px;
  gap: 12px;
  flex-wrap: wrap;
}
.lang-switch {
  display: flex;
  gap: 4px;
  align-items: center;
}
.lang-switch a {
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  color: #cfd6e4;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.lang-switch a[aria-current="true"] {
  background: var(--color-primary);
  color: #fff;
}
.lang-switch a:hover { background: rgba(255,255,255,0.12); }

/* -------------------- Header -------------------- */
.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 0;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: var(--color-primary);
  flex-shrink: 0;
}
.brand img { height: 40px; width: auto; }

.search-wrap {
  position: relative;
  flex: 1 1 380px;
  min-width: 220px;
}
.search-form {
  display: flex;
  position: relative;
}
.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--color-text-muted);
  pointer-events: none;
}
.search-form input[type="search"] {
  flex: 1;
  border: 1.5px solid var(--color-border);
  border-right: none;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  padding: 12px 14px 12px 40px;
  font-size: 15px;
  font-family: inherit;
  background: var(--color-surface-alt, #f8f9fc);
  transition: border-color 150ms ease;
}
.search-form input[type="search"]:focus { border-color: var(--color-primary); }
.search-form button {
  background: var(--color-primary);
  color: #fff;
  border: none;
  padding: 0 22px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
}
.search-form button:hover { background: var(--color-primary-dark); }

/* Appearance nativa de "x" limpar em type=search removida p/ visual consistente */
.search-form input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }

.search-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-height: 420px;
  overflow-y: auto;
  z-index: 200;
  padding: 8px;
}
.suggest-group-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  padding: 8px 10px 4px;
}
.suggest-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  color: var(--color-text);
}
.suggest-item:hover, .suggest-item.is-active { background: var(--color-bg); }
.suggest-item img { width: 32px; height: 32px; object-fit: contain; background: var(--color-bg); border-radius: 6px; flex-shrink: 0; }
.suggest-item-text { display: flex; flex-direction: column; min-width: 0; }
.suggest-item-name { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.suggest-item-price { font-size: 12px; color: var(--color-text-muted); font-weight: 700; }
.suggest-item-plain { font-size: 13.5px; font-weight: 600; }

.header-actions { flex-shrink: 0; }

/* -------------------- Categoria nav -------------------- */
.category-nav {
  background: var(--color-primary);
}
.category-nav .container {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding-top: 4px;
  padding-bottom: 4px;
}
.category-nav a {
  flex: 0 0 auto;
  color: #eef3ff;
  padding: 10px 6px;
  white-space: nowrap;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 3px solid transparent;
}
.category-nav a:hover,
.category-nav a[aria-current="true"] {
  border-bottom-color: var(--color-accent);
  background: rgba(255,255,255,0.08);
}
@media (max-width: 640px) {
  .category-nav .container {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    gap: 2px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .category-nav .container::-webkit-scrollbar { display: none; }
  .category-nav a {
    font-size: 12px;
    padding: 8px 8px;
  }
}

/* -------------------- Hero / Banner -------------------- */
.hero-banner {
  margin: 20px 0;
}
.hero-banner a { display: block; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.hero-banner picture { display: block; }
.hero-banner img { width: 100%; height: auto; object-fit: cover; max-height: 360px; }

.hero-carousel {
  position: relative;
  margin: 20px 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.hero-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}
.hero-carousel-slide { flex: 0 0 100%; min-width: 100%; }
.hero-carousel-slide a { display: block; }
.hero-carousel-slide picture { display: block; }
.hero-carousel-slide img { width: 100%; height: auto; object-fit: cover; max-height: 360px; display: block; }

/* No celular, quando ha uma imagem "-mobile" (recorte retrato, feito para ficar
   maior/mais legivel em telas estreitas), a imagem pode crescer alem do teto de
   360px usado no recorte paisagem do desktop. */
@media (max-width: 640px) {
  .hero-banner img,
  .hero-carousel-slide img {
    max-height: none;
  }
}

.hero-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,0.4);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.hero-carousel-btn:hover { background: rgba(0,0,0,0.65); }
.hero-carousel-prev { left: 12px; }
.hero-carousel-next { right: 12px; }

.hero-carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 8px;
}
.hero-carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.2s ease;
}
.hero-carousel-dot.is-active { background: #fff; }

.hero-fallback {
  background: linear-gradient(120deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  margin: 20px 0;
  box-shadow: var(--shadow-md);
}
.hero-fallback h1 { margin: 0 0 8px; font-size: 28px; }
.hero-fallback p { margin: 0; opacity: 0.9; font-size: 16px; }

/* -------------------- Layout catalogo -------------------- */
.catalog-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin: 24px 0 48px;
  align-items: start;
}
@media (min-width: 900px) {
  .catalog-layout { grid-template-columns: 260px 1fr; }
}

.filters-panel {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 18px;
  position: sticky;
  top: 90px;
}
.filters-panel h2 {
  font-size: 16px;
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.filter-group { margin-bottom: 18px; }
.filter-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}
.filter-group select,
.filter-group input[type="number"] {
  width: 100%;
  padding: 9px 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  background: var(--color-bg);
}
.price-range-inputs { display: flex; gap: 8px; }
.filter-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  text-align: center;
}
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-dark); }
.btn-outline { background: transparent; color: var(--color-text); border: 1px solid var(--color-border); }
.btn-outline:hover { background: var(--color-bg); }
.btn-block { width: 100%; }

/* -------------------- Toolbar de resultados -------------------- */
.results-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.results-count { color: var(--color-text-muted); font-size: 14px; }
.sort-form { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.sort-form select {
  padding: 8px 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
}

/* -------------------- Grid de produtos -------------------- */
.section-title {
  font-size: 20px;
  font-weight: 800;
  margin: 32px 0 16px;
  padding-left: 12px;
  border-left: 5px solid var(--color-accent);
}
.section-title-offers { border-left-color: var(--color-danger); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

.product-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  transition: box-shadow .15s ease, transform .15s ease;
  position: relative;
}
.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.product-card .badges {
  position: absolute;
  top: -6px;
  left: -6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}
.badge {
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 999px;
  color: #fff;
  letter-spacing: 0.3px;
}
.badge-discount { background: var(--color-danger); }
/* Texto escuro (nao branco) neste badge: branco sobre --color-accent fica ~2.6:1,
   abaixo do minimo de contraste AA (4.5:1) para este tamanho de fonte. */
.badge-featured { background: var(--color-accent); color: var(--color-text); }

.product-thumb {
  aspect-ratio: 1 / 1;
  background: #f0f2f7;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }

.product-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.product-meta-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.product-category {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 700;
  letter-spacing: 0.4px;
}
.product-brand {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-primary-dark);
  background: var(--color-primary-light);
  padding: 1px 8px;
  border-radius: 999px;
}
.product-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  min-height: 40px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-desc {
  font-size: 13px;
  color: var(--color-text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-price-block { margin-top: auto; padding-top: 6px; }
.price-original {
  font-size: 13px;
  color: var(--color-text-muted);
  text-decoration: line-through;
}
.price-current {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-text);
}
.price-cash {
  font-size: 12.5px;
  color: var(--color-success);
  font-weight: 600;
}
.product-availability {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--color-success);
}
.product-availability.unavailable { color: var(--color-danger); }

.product-cta {
  margin: 12px 14px 14px;
  background: var(--color-primary);
  color: #fff;
  text-align: center;
  padding: 10px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
}
.product-cta:hover { background: var(--color-primary-dark); }

/* -------------------- Estado vazio -------------------- */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--color-border);
}
.empty-state h3 { margin: 12px 0 6px; }
.empty-state p { color: var(--color-text-muted); margin: 0; }

/* -------------------- Paginacao -------------------- */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.pagination a, .pagination span {
  min-width: 38px;
  text-align: center;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  font-size: 14px;
  font-weight: 600;
}
.pagination a:hover { background: var(--color-bg); }
.pagination .current { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.pagination .disabled { opacity: 0.4; pointer-events: none; }

/* -------------------- Rodape -------------------- */
.site-footer {
  background: #12151f;
  color: #b8c0d0;
  margin-top: 48px;
  padding: 40px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 700px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}
.footer-grid h3 { color: #fff; font-size: 15px; margin: 0 0 10px; }
.footer-grid p, .footer-grid a { font-size: 13.5px; color: #b8c0d0; line-height: 1.7; }
.social-links { display: flex; gap: 10px; margin-top: 8px; }
.social-links a {
  border: 1px solid #333a4d;
  border-radius: 50%;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}
.social-links a:hover { background: var(--color-primary); border-color: var(--color-primary); }
.footer-notice {
  border-top: 1px solid #262b3a;
  margin-top: 28px;
  padding-top: 18px;
  font-size: 12.5px;
  color: #8791a4;
  text-align: center;
}

/* -------------------- Utilidades -------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.mobile-filters-toggle {
  display: none;
}
@media (max-width: 899px) {
  .mobile-filters-toggle {
    display: block;
    margin-bottom: 14px;
  }
  .filters-panel {
    position: static;
    display: none;
  }
  .filters-panel.is-open { display: block; }
}

/* -------------------- Breadcrumb -------------------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: var(--color-text-muted);
  margin: 18px 0;
}
.breadcrumb a { color: var(--color-text-muted); }
.breadcrumb a:hover { color: var(--color-primary); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--color-text); font-weight: 600; }
.breadcrumb-sep { color: var(--color-border); }

/* -------------------- Pagina de produto (presell) -------------------- */
.product-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 28px;
}
@media (min-width: 860px) {
  .product-hero { grid-template-columns: 420px 1fr; }
}
.product-gallery-main {
  position: relative;
  background: var(--color-bg);
  border-radius: var(--radius-md);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  cursor: zoom-in;
}
/* Posicionamento absoluto (em vez de flex) porque video sem dimensoes/metadados
   carregados nao resolve width:100% corretamente como filho de flex container
   (cai no tamanho intrinseco padrao de 300x150) — absolute + inset:0 contorna isso. */
.product-gallery-main img,
.product-gallery-main video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-gallery-main img { padding: 20px; transition: transform .15s ease-out; }
.product-gallery-main.is-zoomed img { transition: none; }
.product-gallery-main video { background: #000; }
.product-gallery-main.is-video-active { cursor: default; }
.product-gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.product-gallery-thumb {
  width: 64px; height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 6px;
  cursor: pointer;
}
.product-gallery-thumb img { width: 100%; height: 100%; object-fit: contain; }
.product-gallery-thumb:hover { border-color: var(--color-primary); }
.product-gallery-thumb.is-active { border-color: var(--color-primary); box-shadow: 0 0 0 1px var(--color-primary); }
.product-gallery-thumb-video { position: relative; }
.product-gallery-thumb-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .4);
  color: #fff;
  border-radius: var(--radius-sm);
}
.product-hero-info h1 { font-size: 26px; margin: 6px 0 8px; line-height: 1.25; }
.product-subheadline { color: var(--color-text-muted); font-size: 16px; margin: 0 0 14px; }
.product-price-block-lg .price-current { font-size: 30px; }
.product-price-block-lg { margin-bottom: 14px; }
.btn-cta { font-size: 16px; padding: 14px 20px; margin-top: 6px; }
.affiliate-notice {
  font-size: 12px;
  color: var(--color-text-muted);
  margin: 10px 0 0;
  line-height: 1.5;
}

.presell-section {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
}
.presell-section h2 { font-size: 19px; margin: 0 0 14px; }
.presell-intro { font-size: 16px; line-height: 1.7; margin: 0; }
.presell-list { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 10px; }
.presell-list li { padding-left: 28px; position: relative; line-height: 1.5; }
.presell-list-check li::before { content: "✓"; position: absolute; left: 0; color: var(--color-success); font-weight: 700; }
.presell-list:not(.presell-list-check):not(.presell-list-pro):not(.presell-list-con) li::before { content: "•"; position: absolute; left: 8px; color: var(--color-primary); }
.presell-list-pro li::before { content: "+"; position: absolute; left: 4px; color: var(--color-success); font-weight: 800; }
.presell-list-con li::before { content: "!"; position: absolute; left: 8px; color: var(--color-danger); font-weight: 800; }

.presell-pros-cons { display: grid; gap: 24px; }
@media (min-width: 720px) {
  .presell-pros-cons { grid-template-columns: 1fr 1fr; }
}

.presell-faq { display: grid; gap: 10px; }
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}
.faq-item summary { cursor: pointer; font-weight: 600; }
.faq-item p { margin: 10px 0 0; color: var(--color-text-muted); line-height: 1.6; }

.cta-final { text-align: center; }
.cta-final .btn-cta { display: inline-flex; }
.cta-final .affiliate-notice { max-width: 480px; margin-left: auto; margin-right: auto; }

/* -------------------- Pagina de categoria -------------------- */
.category-hero {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}
.category-hero h1 { margin: 0 0 8px; font-size: 26px; }
.category-hero-image {
  width: 96px; height: 96px;
  object-fit: cover;
  border-radius: var(--radius-md);
  flex-shrink: 0;
}
.category-description { color: var(--color-text-muted); margin: 0; line-height: 1.6; }

/* -------------------- Paginas institucionais -------------------- */
.content-page { max-width: 860px; margin-left: auto; margin-right: auto; }
.content-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 40px;
}
.content-card h1 { font-size: 26px; margin: 0 0 18px; }
.content-card p { line-height: 1.75; color: var(--color-text); margin: 0 0 16px; }
.content-card p:last-child { margin-bottom: 0; }
.content-card .hint { color: var(--color-text-muted); }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 8px;
}
.contact-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-decoration: none;
  color: inherit;
  transition: border-color var(--transition, 0.15s ease), box-shadow var(--transition, 0.15s ease), transform var(--transition, 0.15s ease);
}
a.contact-card:hover { border-color: var(--color-primary); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.contact-card-static { cursor: default; }
.contact-card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--color-primary-light); color: var(--color-primary);
}
.contact-card-icon svg { width: 20px; height: 20px; }
.contact-card-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-text-muted); }
.contact-card-value { font-size: 15px; font-weight: 600; color: var(--color-text); word-break: break-word; }
a.contact-card .contact-card-value { color: var(--color-primary); }

.disclosure-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--color-primary-light); color: var(--color-primary);
  margin-bottom: 14px;
}
.disclosure-badge svg { width: 24px; height: 24px; }
.disclosure-lead { font-size: 17px; color: var(--color-text); }
.disclosure-highlight {
  background: var(--color-primary-light);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 8px 0 20px;
}
.disclosure-highlight h2 { margin: 0 0 12px; font-size: 15px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-primary-dark); }
.disclosure-highlight ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.disclosure-highlight li { position: relative; padding-left: 26px; line-height: 1.55; }
.disclosure-highlight li::before {
  content: "";
  position: absolute; left: 0; top: 5px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--color-primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.disclosure-links { font-size: 14px; color: var(--color-text-muted); padding-top: 12px; border-top: 1px solid var(--color-border); }
.disclosure-links a { color: var(--color-primary); font-weight: 600; }

.legal-toc {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 4px 0 28px;
  padding: 16px 18px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.legal-toc a {
  font-size: 13px; font-weight: 600; color: var(--color-primary);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 6px 14px;
  text-decoration: none;
}
.legal-toc a:hover { border-color: var(--color-primary); background: var(--color-primary-light); }
.legal-section { padding: 18px 0; border-top: 1px solid var(--color-border); scroll-margin-top: 90px; }
.legal-section:first-of-type { border-top: none; padding-top: 0; }
.legal-section h2 { font-size: 17px; margin: 0 0 8px; }
.legal-section p { margin: 0; }
.contact-list a:hover { text-decoration: underline; }

/* -------------------- Home: categorias, como funciona, por que usar -------------------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 14px;
  margin-bottom: 8px;
}
.category-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 18px 10px;
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}
.category-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--color-primary); }
.category-tile img { width: 56px; height: 56px; object-fit: cover; border-radius: 50%; }
.category-tile-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--color-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800;
}
.category-tile-name { font-size: 13.5px; font-weight: 700; color: var(--color-text); }

.landing-section { margin-top: 44px; }
.landing-see-all { text-align: center; margin-top: 14px; }
.landing-see-all a { color: var(--color-primary); font-weight: 700; }
.landing-see-all a:hover { text-decoration: underline; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}
.step-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 22px;
  position: relative;
}
.step-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--color-primary); color: #fff;
  font-weight: 800; font-size: 14px;
  margin-bottom: 12px;
}
.step-card h3 { margin: 0 0 8px; font-size: 16px; }
.step-card p { margin: 0; color: var(--color-text-muted); font-size: 14px; line-height: 1.6; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.why-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-md);
  padding: 20px 22px;
}
.why-card h3 { margin: 0 0 8px; font-size: 16px; }
.why-card p { margin: 0; color: var(--color-text-muted); font-size: 14px; line-height: 1.6; }
