/* ============================================================
   COMPONENT: Página de Modelo (scooter) + Hub /scooters
   Fase 2 — specs em texto, ficha citável por IA
   Reutiliza tokens.css / base.css / layout.css / header / footer
   ============================================================ */

/* ── Offset do header fixo ───────────────────────────────── */
.page-main { padding-top: 84px; }

/* ── Breadcrumb ──────────────────────────────────────────── */
.breadcrumb {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 8px var(--section-pad-x) 0;
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb .sep { color: var(--text-faint); }
.breadcrumb [aria-current] { color: var(--text-secondary); }

/* ── Hero do produto ─────────────────────────────────────── */
.product-hero {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
  padding: clamp(20px, 4vw, 40px) var(--section-pad-x) clamp(32px, 5vw, 56px);
}

.product-gallery {
  position: relative;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #1a1a1a;
  aspect-ratio: 899 / 1350;
  max-height: 560px;
}
.product-gallery img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.product-category {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}

.product-title {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-size: clamp(30px, 6vw, 54px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.product-tagline {
  font-size: clamp(14px, 1.6vw, 17px);
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 18px;
}

.product-price {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-size: clamp(30px, 5vw, 40px);
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.product-price span {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0;
}

.product-lede {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 52ch;
  margin: 14px 0 22px;
}

/* Destaques rápidos no hero (chips de spec) */
.product-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.product-highlights .chip {
  font-size: 13px;
  color: var(--text-primary);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  padding: 7px 14px;
}
.product-highlights .chip strong { color: var(--orange); font-weight: 700; }

.product-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── Seções internas ─────────────────────────────────────── */
.product-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(32px, 5vw, 56px) var(--section-pad-x);
}
.product-section > h2 {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-size: clamp(22px, 3.4vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.product-section > .section-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* ── Ficha técnica: cards, não tabela com hairlines ──────── */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}
.spec {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  padding: 18px 20px;
  transition: border-color .25s;
}
.spec:hover { border-color: var(--orange-border); }
.spec dt {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.spec dd {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

/* ── Extras ──────────────────────────────────────────────── */
.extras-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}
.extras-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 10px 14px;
}
.extras-list .ico { width: 16px; height: 16px; color: var(--orange); }

/* ── FAQ (accordion nativo) ──────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--orange);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  flex: none;
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-answer {
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── Nota "destaques + 100+ na loja + WhatsApp" ──────────── */
.catalog-note {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--section-pad-x);
}
.catalog-note-inner {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.catalog-note-inner p {
  font-size: clamp(15px, 1.8vw, 17px);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 620px;
}

/* ── Modelos relacionados ────────────────────────────────── */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.related-card {
  display: block;
  text-decoration: none;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform .3s, border-color .3s;
}
.related-card:hover { transform: translateY(-6px); border-color: var(--orange-border); }
@media (hover: none) { .related-card:hover { transform: none; } }
.related-card .thumb { position: relative; aspect-ratio: 899 / 1350; max-height: 260px; overflow: hidden; background: #1a1a1a; }
.related-card .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.related-card .rc-body { padding: 14px 16px; }
.related-card .rc-name { font-size: 15px; font-weight: 700; color: var(--text-primary); }
.related-card .rc-price { font-size: 16px; font-weight: 800; color: var(--orange); margin-top: 2px; }

/* ── Visita / contato ────────────────────────────────────── */
.product-visit { background: var(--bg-alt); }
.visit-card {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.visit-info { display: flex; flex-direction: column; gap: 8px; }
.visit-info .vi-row { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-secondary); }
.visit-info .vi-row .ico { width: 18px; height: 18px; color: var(--orange); flex: none; }
.visit-info a { color: var(--text-secondary); text-decoration: none; }
.visit-info a:hover { color: var(--orange); }

/* ============================================================
   HUB /scooters
   ============================================================ */
.hub-head {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(16px, 3vw, 28px) var(--section-pad-x) 0;
}
.hub-head h1 {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 12px;
}
.hub-head p { font-size: clamp(14px, 1.6vw, 17px); color: var(--text-secondary); line-height: 1.6; max-width: 70ch; }
.hub-updated { font-size: 12px; color: var(--text-muted); margin-top: 10px; }

/* Tabela comparativa (rola no mobile) */
.compare-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 40px) var(--section-pad-x);
  overflow-x: auto;
}
.compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 14px;
}
.compare-table thead th {
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-default);
}
.compare-table tbody td { padding: 14px; border-bottom: 1px solid rgba(255,255,255,0.05); color: var(--text-secondary); }
.compare-table tbody tr:hover td { background: var(--glass-bg); }
.compare-table .c-model { font-weight: 700; }
.compare-table .c-model a { color: var(--text-primary); text-decoration: none; }
.compare-table .c-model a:hover { color: var(--orange); }
.compare-table .c-price { color: var(--orange); font-weight: 800; white-space: nowrap; }

/* ── Responsivo ──────────────────────────────────────────── */
@media (max-width: 860px) {
  .product-hero { grid-template-columns: 1fr; gap: 24px; }
  .product-gallery { max-height: 420px; margin: 0 auto; max-width: 360px; width: 100%; }
  .product-summary { text-align: center; }
  .product-highlights, .product-cta-row { justify-content: center; }
  .product-lede { margin-left: auto; margin-right: auto; }
  .visit-card { flex-direction: column; align-items: flex-start; text-align: left; }
}

@media (max-width: 480px) {
  .product-cta-row .btn-p, .product-cta-row .btn-s { width: 100%; }
  .catalog-note-inner .btn-p { width: 100%; }
}
