/* =========================================================================
   VoltryX v10 — CLEAN card system
   Replaces .product-card / .vertical-card / .persona-card mess with
   three coherent components: .pc-card, .vert-card, .role-card
   ========================================================================= */

/* ============================================================
   SHARED CARD BASE
   ============================================================ */
.pc-card,
.vert-card,
.role-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(200, 182, 255, 0.11), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 30px 60px -28px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* top hairline */
.pc-card::before,
.vert-card::before,
.role-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.16) 25%,
    rgba(200, 182, 255, 0.45) 50%,
    rgba(255, 255, 255, 0.16) 75%,
    transparent
  );
  opacity: 0.7;
  pointer-events: none;
}

/* cursor-follow glow */
.pc-card::after,
.vert-card::after,
.role-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(
    520px circle at var(--mx, 50%) var(--my, 50%),
    rgba(200, 182, 255, 0.09),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  z-index: 0;
}

.pc-card:hover,
.vert-card:hover,
.role-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 182, 255, 0.30);
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(200, 182, 255, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(200, 182, 255, 0.05), rgba(255, 255, 255, 0.025));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 50px 100px -30px rgba(124, 58, 237, 0.35);
}
.pc-card:hover::after,
.vert-card:hover::after,
.role-card:hover::after { opacity: 1; }

/* ============================================================
   PC-CARD — Engine de Vendas
   ============================================================ */
.pc-card {
  padding: 44px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-height: 420px;
}
@media (max-width: 700px) {
  .pc-card { padding: 30px; min-height: 360px; }
}

.pc-card > * { position: relative; z-index: 1; }

.pc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.pc-step {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 500;
  white-space: nowrap;
}
.pc-step b {
  color: var(--accent);
  font-weight: 500;
  margin-right: 4px;
}

.pc-price {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.025em;
  line-height: 1;
  color: #ffffff;
  font-feature-settings: "tnum" on;
  white-space: nowrap;
}
.pc-price small {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: 5px;
}

.pc-meta {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  text-align: right;
  white-space: nowrap;
  line-height: 1.4;
  max-width: 220px;
  text-wrap: balance;
}
@media (max-width: 700px) {
  .pc-meta { font-size: 9px; max-width: 140px; white-space: normal; }
}

.pc-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pc-title {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -0.034em;
  line-height: 1.04;
  text-wrap: balance;
  color: var(--text);
}
.pc-title sup {
  font-family: var(--font-mono);
  font-size: 0.38em;
  color: var(--accent);
  vertical-align: super;
  margin-left: 4px;
  font-weight: 500;
}
@media (max-width: 700px) {
  .pc-title { font-size: 26px; }
  .pc-price { font-size: 18px; }
}

.pc-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 17px;
  color: var(--accent);
  margin-top: -2px;
  opacity: 0.92;
  line-height: 1.2;
}

.pc-lede {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dim);
  text-wrap: pretty;
  margin-top: 6px;
}

/* callout box for the guarantee */
.pc-callout {
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(200, 182, 255, 0.25);
  background: linear-gradient(135deg, rgba(200, 182, 255, 0.08), transparent);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-dim);
}
.pc-callout b {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.pc-bullets {
  list-style: none;
  display: grid;
  gap: 11px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  margin: auto 0 0;
}
.pc-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-dim);
}
.pc-bullets li .pc-tick {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  margin-top: 3px;
  border-radius: 4px;
  background: rgba(200, 182, 255, 0.1);
  border: 1px solid rgba(200, 182, 255, 0.32);
  display: grid;
  place-items: center;
}
.pc-bullets li .pc-tick::before {
  content: "";
  width: 5px;
  height: 3px;
  border-left: 1.4px solid var(--accent);
  border-bottom: 1.4px solid var(--accent);
  transform: rotate(-45deg) translate(0.5px, -0.5px);
}

/* ============================================================
   VERT-CARD — Verticais
   ============================================================ */
/* ============================================================
   VERT-CARD — Verticais (carousel horizontal slot)
   ============================================================ */
.vert-card {
  flex: 0 0 540px;
  width: 540px;
  min-height: 540px;
  padding: 48px;
  border-radius: 26px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
@media (max-width: 900px) {
  .vert-card { flex: 1 1 auto; width: 100%; min-height: 0; padding: 32px; }
}
.vert-card > * { position: relative; z-index: 1; }

.vert-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.vert-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
}
.vert-num b {
  color: var(--accent);
  font-weight: 500;
  margin-right: 6px;
}

.vert-stake {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 7px 14px;
  border: 1px solid rgba(200, 182, 255, 0.32);
  border-radius: 999px;
  background: rgba(200, 182, 255, 0.06);
  white-space: nowrap;
}

.vert-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 28% 28%, rgba(200, 182, 255, 0.25), rgba(200, 182, 255, 0.04) 60%),
    linear-gradient(180deg, rgba(200, 182, 255, 0.1), rgba(200, 182, 255, 0.02));
  border: 1px solid rgba(200, 182, 255, 0.25);
  display: grid;
  place-items: center;
  color: var(--accent);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 12px 30px -10px rgba(124, 58, 237, 0.32);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.vert-card:hover .vert-icon { transform: rotate(-4deg) translateY(-2px); }
.vert-icon svg { width: 32px; height: 32px; }

.vert-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 2.6vw, 36px);
  letter-spacing: -0.034em;
  line-height: 1.06;
  text-wrap: balance;
  color: var(--text);
}
.vert-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.vert-lede {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dim);
  text-wrap: pretty;
}

.vert-bullets {
  list-style: none;
  display: grid;
  gap: 10px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  margin: auto 0 0;
}
.vert-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.005em;
}
.vert-bullets li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(200, 182, 255, 0.6);
}

/* ============================================================
   ROLE-CARD — Para sua liderança (CEO / CFO / CISO)
   ============================================================ */
.role-card {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-height: 400px;
}
@media (max-width: 700px) { .role-card { padding: 30px; min-height: 340px; } }
.role-card > * { position: relative; z-index: 1; }

.role-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 8px 16px;
  border: 1px solid rgba(200, 182, 255, 0.32);
  border-radius: 999px;
  background: rgba(200, 182, 255, 0.06);
  align-self: flex-start;
  font-weight: 500;
}

.role-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
  color: var(--text);
}
.role-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.role-lede {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-dim);
  text-wrap: pretty;
}

.role-bullets {
  list-style: none;
  display: grid;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  margin: auto 0 0;
}
.role-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-dim);
}
.role-bullets li::before {
  content: "—";
  color: var(--accent);
  flex-shrink: 0;
  font-weight: 500;
  opacity: 0.7;
}

/* ============================================================
   Layout: Engine grid
   ============================================================ */
.engine-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.engine-grid .pc-card { grid-column: span 2; }
.engine-grid .pc-card.is-wide { grid-column: span 3; }
.engine-grid .pc-card.is-tall { grid-column: span 3; min-height: 540px; }

@media (max-width: 1000px) {
  .engine-grid { grid-template-columns: repeat(2, 1fr); }
  .engine-grid .pc-card,
  .engine-grid .pc-card.is-wide,
  .engine-grid .pc-card.is-tall { grid-column: span 2; min-height: 360px; }
}
@media (max-width: 600px) {
  .engine-grid { grid-template-columns: 1fr; }
  .engine-grid .pc-card,
  .engine-grid .pc-card.is-wide,
  .engine-grid .pc-card.is-tall { grid-column: span 1; }
}

/* ============================================================
   Roles grid
   ============================================================ */
.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
@media (max-width: 1000px) { .roles-grid { grid-template-columns: 1fr; gap: 16px; } }

/* ============================================================
   Reveal — blur-in
   ============================================================ */
.pc-card.reveal,
.vert-card.reveal,
.role-card.reveal {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(8px);
  transition:
    opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.1s cubic-bezier(0.16, 1, 0.3, 1),
    filter 1.1s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.pc-card.reveal.is-in,
.vert-card.reveal.is-in,
.role-card.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
