/* Obelisk — landing page (Triskell Studio)
   Palette doré/sombre, sections empilées, design premium.
   ============================================================= */

/* Overlay de redirection (mode ?buy=1) — masque la page pendant l'aller-retour
   Stripe pour donner l'impression d'aller directement au paiement. */
.redirect-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at top, #14171c 0%, #0d0f12 70%);
  z-index: 9999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: #e9e6df;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
}
body.auto-buy .redirect-overlay { display: flex; }
body.auto-buy > *:not(.redirect-overlay) { visibility: hidden; }

.redirect-spinner {
  width: 38px;
  height: 38px;
  border: 3px solid rgba(201, 169, 97, 0.18);
  border-top-color: #c9a961;
  border-radius: 50%;
  animation: redirect-spin 0.8s linear infinite;
}
@keyframes redirect-spin { to { transform: rotate(360deg); } }

:root {
  --bg: #0d0f12;
  --bg-deep: #0a0c0f;
  --bg-card: #161a20;
  --bg-card-soft: #1a1e25;
  --border: #262b34;
  --border-soft: #1e2229;
  --text: #e9e6df;
  --text-dim: #9aa0ab;
  --text-muted: #6b7280;
  --accent: #c9a961;
  --accent-hot: #e0bd6f;
  --accent-soft: rgba(201, 169, 97, 0.12);
  --accent-shadow: rgba(201, 169, 97, 0.25);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 800px 500px at 50% -10%, rgba(201, 169, 97, 0.08), transparent 70%),
    radial-gradient(ellipse 600px 400px at 90% 30%, rgba(201, 169, 97, 0.04), transparent 70%);
  background-attachment: fixed;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
}

a { color: var(--accent); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--accent-hot); }
.muted { color: var(--text-muted); }

/* ===== Layout ===== */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}
.container.narrow {
  max-width: 720px;
}

.section {
  padding: 80px 0;
  border-top: 1px solid var(--border-soft);
}
.section-pain {
  background: linear-gradient(180deg, transparent, rgba(201, 169, 97, 0.025), transparent);
}
.section-features {
  background: rgba(0, 0, 0, 0.15);
}
.section-trust {
  background: linear-gradient(180deg, transparent, rgba(201, 169, 97, 0.04));
}
.section-cta-final {
  text-align: center;
  padding: 100px 0;
  background:
    radial-gradient(ellipse 600px 400px at 50% 50%, rgba(201, 169, 97, 0.08), transparent 70%),
    var(--bg-deep);
}

/* ===== Hero ===== */
.hero {
  text-align: center;
  padding: 80px 0 100px;
  position: relative;
}
.hero-logo {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  display: block;
  border-radius: 18px;
  filter: drop-shadow(0 0 16px var(--accent-shadow));
}
.eyebrow {
  display: inline-block;
  font-family: "JetBrains Mono", "Consolas", monospace;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 24px;
}
.hero-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.hero-title em {
  color: var(--accent);
  font-style: italic;
  font-weight: 700;
}
.hero-sub {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.65;
}
.hero-sub strong {
  color: var(--text);
  font-weight: 600;
}
.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.hero-meta {
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== Section titles ===== */
.section-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 18px;
  line-height: 1.2;
}
.section-text {
  color: var(--text-dim);
  font-size: 16px;
  max-width: 640px;
  margin: 0 auto 16px;
  text-align: center;
  line-height: 1.7;
}
.section-text em {
  color: var(--accent);
  font-style: normal;
}
.section-text strong {
  color: var(--text);
  font-weight: 600;
}

/* ===== Steps (1, 2, 3) ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}
.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 30px 26px;
  text-align: left;
  transition: transform 0.2s, border-color 0.2s;
}
.step:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}
.step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: #1a1408;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.step h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.3;
}
.step p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ===== Grids génériques ===== */
.grid {
  display: grid;
  gap: 20px;
  margin-top: 50px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ===== Feature cards ===== */
.feat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.feat-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.4);
}
.feat-icon {
  font-size: 30px;
  margin-bottom: 14px;
  filter: drop-shadow(0 0 8px var(--accent-shadow));
}
.feat-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.3;
}
.feat-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ===== Persona cards ===== */
.persona-card {
  background: var(--bg-card-soft);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 26px;
  transition: transform 0.2s, border-color 0.2s;
}
.persona-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}
.persona-icon {
  font-size: 28px;
  margin-bottom: 14px;
}
.persona-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.35;
}
.persona-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.65;
}

/* ===== Trust cards ===== */
.trust-card {
  text-align: center;
  padding: 24px 18px;
}
.trust-num {
  font-size: 32px;
  margin-bottom: 14px;
}
.trust-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.3;
}
.trust-card p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ===== CTA final ===== */
.cta-title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 30px;
  line-height: 1.2;
}
.cta-title em {
  color: var(--accent);
  font-style: italic;
}
.price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.price-amount {
  font-size: 48px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.price-note {
  font-size: 14px;
  color: var(--text-muted);
}

/* ===== Boutons ===== */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #1a1408;
  padding: 16px 36px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  box-shadow: 0 6px 22px rgba(201, 169, 97, 0.3);
  font-family: inherit;
}
.btn-primary:hover:not(:disabled) {
  background: var(--accent-hot);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(201, 169, 97, 0.4);
}
.btn-primary:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}
.btn-large {
  padding: 18px 42px;
  font-size: 17px;
  min-width: 280px;
}

/* ===== Legal & footer ===== */
.legal {
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}
.legal a { color: var(--text-muted); text-decoration: underline; text-decoration-color: var(--border); }
.legal a:hover { color: var(--accent); text-decoration-color: var(--accent); }

footer {
  padding: 50px 0 40px;
  border-top: 1px solid var(--border-soft);
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}
footer a { color: var(--text-muted); }
footer a:hover { color: var(--accent); }
.footer-fine {
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-muted);
  opacity: 0.7;
}

/* ===== Brand bar (top) ============================================== */
.brand-bar {
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid var(--border-soft);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
}
.brand-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand-bar-logo {
  display: inline-flex;
  align-items: center;
}
.brand-bar-logo img {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1) opacity(0.92);
  transition: filter 0.2s, transform 0.2s;
}
.brand-bar-logo:hover img {
  filter: none;
  transform: scale(1.02);
}
.brand-bar-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}
.brand-bar-link:hover { color: var(--accent); }

/* ===== Hero eyebrow + trust ribbon =================================== */
.hero-eyebrow-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}
.hero-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 24px;
  margin: 38px 0 0;
  padding: 0;
  font-size: 13px;
  color: var(--text-muted);
}
.hero-trust li { white-space: nowrap; }

/* ===== Visual proof block ============================================ */
.section-proof {
  background:
    radial-gradient(ellipse 700px 400px at 50% 50%, rgba(201, 169, 97, 0.05), transparent 70%),
    rgba(0, 0, 0, 0.2);
}
.proof-mockup {
  margin-top: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  font-size: 13.5px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}
.proof-row {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.4fr 1.2fr 2fr;
  gap: 0;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-soft);
  align-items: center;
}
.proof-row:last-child { border-bottom: none; }
.proof-header {
  background: rgba(0, 0, 0, 0.3);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 600;
}
.proof-cell { padding: 0 6px; color: var(--text-dim); }
.proof-cell strong { color: var(--text); font-weight: 600; }
.proof-row-excluded { opacity: 0.5; }
.proof-row-excluded .proof-cell strong { text-decoration: line-through; }
.proof-more {
  background: rgba(201, 169, 97, 0.04);
  font-style: italic;
  color: var(--text-muted);
  font-size: 13px;
}
.proof-caption {
  text-align: center;
  margin-top: 22px;
  font-size: 14px;
  color: var(--text-muted);
}

/* Plateforme pills + status badges */
.pf {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.pf-yt { background: rgba(220, 38, 38, 0.15); color: #f87171; }
.pf-rd { background: rgba(234, 88, 12, 0.15); color: #fb923c; }
.pf-tw { background: rgba(147, 51, 234, 0.15); color: #c084fc; }

.badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}
.badge.ok { background: rgba(34, 197, 94, 0.14); color: #4ade80; }
.badge.ko { background: rgba(239, 68, 68, 0.12); color: #f87171; }

/* ===== Comparaison table ============================================= */
.section-compare { background: rgba(0, 0, 0, 0.15); }
.compare-table {
  margin-top: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  font-size: 14px;
}
.compare-row {
  display: grid;
  grid-template-columns: 1.5fr 1.2fr 1fr 1fr 1fr;
  border-bottom: 1px solid var(--border-soft);
}
.compare-row:last-child { border-bottom: none; }
.compare-header {
  background: rgba(0, 0, 0, 0.3);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
}
.compare-header .compare-cell strong { color: var(--accent); font-size: 13px; letter-spacing: 0.04em; }
.compare-cell {
  padding: 14px 18px;
  color: var(--text-dim);
  border-right: 1px solid var(--border-soft);
}
.compare-cell:last-child { border-right: none; }
.compare-cell.highlight {
  background: rgba(201, 169, 97, 0.08);
  color: var(--text);
  font-weight: 600;
}

/* ===== Value stack =================================================== */
.section-value {
  background:
    radial-gradient(ellipse 600px 300px at 50% 50%, rgba(201, 169, 97, 0.05), transparent 70%);
}
.value-stack {
  margin-top: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.value-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 22px;
  border-bottom: 1px solid var(--border-soft);
  gap: 16px;
}
.value-row:last-child { border-bottom: none; }
.value-label {
  color: var(--text-dim);
  font-size: 14.5px;
  flex: 1;
  line-height: 1.4;
}
.value-price {
  color: var(--text-muted);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.value-row-total {
  background: rgba(0, 0, 0, 0.25);
  border-top: 2px solid var(--border);
}
.value-row-total .value-label,
.value-row-total .value-price {
  color: var(--text);
  font-size: 15.5px;
}
.value-row-final {
  background: rgba(201, 169, 97, 0.08);
  border-top: 1px solid var(--accent);
}
.value-row-final .value-label {
  color: var(--text);
  font-size: 17px;
}
.value-final-price {
  color: var(--accent);
  font-size: 22px;
  letter-spacing: -0.01em;
}

/* ===== FAQ =========================================================== */
.section-faq { background: rgba(0, 0, 0, 0.12); }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-top: 14px;
  padding: 0;
  transition: border-color 0.2s;
}
.faq-item:first-of-type { margin-top: 36px; }
.faq-item[open] { border-color: var(--accent); }
.faq-item summary {
  cursor: pointer;
  padding: 18px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  list-style: none;
  position: relative;
  padding-right: 48px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--accent);
  font-weight: 400;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { content: "−"; transform: translateY(-50%) rotate(180deg); }
.faq-item p {
  padding: 0 24px 20px;
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.7;
  margin: 0;
}
.faq-item p strong { color: var(--text); }

/* ===== Univers Triskell ============================================== */
.section-universe {
  background:
    radial-gradient(ellipse 800px 500px at 50% 0%, rgba(201, 169, 97, 0.06), transparent 60%),
    var(--bg-deep);
  border-top: 1px solid var(--border-soft);
}
.universe-header { text-align: center; }
.universe-mark {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  display: block;
  filter: drop-shadow(0 4px 18px rgba(201, 169, 97, 0.25));
}
.universe-grid { margin-top: 44px; }
.universe-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 22px;
  text-decoration: none;
  display: block;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  color: var(--text);
}
.universe-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.4);
}
.universe-card-icon {
  font-size: 28px;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 8px var(--accent-shadow));
}
.universe-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
}
.universe-card p {
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.55;
  margin: 0 0 14px;
}
.universe-card-price {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
}
.universe-card-current {
  border-color: var(--accent);
  background:
    linear-gradient(135deg, rgba(201, 169, 97, 0.08), transparent),
    var(--bg-card);
}
.universe-here {
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-left: 4px;
}

/* ===== Footer (overrides) ============================================ */
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-logo {
  display: inline-block;
  margin-bottom: 18px;
}
.footer-logo img {
  height: 32px;
  filter: brightness(0) invert(1) opacity(0.85);
}
.footer-logo:hover img { filter: none; }
.footer-tagline {
  font-style: italic;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 14px;
  max-width: 480px;
  text-align: center;
}
.footer-links {
  font-size: 13px;
  margin-bottom: 6px;
}

/* ============================================================
   RESPONSIVE — tablette < 900px
   ============================================================ */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps  { grid-template-columns: 1fr; }
  .hero-title { font-size: 38px; }
  .section-title { font-size: 28px; }
  .cta-title { font-size: 30px; }
  .compare-row { grid-template-columns: 1.4fr 1.1fr 0.9fr 0.9fr 0.9fr; font-size: 13px; }
  .compare-cell { padding: 12px 12px; }
}

/* Mobile < 600px */
@media (max-width: 600px) {
  body { font-size: 15px; }
  .container { padding: 0 18px; }
  .section { padding: 60px 0; }
  .hero { padding: 50px 0 70px; }
  .hero-logo { width: 64px; height: 64px; margin-bottom: 18px; }
  .hero-title { font-size: 30px; line-height: 1.2; }
  .hero-sub { font-size: 15px; }
  .hero-trust { gap: 8px 14px; font-size: 12px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section-title { font-size: 24px; }
  .cta-title { font-size: 26px; }
  .price-amount { font-size: 38px; }
  .btn-large { padding: 16px 28px; font-size: 16px; min-width: auto; width: 100%; }
  .feat-card, .persona-card, .step { padding: 22px 20px; }

  /* Brand bar — mobile */
  .brand-bar { padding: 10px 0; }
  .brand-bar-logo img { height: 22px; }
  .brand-bar-link { font-size: 12px; }

  /* Proof / compare table : passent en mode "carte empilée" sur mobile */
  .proof-row, .proof-header { grid-template-columns: 1fr; gap: 4px; padding: 14px 16px; }
  .proof-header { display: none; }
  .proof-cell { padding: 0; }
  .proof-cell::before {
    content: attr(data-label) "";
    color: var(--text-muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: inline;
    margin-right: 6px;
  }
  .compare-row { grid-template-columns: 1fr; }
  .compare-cell { border-right: none; border-bottom: 1px solid var(--border-soft); padding: 10px 16px; }
  .compare-cell:last-child { border-bottom: none; }
  .compare-header { display: none; }

  .value-row { flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 18px; }
  .value-final-price { font-size: 20px; }

  .universe-card { padding: 20px 18px; }
}
