/* ────────────────────────────────────────────────────────────────────────
   product.css — Styles spécifiques aux pages produit Triskell
   Hérite de ../style.css (variables, fonts, typo, sections, footer, FAQ)
   et ajoute : breadcrumb, hero produit (split + screenshot), features bento,
   captures, personas, comparison table, pricing card.
   ──────────────────────────────────────────────────────────────────────── */

/* ===== NAV : ajout du nav-cta dédié page produit ===== */
.nav { display: flex; align-items: center; }
.nav-links { flex: 1; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 100%);
  color: #1a1408 !important;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.3px;
  text-decoration: none !important;
  border: 1px solid rgba(212, 179, 90, 0.6);
  box-shadow: 0 6px 20px rgba(212, 179, 90, 0.30);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(212, 179, 90, 0.45);
}
@media (max-width: 720px) {
  .nav-cta { display: none; }
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  max-width: 1240px;
  margin: 24px auto 0;
  padding: 0 32px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.breadcrumb a:hover {
  color: var(--gold-soft);
  border-bottom-color: rgba(212, 179, 90, 0.4);
}
.breadcrumb-sep { color: rgba(255, 255, 255, 0.25); }
.breadcrumb-current {
  color: var(--gold-soft);
  font-weight: 500;
}

/* ===== HERO PRODUIT ===== */
.product-hero {
  max-width: 1240px;
  margin: 36px auto 80px;
  padding: 60px 32px 0;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 1024px) {
  .product-hero {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 36px;
  }
}

.product-hero-content { max-width: 600px; }

/* Brand : icône + nom du produit côte à côte en haut de page */
.product-hero-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}

.product-hero-icon {
  width: 92px;
  height: 92px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 30% 25%,
      rgba(212, 179, 90, 0.32) 0%,
      rgba(212, 179, 90, 0.08) 60%,
      transparent 100%),
    var(--bg-card);
  border: 1px solid rgba(212, 179, 90, 0.40);
  box-shadow:
    0 0 0 1px rgba(212, 179, 90, 0.20),
    0 12px 36px rgba(0, 0, 0, 0.50),
    0 0 28px rgba(212, 179, 90, 0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
/* Plus de margin-bottom solo : géré par .product-hero-brand */
.product-hero-brand .product-hero-icon { margin-bottom: 0; }
.product-hero-icon img {
  width: 78px;
  height: 78px;
  object-fit: contain;
}

.product-hero-name {
  font-family: var(--font-quest);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 500;
  letter-spacing: -0.2px;
  line-height: 1.05;
  color: var(--text);
  font-variation-settings: "opsz" 60;
}
.product-hero-name small {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-top: 6px;
  font-variation-settings: normal;
}

/* === Hero "icon-only XL" : pour produits sans screenshot réel.
   Une grosse icône avec halo doré + violet, pas de fake UI. === */
.product-hero-showcase {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 440px;
}
.product-hero-showcase-icon {
  position: relative;
  width: 240px;
  height: 240px;
  border-radius: 48px;
  background:
    radial-gradient(circle at 30% 25%,
      rgba(212, 179, 90, 0.40) 0%,
      rgba(212, 179, 90, 0.12) 50%,
      rgba(124, 127, 233, 0.06) 80%,
      transparent 100%),
    var(--bg-card);
  border: 1px solid rgba(212, 179, 90, 0.45);
  box-shadow:
    0 0 0 1px rgba(212, 179, 90, 0.28),
    0 30px 80px rgba(0, 0, 0, 0.60),
    0 0 80px rgba(212, 179, 90, 0.30),
    0 0 120px rgba(124, 127, 233, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: transform 0.4s ease;
}
.product-hero-showcase-icon img {
  width: 76%;
  height: 76%;
  object-fit: contain;
}
.product-hero-showcase-icon:hover { transform: translateY(-4px) rotate(-1deg); }

/* Cercles décoratifs concentriques autour de l'icône XL */
.product-hero-showcase::before,
.product-hero-showcase::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(212, 179, 90, 0.25);
  pointer-events: none;
}
.product-hero-showcase::before {
  width: 380px;
  height: 380px;
  animation: showcase-spin 60s linear infinite;
}
.product-hero-showcase::after {
  width: 480px;
  height: 480px;
  border-color: rgba(167, 139, 250, 0.18);
  animation: showcase-spin 90s linear infinite reverse;
}
@keyframes showcase-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@media (max-width: 720px) {
  .product-hero-showcase-icon { width: 180px; height: 180px; border-radius: 36px; }
  .product-hero-showcase::before { width: 280px; height: 280px; }
  .product-hero-showcase::after { width: 360px; height: 360px; }
}

.product-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--gold-soft);
  background: rgba(212, 179, 90, 0.10);
  border: 1px solid rgba(212, 179, 90, 0.30);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.product-hero h1 {
  font-family: var(--font-quest);
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.5px;
  font-variation-settings: "opsz" 100;
  margin: 0 0 28px;
}

.product-hero .lede {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 32px;
}

/* ===== HERO SHOT (screenshot mockup) ===== */
.product-hero-shot {
  position: relative;
  perspective: 1400px;
}
.screenshot-frame {
  position: relative;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(212, 179, 90, 0.25);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 30px 80px rgba(0, 0, 0, 0.65),
    0 0 60px rgba(124, 127, 233, 0.15);
  transform: rotateY(-3deg) rotateX(4deg);
  transform-origin: center center;
  background: var(--bg-card);
  transition: transform 0.4s ease;
}
.screenshot-frame:hover {
  transform: rotateY(-1deg) rotateX(2deg) translateY(-4px);
}
.screenshot-frame img {
  display: block;
  width: 100%;
  height: auto;
}
.hero-shot-glow {
  position: absolute;
  inset: -40px -60px -60px -40px;
  background: radial-gradient(
    ellipse at 70% 50%,
    rgba(212, 179, 90, 0.12) 0%,
    rgba(124, 127, 233, 0.10) 35%,
    transparent 70%
  );
  z-index: -1;
  filter: blur(40px);
}

/* ===== PITCH (court manifesto contextuel produit) ===== */
.product-pitch {
  max-width: 900px;
  margin: 0 auto 100px;
  padding: 0 32px;
  text-align: center;
}
.product-pitch h2 {
  font-family: var(--font-quest);
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.3px;
  margin: 14px 0 28px;
}
.product-pitch h2 em {
  font-style: italic;
  color: var(--gold-soft);
  font-weight: 400;
}
.product-pitch-text {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-muted);
}

/* ===== FEATURES BENTO ===== */
.product-features { padding-top: 40px; }
.features-bento {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 18px;
  grid-auto-flow: dense;
}
.features-bento > .feature-card { grid-column: span 2; }
.features-bento > .feature-card-large {
  grid-column: span 4;
  grid-row: span 2;
}
@media (max-width: 1100px) {
  .features-bento { grid-template-columns: repeat(4, 1fr); }
  .features-bento > .feature-card-large { grid-column: span 4; grid-row: span 1; }
}
@media (max-width: 720px) {
  .features-bento { grid-template-columns: 1fr; }
  .features-bento > .feature-card,
  .features-bento > .feature-card-large {
    grid-column: span 1;
    grid-row: auto;
  }
}

.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 24px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.25s ease;
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 179, 90, 0.5), transparent);
  opacity: 0.4;
}
.feature-card:hover {
  border-color: rgba(212, 179, 90, 0.4);
  transform: translateY(-2px);
  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.45),
    0 0 22px rgba(212, 179, 90, 0.15);
}

.feature-num {
  font-family: var(--font-quest);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.5px;
  color: var(--gold-soft);
  margin-bottom: 16px;
  font-variation-settings: "opsz" 12;
}

.feature-icon {
  font-size: 28px;
  line-height: 1;
  margin-bottom: 14px;
  display: inline-block;
  filter: drop-shadow(0 2px 8px rgba(212, 179, 90, 0.25));
}

.feature-card h3 {
  font-family: var(--font-quest);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.2px;
  font-variation-settings: "opsz" 36;
  margin: 0 0 10px;
  color: var(--text);
}

.feature-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
  flex: 1;
}

.feature-card code {
  font-family: ui-monospace, "SF Mono", "Fira Code", Menlo, monospace;
  font-size: 12px;
  background: rgba(212, 179, 90, 0.12);
  color: var(--gold-soft);
  padding: 1px 6px;
  border-radius: 4px;
}

/* Variante LARGE — vedette markdown natif */
.feature-card-large {
  padding: 36px 32px 32px;
  background:
    linear-gradient(180deg,
      rgba(212, 179, 90, 0.08) 0%,
      rgba(212, 179, 90, 0.03) 30%,
      var(--bg-card) 70%);
  border-color: rgba(212, 179, 90, 0.32);
}
.feature-card-large .feature-icon { font-size: 44px; margin-bottom: 18px; }
.feature-card-large h3 { font-size: 24px; margin-bottom: 14px; }
.feature-card-large p { font-size: 15px; line-height: 1.7; }

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.feature-tag {
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.2px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(124, 127, 233, 0.12);
  border: 1px solid rgba(167, 139, 250, 0.30);
  color: #c4c8ff;
}

/* Variante highlight (coffre AES) */
.feature-card-highlight {
  background:
    linear-gradient(180deg,
      rgba(124, 127, 233, 0.10) 0%,
      rgba(124, 127, 233, 0.03) 40%,
      var(--bg-card) 80%);
  border-color: rgba(167, 139, 250, 0.32);
}
.feature-card-highlight::before {
  background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.6), transparent);
}
.feature-card-highlight .feature-num { color: #c4c8ff; }

/* ===== CAPTURES ===== */
.product-captures { padding-top: 40px; }
.captures-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.capture {
  margin: 0;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  grid-column: span 3;
  transition: border-color 0.2s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.capture-large { grid-column: span 6; }
.capture:hover {
  border-color: rgba(212, 179, 90, 0.4);
  transform: translateY(-2px);
  box-shadow:
    0 16px 44px rgba(0, 0, 0, 0.45),
    0 0 24px rgba(212, 179, 90, 0.15);
}
.capture img {
  display: block;
  width: 100%;
  height: auto;
}
.capture figcaption {
  padding: 14px 18px 16px;
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}
.capture-num {
  display: block;
  font-family: var(--font-quest);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 4px;
}
@media (max-width: 1024px) {
  .captures-grid { grid-template-columns: 1fr 1fr; }
  .capture, .capture-large { grid-column: span 1; }
  .capture-large { grid-column: span 2; }
}
@media (max-width: 720px) {
  .captures-grid { grid-template-columns: 1fr; }
  .capture, .capture-large { grid-column: span 1; }
}

/* ===== PERSONAS ===== */
.personas-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 1024px) { .personas-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .personas-grid { grid-template-columns: 1fr; } }

.persona-card {
  padding: 28px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  text-align: left;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.persona-card:hover {
  border-color: rgba(212, 179, 90, 0.32);
  transform: translateY(-2px);
}
.persona-emoji {
  display: inline-block;
  font-size: 32px;
  margin-bottom: 14px;
  filter: drop-shadow(0 2px 8px rgba(212, 179, 90, 0.20));
}
.persona-card h3 {
  font-family: var(--font-quest);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.3px;
  margin: 0 0 8px;
  color: var(--gold-soft);
}
.persona-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

/* ===== COMPARISON TABLE ===== */
.product-compare { padding-top: 40px; }
.compare-table-wrap {
  margin-top: 40px;
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.compare-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 14px;
}
.compare-table th,
.compare-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.compare-table thead th {
  font-family: var(--font-quest);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(212, 179, 90, 0.25);
}
.compare-table thead th.compare-self {
  color: var(--gold);
  background: rgba(212, 179, 90, 0.08);
}
.compare-table tbody th {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.015);
}
.compare-table td.compare-self {
  background: rgba(212, 179, 90, 0.05);
  color: var(--text);
  font-weight: 500;
}
.compare-yes::before { content: "✓ "; color: #87c599; font-weight: 700; }
.compare-no::before  { content: "✗ "; color: #c5878d; font-weight: 700; }
.compare-mid::before { content: "○ "; color: var(--gold-soft); font-weight: 700; }
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: 0; }

.compare-note {
  margin-top: 24px;
  padding: 18px 24px;
  border-radius: 12px;
  background: rgba(124, 127, 233, 0.08);
  border: 1px solid rgba(167, 139, 250, 0.20);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}
.compare-note strong { color: #c4c8ff; }

/* ===== PRICING ===== */
.product-pricing { padding-top: 40px; }
.pricing-card {
  max-width: 720px;
  margin: 56px auto 0;
  padding: 44px 44px 40px;
  background:
    radial-gradient(ellipse at top,
      rgba(212, 179, 90, 0.10) 0%,
      transparent 60%),
    var(--bg-card);
  border: 1px solid rgba(212, 179, 90, 0.40);
  border-radius: 20px;
  box-shadow:
    0 0 0 1px rgba(212, 179, 90, 0.18),
    0 30px 80px rgba(0, 0, 0, 0.50),
    0 0 50px rgba(212, 179, 90, 0.18);
  position: relative;
  overflow: hidden;
}
.pricing-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
}
@media (max-width: 720px) { .pricing-card { padding: 32px 24px; } }

.pricing-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.pricing-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(212, 179, 90, 0.30), rgba(212, 179, 90, 0.12));
  border: 1px solid rgba(212, 179, 90, 0.45);
  color: var(--gold);
}
.pricing-price { text-align: right; }
.pricing-amount {
  font-family: var(--font-quest);
  font-size: 64px;
  font-weight: 500;
  letter-spacing: -1.5px;
  color: var(--gold);
  font-variation-settings: "opsz" 100;
  line-height: 1;
}
.pricing-amount i {
  font-style: normal;
  font-size: 38px;
  color: var(--gold-soft);
  margin-left: 4px;
}
.pricing-period {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pricing-features li {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.pricing-features .check {
  color: var(--gold-soft);
  flex-shrink: 0;
  font-weight: 700;
}

.pricing-cta {
  text-align: center;
  margin-bottom: 28px;
}
.btn-primary-xl {
  font-size: 17px !important;
  padding: 20px 36px !important;
  border-radius: 14px !important;
}
.pricing-disclaimer {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

.pricing-orbis {
  padding: 20px 22px;
  background: rgba(124, 127, 233, 0.08);
  border: 1px solid rgba(167, 139, 250, 0.22);
  border-radius: 12px;
}
.pricing-orbis-title {
  display: block;
  font-family: var(--font-quest);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.4px;
  color: #c4c8ff;
  margin-bottom: 8px;
}
.pricing-orbis p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-muted);
}

.pricing-alt {
  text-align: center;
  margin-top: 32px;
  font-size: 14px;
  color: var(--text-muted);
}
.pricing-alt a {
  color: var(--gold-soft);
  border-bottom: 1px solid rgba(212, 179, 90, 0.4);
  text-decoration: none;
  transition: color 0.15s ease;
}
.pricing-alt a:hover { color: var(--gold); }

/* ===== CTA-row centré ===== */
.cta-row-center {
  justify-content: center;
}

/* ===== Stubs (liens vers pages produit pas encore créées) ===== */
[data-stub] { position: relative; }
[data-stub]::after {
  content: "↗";
  margin-left: 4px;
  opacity: 0.4;
  font-size: 0.85em;
}
