/* ==========================================================================
   Páginas de detalhe de produto (Vídeos, Cortes, …)
   Estrutura compartilhada; cada página define seu acento via classe no <body>.
   Reaproveita tokens e componentes de styles.css.
   ========================================================================== */

/* Acento por produto */
.page-video {
  --accent: #10b981;
  --accent-soft: #34d399;
  --accent-contrast: #06120d;
  --accent-glow: rgba(16, 185, 129, 0.35);
}

.page-cortes {
  --accent: #8b5cf6;
  --accent-soft: #a78bfa;
  --accent-contrast: #0d0b14;
  --accent-glow: rgba(139, 92, 246, 0.35);
}

/* Link "Voltar" no header */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-body);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}
.back-link:hover { color: var(--accent-soft); }
.back-link svg { width: 18px; height: 18px; }

/* ============ Hero ============ */
.v-hero {
  max-width: 860px;
  margin: 0 auto;
  padding: calc(var(--header-h) + 3rem) 1.25rem 2.5rem;
  text-align: center;
}

.v-hero .badge {
  display: inline-block;
  color: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  margin-bottom: 1.1rem;
}

.v-hero-title {
  color: var(--text);
  font-weight: 800;
  font-size: clamp(1.9rem, 6vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.v-hero-sub {
  margin: 1.1rem auto 0;
  max-width: 620px;
  font-size: clamp(1rem, 2.5vw, 1.15rem);
}
.v-hero-sub strong { color: var(--text); }

.v-hero-actions {
  margin-top: 1.6rem;
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Preço no hero do produto */
.v-price {
  margin-top: 0.9rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent);
}
.v-price .v-price-note {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-dim);
}

/* Stats */
.v-stats {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.v-stat {
  background: var(--bg-card);
  border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
  border-radius: var(--radius-card);
  padding: 1.1rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.v-stat-num {
  color: var(--accent-soft);
  font-weight: 800;
  font-size: clamp(1.3rem, 4vw, 1.8rem);
  letter-spacing: 0.02em;
}

.v-stat-label {
  color: var(--text-dim);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ============ Seções ============ */
.v-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 3.5rem 1.25rem 1rem;
}

.v-section-alt {
  max-width: none;
  background:
    radial-gradient(800px 400px at 50% 0%, color-mix(in srgb, var(--accent) 7%, transparent), transparent 70%);
}
.v-section-alt > * { max-width: 900px; margin-left: auto; margin-right: auto; }

.v-section-head { text-align: center; margin-bottom: 2.25rem; }
.v-section-head .section-sub { margin-left: auto; margin-right: auto; max-width: 560px; }

/* ============ Timeline ============ */
.timeline {
  list-style: none;
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom,
    color-mix(in srgb, var(--accent) 55%, transparent),
    color-mix(in srgb, var(--accent) 12%, transparent));
}

.tl-item {
  position: relative;
  display: flex;
  gap: 1.1rem;
  padding-bottom: 1.6rem;
}
.tl-item:last-child { padding-bottom: 0; }

.tl-marker {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--accent-contrast);
  background: var(--accent);
  box-shadow: 0 0 18px var(--accent-glow);
  z-index: 1;
}

.tl-body {
  background: var(--bg-card);
  border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
  border-radius: var(--radius-card);
  padding: 1.05rem 1.2rem;
  flex: 1;
  transition: border-color 0.3s ease, transform 0.2s ease;
}
.tl-item:hover .tl-body {
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  transform: translateX(3px);
}

.tl-body h3 {
  color: var(--text);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.35rem;
}
.tl-body p { font-size: 0.92rem; }
.tl-body strong { color: var(--accent-soft); }

/* ============ Grids de features / entregáveis ============ */
.v-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.v-feature, .v-deliver {
  background: var(--bg-card);
  border: 1px solid color-mix(in srgb, var(--accent) 16%, transparent);
  border-radius: var(--radius-card);
  padding: 1.4rem;
  transition: border-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}
.v-feature:hover, .v-deliver:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px var(--accent-glow);
}

.v-feature-ic {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  margin-bottom: 0.85rem;
}
.v-feature-ic svg { width: 22px; height: 22px; }

.v-feature h3, .v-deliver h3 {
  color: var(--text);
  font-weight: 700;
  font-size: 0.98rem;
  margin-bottom: 0.4rem;
}
.v-feature p, .v-deliver p { font-size: 0.9rem; }

/* ============ Requisitos ============ */
.v-req {
  max-width: 620px;
  margin: 0 auto;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}
.v-req li {
  background: var(--bg-card);
  border: 1px solid color-mix(in srgb, var(--accent) 16%, transparent);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 0.85rem 1.1rem;
  font-size: 0.92rem;
}
.v-req strong { color: var(--text); }

/* ============ Tabela comparativa (ex.: IA na nuvem × no seu PC) ============ */
.v-table-wrap {
  max-width: 720px;
  margin: 0 auto;
  overflow-x: auto;
  border-radius: var(--radius-card);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
}

.v-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  font-size: 0.9rem;
}

.v-table th,
.v-table td {
  padding: 0.8rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 12%, transparent);
}

.v-table thead th {
  color: var(--text);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: color-mix(in srgb, var(--accent) 10%, var(--bg-card));
}

.v-table tbody tr:last-child td { border-bottom: none; }
.v-table td:first-child { color: var(--text); font-weight: 600; }
.v-table .v-free { color: var(--accent-soft); font-weight: 700; }

/* Frase de destaque abaixo de um bloco */
.v-highlight {
  max-width: 720px;
  margin: 1.25rem auto 0;
  padding: 1rem 1.2rem;
  text-align: center;
  font-size: 0.95rem;
  border-radius: var(--radius-card);
  border: 1px dashed color-mix(in srgb, var(--accent) 55%, transparent);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
}
.v-highlight strong { color: var(--accent-soft); }

/* ============ Para quem é / não é ============ */
.v-fit {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.v-fit-col {
  background: var(--bg-card);
  border: 1px solid color-mix(in srgb, var(--accent) 16%, transparent);
  border-radius: var(--radius-card);
  padding: 1.3rem 1.4rem;
}

.v-fit-col h3 {
  color: var(--text);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.v-fit-col ul { list-style: none; display: grid; gap: 0.6rem; font-size: 0.9rem; }
.v-fit-col li { position: relative; padding-left: 1.5rem; }
.v-fit-col li::before { position: absolute; left: 0; top: 0; font-weight: 800; }
.v-fit-yes li::before { content: "✓"; color: var(--accent-soft); }
.v-fit-no li::before { content: "✕"; color: var(--text-dim); }

/* Bloco de comunidade (.v-community) vive em styles.css — usado aqui e na home */

/* ============ CTA final ============ */
.v-cta {
  max-width: 760px;
  margin: 2rem auto 0;
  padding: 3rem 1.5rem;
  text-align: center;
}
.v-cta h2 {
  color: var(--text);
  font-weight: 800;
  font-size: clamp(1.5rem, 4.5vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.v-cta p { margin-top: 0.9rem; font-size: 1rem; }
.v-cta-note { color: var(--text-dim); font-size: 0.8rem; margin-top: 1rem; }

.btn-lg {
  margin-top: 1.6rem;
  padding: 1rem 2.2rem;
  font-size: 1rem;
}

/* ============ Responsivo ============ */
@media (max-width: 599px) {
  .v-table th, .v-table td { padding: 0.7rem 0.75rem; }
}

@media (min-width: 600px) {
  .v-stats { grid-template-columns: repeat(4, 1fr); }
  .v-grid { grid-template-columns: repeat(2, 1fr); }

  /* Entregáveis: flex centralizado — acomoda 5 itens sem deixar órfão na última linha */
  .v-grid-4 { display: flex; flex-wrap: wrap; justify-content: center; }
  .v-grid-4 > * { flex: 1 1 210px; max-width: 280px; }
}

@media (min-width: 700px) {
  .v-fit { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .v-grid:not(.v-grid-4) { grid-template-columns: repeat(3, 1fr); }
  .v-grid-4 > * { flex: 1 1 158px; max-width: 210px; }
}

/* ---- Exemplo real (prova social) ---- */
.v-exemplo { display: flex; justify-content: center; margin-top: 24px; }
.v-exemplo video {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  background: #000;
}
.v-exemplo-wide video { max-width: 760px; }
.v-exemplo-vertical video { max-width: 320px; max-height: 570px; }
