/*
Theme Name: PropLog Theme
Theme URI: https://proplog.fr
Author: PropLog
Author URI: https://proplog.fr
Description: Thème PropLog — journal de trading multi-comptes futures. Reproduction fidèle de la landing Next.js (palette, typographie et captures réelles) + espace client (cockpit sombre).
Version: 0.3.0
License: Proprietary
Text Domain: proplog
*/

:root {
  --paper: #fbfaf6;
  --cream: #f1eee5;
  --cream-deep: #e8e2d5;
  --card: #fffdf8;
  --ink: #211d16;
  --ink-soft: #24231e;
  --muted: #676258;
  --faint: #9a958a;
  --line: #d8d1c3;
  --night: #171815;
  --night-soft: #252620;
  --night-text: #f7f4eb;
  --night-muted: #bbb5a8;
  --amber: #b56f03;
  --amber-mid: #dc9211;
  --amber-deep: #a96a05;
  --amber-text: #855a14;
  --amber-soft: #f4e8ce;
  --amber-on: #20180b;
  --green: #2f724e;
  --green-soft: #e1eee5;
  --coral: #d97757;
  --radius: 18px;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "Bahnschrift", "Arial Narrow", "Inter", sans-serif;
  --font-serif: "Fraunces", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; }
.section--cream { background: var(--cream); }
.section--dark {
  background:
    radial-gradient(circle at 83% 20%, #d9775733, transparent 28rem),
    radial-gradient(circle at 12% 90%, #d9775714, transparent 24rem),
    var(--night);
  color: var(--night-text);
}
.section--dark .lead { color: var(--night-muted); }

.eyebrow {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--amber-text);
  margin-bottom: 18px;
}
.section--dark .eyebrow { color: var(--amber-mid); }

h1, h2, h3, .display {
  font-family: var(--font-display);
  line-height: .98;
  letter-spacing: -0.025em;
  margin: 0 0 22px;
  font-weight: 600;
}
h1 { font-size: clamp(52px, 7vw, 96px); }
h2 { font-size: clamp(40px, 5.2vw, 72px); }
h3 { font-size: 26px; line-height: 1.15; }
.serif-accent { font-family: var(--font-serif); font-style: italic; font-weight: 500; color: var(--amber); letter-spacing: -0.01em; }
.section--dark .serif-accent { color: var(--amber-mid); }
.lead { font-size: 18px; color: var(--muted); max-width: 520px; margin: 0 0 32px; }
.muted { color: var(--muted); }
.small { font-size: 13.5px; color: var(--faint); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Bandeau partenaire ---------- */
.partner-strip {
  background: linear-gradient(90deg, var(--amber-deep), var(--amber-mid) 52%, var(--amber));
  color: var(--amber-on);
  font-size: 13.5px;
  font-weight: 500;
  padding: 8px 0;
  text-align: center;
}
.partner-strip a { font-weight: 700; text-decoration: none; }
.partner-strip a:hover { text-decoration: underline; }

/* ---------- Header pilule ---------- */
.site-header { position: sticky; top: 12px; z-index: 60; }
.nav-pill {
  max-width: 1180px; margin: 12px auto 0; padding: 8px 10px 8px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 12px 32px -18px rgba(33,29,22,.25);
  display: flex; align-items: center; gap: 26px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; }
.brand-badge {
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(135deg, var(--amber-mid), var(--amber));
  color: var(--amber-on);
  display: grid; place-items: center; font-size: 16px; font-weight: 700;
}
.main-nav { display: flex; gap: 20px; flex: 1; }
.main-nav a { text-decoration: none; font-size: 14px; color: var(--muted); font-weight: 500; }
.main-nav a:hover { color: var(--ink); }
.header-actions { display: flex; gap: 10px; align-items: center; }
.header-login { font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none; padding: 9px 12px; }
.header-login:hover { color: var(--ink); }

.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--font-body);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: linear-gradient(90deg, var(--amber-deep), var(--amber-mid) 52%, var(--amber));
  color: var(--amber-on);
  box-shadow: 0 10px 24px -12px rgba(169,106,5,.55);
}
.btn--primary:hover { box-shadow: 0 14px 28px -12px rgba(169,106,5,.65); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--muted); }
.btn--dark { background: var(--night); color: var(--night-text); }
.btn--dark:hover { background: var(--night-soft); }
.section--dark .btn--ghost { color: var(--night-text); border-color: #4a463c; }
.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--block { display: block; text-align: center; }

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 80px;
  background:
    radial-gradient(circle at 78% 8%, #dd9c231c, transparent 31rem),
    radial-gradient(circle at 12% 34%, #ded6c852, transparent 35rem),
    var(--paper);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.hero-note { font-size: 13.5px; color: var(--faint); }
.hero-note a { color: var(--amber-text); font-weight: 600; text-decoration: none; }

.cockpit { position: relative; }
.cockpit-frame {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px rgba(23,24,21,.5);
  background: var(--night);
}
.cockpit-frame img { display: block; width: 100%; }
.float-card {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 20px 44px -22px rgba(33,29,22,.35);
  padding: 12px 18px;
  font-size: 13px;
}
.float-card b { display: block; font-family: var(--font-display); font-size: 19px; letter-spacing: -0.02em; }
.float-card .lbl { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); display: block; margin-bottom: 2px; }
.float-card--tl { top: 8%; left: -34px; }
.float-card--tr { top: -18px; right: -14px; }
.float-card--br { bottom: 12%; right: -26px; }
.cockpit-caption { text-align: center; font-size: 12.5px; color: var(--faint); margin-top: 16px; }

/* ---------- Chips stats ---------- */
.chip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 72px; border-top: 1px solid var(--line); padding-top: 32px; }
.chip { display: flex; gap: 14px; align-items: flex-start; }
.chip__icon { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--amber); flex: none; }
.chip b { display: block; font-size: 14.5px; margin-bottom: 3px; }
.chip span { font-size: 13px; color: var(--muted); line-height: 1.45; display: block; }

/* ---------- Formats ---------- */
.formats { padding: 44px 0; border-top: 1px solid var(--line); }
.formats p { text-align: center; font-size: 13px; color: var(--faint); margin: 0 0 22px; }
.format-row { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.format-badge {
  display: flex; align-items: center; gap: 10px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 999px; padding: 7px 18px 7px 7px; font-weight: 600; font-size: 14px;
}
.format-badge i {
  font-style: normal; font-family: var(--font-display); font-weight: 700;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--amber-soft); color: var(--amber-text);
  display: grid; place-items: center; font-size: 12px;
}

/* ---------- Cartes moqueuses ---------- */
.mock-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 54px -34px rgba(33,29,22,.3);
  padding: 24px;
}
.mock-card__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.mock-card__title { font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.mock-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 14px; }
.mock-row b { font-family: var(--font-display); letter-spacing: -0.01em; text-align: right; }
.tag {
  display: inline-block; font-size: 11.5px; font-weight: 600;
  padding: 3px 10px; border-radius: 999px; white-space: nowrap;
  background: var(--green-soft); color: var(--green);
}
.tag--amber { background: var(--amber-soft); color: var(--amber-text); }
.tag--neutral { background: var(--cream); color: var(--muted); }

/* ---------- Usages (onglets) ---------- */
.usage-tabs { display: flex; gap: 30px; border-bottom: 1px solid var(--line); margin: 44px 0 0; }
.usage-tab {
  font-family: var(--font-display); font-size: 15px; font-weight: 600;
  color: var(--muted); text-decoration: none; padding: 0 2px 14px;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.usage-tab .tnum { font-size: 11px; letter-spacing: .14em; margin-right: 6px; }
.usage-tab.on { color: var(--ink); border-bottom-color: var(--amber); }
.usage-panel {
  background: linear-gradient(145deg, rgba(251,250,246,.93), rgba(241,238,229,.88));
  border: 1px solid var(--line);
  border-radius: 22px;
  margin-top: 36px;
  padding: 52px;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
}
.usage-panel h3 { font-size: clamp(28px, 3vw, 42px); }
.check-list { list-style: none; padding: 0; margin: 22px 0 0; }
.check-list li { padding: 8px 0 8px 30px; position: relative; font-size: 14.5px; color: var(--muted); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 8px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--green-soft); color: var(--green);
  font-size: 11px; font-weight: 700; display: grid; place-items: center;
}
.section--dark .check-list li { color: var(--night-muted); }
.section--dark .check-list li::before { background: #d9775730; color: #f4ae94; }

/* ---------- Avant / Après (sombre) ---------- */
.why-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.why-head h2 { text-align: right; }
.vs-list { margin-top: 56px; display: grid; gap: 18px; max-width: 940px; margin-left: auto; margin-right: auto; }
.vs-row {
  display: grid; grid-template-columns: 90px 1fr 1.2fr; gap: 24px;
  background: var(--card); color: var(--ink);
  border-radius: 20px; padding: 28px 32px; align-items: center;
}
.vs-row .num { font-family: var(--font-display); font-size: 34px; font-weight: 700; color: var(--amber); }
.vs-before { color: var(--muted); font-size: 15px; }
.vs-before b, .vs-after b { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 5px; }
.vs-before b { color: var(--faint); }
.vs-after { background: var(--amber-soft); border-radius: 14px; padding: 16px 20px; font-weight: 600; font-size: 15.5px; }
.vs-after b { color: var(--amber-text); }

/* ---------- Étapes produit ---------- */
.steps-nav { display: flex; gap: 10px; flex-wrap: wrap; margin: 40px 0 30px; }
.steps-nav button {
  font-family: var(--font-display); font-size: 14px; font-weight: 600;
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card);
  color: var(--ink); cursor: pointer; transition: background .2s ease, color .2s ease;
}
.steps-nav button:hover { border-color: var(--amber); }
.steps-nav button.on { background: var(--night); color: var(--night-text); border-color: var(--night); }
.step-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.step-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 30px;
}
.step-card .num { font-size: 12px; letter-spacing: .14em; color: var(--amber-text); font-weight: 700; text-transform: uppercase; }
.step-card h3 { margin-top: 10px; }
.shot {
  border-radius: 12px; overflow: hidden; border: 1px solid var(--line);
  margin-top: 18px; background: var(--night);
}
.shot img { display: block; width: 100%; }

/* ---------- Fonctionnement ---------- */
.how-head { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: end; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 56px; border-top: 1px solid var(--line); }
.how-card { padding: 36px 30px 30px; border-right: 1px solid var(--line); position: relative; }
.how-card:last-child { border-right: 0; }
.how-card .n { font-family: var(--font-display); font-size: 56px; font-weight: 700; color: var(--amber); line-height: 1; margin-bottom: 40px; }
.how-card h3 { font-size: 22px; }
.how-card::before {
  content: ""; position: absolute; top: -7px; left: 30px;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--line);
}

/* ---------- Compatibilité ---------- */
.compat-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; margin-top: 44px; }
.compat-box {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  padding: 28px;
}
.compat-selects { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.compat-selects label { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.compat-selects select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-family: var(--font-body); font-size: 14.5px; background: var(--card); color: var(--ink);
}
.compat-selects .full { grid-column: 1 / -1; }
.compat-result { margin-top: 16px; font-size: 14px; padding: 13px 16px; border-radius: 12px; display: none; }
.compat-result.ok { display: block; background: var(--green-soft); color: var(--green); }
.compat-result.ko { display: block; background: var(--amber-soft); color: var(--amber-text); }
.compat-dark {
  background:
    radial-gradient(circle at 90% 15%, #d977572e, transparent 25rem),
    var(--night);
  color: var(--night-text);
  border-radius: 20px; padding: 30px;
}
.compat-dark h3 { font-size: 24px; }
.compat-dark p { color: var(--night-muted); font-size: 14.5px; }
.compat-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin-top: 24px; }
.compat-item {
  display: flex; align-items: center; gap: 10px;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px;
}
.compat-item i {
  font-style: normal; font-family: var(--font-display); font-size: 11px; font-weight: 700;
  width: 32px; height: 32px; border-radius: 8px; background: var(--night); color: var(--night-text);
  display: grid; place-items: center; flex: none;
}
.compat-item b { display: block; font-size: 13.5px; line-height: 1.2; }
.compat-item span { font-size: 11.5px; color: var(--faint); display: block; }
.compat-item .tag { margin-left: auto; }

/* ---------- Entreprise (sombre) ---------- */
.ent-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.ent-card {
  background: var(--card); color: var(--ink);
  border-radius: 20px; padding: 32px;
}
.ent-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.ent-row:first-of-type { border-top: 0; }
.ent-row b { font-family: var(--font-display); }
.ent-price { font-family: var(--font-display); font-size: 30px; font-weight: 700; white-space: nowrap; }
.ent-price small { font-size: 14px; font-weight: 500; color: var(--faint); }
.promise-not {
  border: 1px solid #4a463c; border-radius: 14px; padding: 16px 20px;
  font-size: 13.5px; color: var(--night-muted); margin-top: 26px;
}
.promise-not b { color: var(--night-text); display: block; margin-bottom: 4px; }

/* ---------- Confiance ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 44px; }
.trust-item {
  display: flex; gap: 16px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px;
  text-decoration: none;
}
.trust-item:hover { border-color: var(--amber); }
.trust-item .check {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  background: var(--green-soft); color: var(--green);
  display: grid; place-items: center; font-size: 13px; font-weight: 700;
}
.trust-item b { display: block; font-size: 15px; }
.trust-item span { font-size: 13.5px; color: var(--muted); }
.trust-item .arrow { margin-left: auto; color: var(--faint); }
.proof-card {
  margin-top: 22px; background: var(--card); border: 1px solid var(--line);
  border-radius: 20px; padding: 36px;
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
}

/* ---------- Tarifs ---------- */
.billing-toggle {
  display: inline-flex; background: var(--cream); border: 1px solid var(--line);
  border-radius: 999px; padding: 4px; margin: 8px 0 40px;
}
.billing-toggle button {
  font-family: var(--font-body); font-size: 13.5px; font-weight: 600;
  padding: 7px 18px; border-radius: 999px; color: var(--muted);
  background: transparent; border: 0; cursor: pointer; transition: background .2s ease, color .2s ease;
}
.billing-toggle button:hover { color: var(--ink); }
.billing-toggle button.on { background: var(--night); color: var(--night-text); }
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 440px)); gap: 22px; justify-content: center; }
.price-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 36px;
  display: flex; flex-direction: column; text-align: left; position: relative; overflow: hidden;
}
.price-card--pro::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 6px;
  background: linear-gradient(90deg, var(--amber-deep), var(--amber-mid) 52%, var(--amber));
}
.price-card h3 { font-size: 30px; margin-top: 10px; }
.price-amount { font-family: var(--font-display); font-size: 54px; font-weight: 700; letter-spacing: -0.03em; margin: 12px 0 2px; }
.price-amount small { font-size: 16px; font-weight: 500; color: var(--faint); }
.price-card ul { list-style: none; padding: 0; margin: 22px 0 28px; flex: 1; }
.price-card li { padding: 7px 0 7px 28px; position: relative; font-size: 14.5px; color: var(--muted); }
.price-card li::before {
  content: "✓"; position: absolute; left: 0; top: 8px;
  width: 19px; height: 19px; border-radius: 50%;
  background: var(--green-soft); color: var(--green);
  font-size: 10px; font-weight: 700; display: grid; place-items: center;
}
.price-foot { font-size: 12.5px; color: var(--faint); margin-top: 14px; }
.plan-tag { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--amber-text); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 48px auto 0; text-align: left; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 18px;
  display: flex; align-items: center; gap: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; font-size: 24px; color: var(--amber); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 8px 24px 52px; color: var(--muted); font-size: 15px; max-width: 640px; }
.faq .qnum { color: var(--amber); font-size: 13px; letter-spacing: .1em; }

/* ---------- CTA final (sombre + capture) ---------- */
.final-cta { position: relative; overflow: hidden; }
.final-cta .shot-bg {
  position: absolute; inset: 0;
  background: var(--night);
}
.final-cta .shot-bg img {
  position: absolute; right: -6%; top: 0; width: 62%; height: 100%;
  object-fit: cover; object-position: left top;
  opacity: .5;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 42%);
  mask-image: linear-gradient(90deg, transparent, #000 42%);
}
.final-cta .wrap { position: relative; }
.final-cta h2 { color: var(--night-text); }
.final-cta .lead { color: var(--night-muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--night-muted); padding: 80px 0 40px; font-size: 14px; }
.site-footer a { color: var(--night-muted); text-decoration: none; }
.site-footer a:hover { color: var(--night-text); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; margin-bottom: 52px; }
.footer-brand p { color: var(--night-muted); font-size: 13.5px; max-width: 260px; }
.footer-brand .brand { color: var(--night-text); }
.footer-col b { display: block; color: var(--night-text); font-family: var(--font-display); margin-bottom: 14px; font-size: 13.5px; letter-spacing: .02em; }
.footer-col a { display: block; padding: 4px 0; font-size: 13.5px; }
.footer-legal { border-top: 1px solid #35322a; padding-top: 28px; color: #8a857a; font-size: 12.5px; }
.footer-legal p { margin: 0 0 10px; }
.footer-social { display: flex; gap: 16px; margin-top: 18px; }

/* ---------- Pages intérieures ---------- */
.page-head { padding: 80px 0 40px; }
.page-content { padding: 0 0 100px; max-width: 780px; }
.page-content h2 { font-size: 32px; margin-top: 44px; }
.page-content h3 { margin-top: 30px; font-size: 22px; }
.page-content p { margin: 0 0 18px; color: var(--muted); }
.page-content a { color: var(--amber-text); font-weight: 500; }
.page-content ul, .page-content ol { color: var(--muted); padding-left: 22px; margin: 0 0 18px; }
.page-content li { margin-bottom: 8px; }
.page-content strong { color: var(--ink); }
.page-content section { margin-bottom: 36px; }
.page-content article > section:first-child h2 { margin-top: 0; }
.page-content aside {
    background: var(--cream); border: 1px solid var(--line); border-radius: 14px;
    padding: 18px 22px; font-size: 13px; color: var(--muted); margin-bottom: 40px;
    display: grid; gap: 6px;
}
.page-content aside a { font-weight: 600; }
.page-content blockquote {
    border-left: 3px solid var(--amber); margin: 0 0 18px; padding: 4px 0 4px 18px;
    color: var(--muted); font-style: italic;
}
.page-content table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 14px; }
.page-content th, .page-content td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.page-content th { background: var(--cream); font-family: var(--font-display); }
.page-content details { border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin-bottom: 12px; background: var(--card); }
.page-content summary { cursor: pointer; font-weight: 600; }
.page-content time { color: var(--faint); font-size: 12.5px; }
.page-content h4 { font-family: var(--font-display); margin: 22px 0 10px; }
.page-content form { display: grid; gap: 14px; max-width: 520px; }
.page-content input, .page-content select, .page-content textarea {
    width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
    font-family: var(--font-body); font-size: 15px; background: var(--card); color: var(--ink);
}
.page-content button {
    padding: 12px 22px; border-radius: 999px; border: 0;
    background: linear-gradient(90deg, var(--amber-deep), var(--amber-mid) 52%, var(--amber));
    color: var(--amber-on); font-weight: 600; font-size: 15px; cursor: pointer; font-family: var(--font-body);
    justify-self: start;
}
.page-content div > a[href*="tiktok"], .page-content div > a[href*="instagram"],
.page-content div > a[href*="youtube"], .page-content div > a[href*="facebook"],
.page-content div > a[href*="linkedin"] {
    display: inline-block; margin: 0 12px 8px 0; padding: 8px 16px;
    border: 1px solid var(--line); border-radius: 999px; text-decoration: none;
    color: var(--ink); font-size: 13.5px; font-weight: 500;
}

/* ---------- Animations au scroll (réplique data-motion-reveal) ---------- */
.pl-reveal {
  will-change: transform, opacity;
  transition: transform .82s cubic-bezier(.2,.8,.2,1), opacity .82s cubic-bezier(.2,.8,.2,1);
  transform: translateY(2.25rem) scale(.99);
  opacity: 0;
}
.pl-reveal--delay { transition-delay: 70ms; }
.pl-reveal.pl-visible { transform: translateY(0) scale(1); opacity: 1; }

/* ---------- Marquee formats (défilement infini) ---------- */
.marquee { overflow: hidden; position: relative; }
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--paper), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--paper), transparent); }
.marquee-track {
  display: flex; gap: 12px; width: max-content;
  animation: pl-marquee 30s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes pl-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}

/* ---------- Page Affiliation ---------- */
.aff-stats { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0 10px; }
.aff-stat {
    background: var(--card); border: 1px solid var(--line); border-radius: 14px;
    padding: 14px 20px; min-width: 150px;
}
.aff-stat b { font-family: var(--font-display); font-size: 26px; color: var(--amber); display: block; line-height: 1.1; }
.aff-stat span { font-size: 12.5px; color: var(--muted); }
.partner-card {
    background: var(--card); border: 1px solid var(--line); border-radius: 20px;
    padding: 30px; margin-bottom: 20px;
}
.partner-card--featured { border-color: var(--amber); box-shadow: 0 22px 50px -34px rgba(169,106,5,.4); }
.partner-card__head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.partner-card__head h3 { margin: 0; }
.partner-card p { font-size: 14.5px; }
.partner-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.partner-source { font-size: 12.5px; color: var(--faint); margin-top: 14px; }
.code-chip {
    display: inline-flex; align-items: center; gap: 14px;
    background: var(--night); color: var(--night-text);
    border-radius: 12px; padding: 12px 20px;
    font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: .12em;
}
.code-chip button {
    background: linear-gradient(90deg, var(--amber-deep), var(--amber-mid) 52%, var(--amber));
    color: var(--amber-on); border: 0; border-radius: 999px;
    font-size: 12.5px; font-weight: 700; padding: 7px 16px; cursor: pointer;
    font-family: var(--font-body); letter-spacing: 0;
}
.aff-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 30px 0; }
.aff-step { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.aff-step .n { font-family: var(--font-display); color: var(--amber); font-weight: 700; font-size: 20px; }
.aff-step b { display: block; margin: 6px 0 4px; font-size: 15px; }
.aff-step span { font-size: 13.5px; color: var(--muted); }
.aff-principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 30px; }
.aff-principle { border-top: 2px solid var(--amber); padding-top: 16px; }
.aff-principle .n { font-size: 12px; letter-spacing: .14em; color: var(--amber-text); font-weight: 700; }
.aff-principle b { display: block; margin: 6px 0 4px; font-size: 16px; }
.aff-principle span { font-size: 14px; color: var(--muted); }
.aff-resources { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
.aff-resource {
    background: var(--card); border: 1px solid var(--line); border-radius: 14px;
    padding: 22px; text-decoration: none; display: block;
}
.aff-resource:hover { border-color: var(--amber); }
.aff-resource b { display: block; font-size: 15.5px; margin-bottom: 6px; color: var(--ink); }
.aff-resource span { font-size: 13.5px; color: var(--muted); display: block; margin-bottom: 10px; }
.aff-resource i { font-style: normal; color: var(--amber-text); font-weight: 600; font-size: 13.5px; }
.aff-sources { margin-top: 26px; display: grid; gap: 10px; }
.aff-source-row {
    display: flex; justify-content: space-between; align-items: center; gap: 14px;
    background: var(--card); border: 1px solid var(--line); border-radius: 12px;
    padding: 14px 18px; font-size: 14px;
}
.aff-source-row a { color: var(--amber-text); font-weight: 600; font-size: 13.5px; white-space: nowrap; }
@media (max-width: 860px) {
    .aff-steps, .aff-resources, .aff-principles { grid-template-columns: 1fr; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid, .usage-panel, .ent-grid, .compat-layout, .how-head, .why-head { grid-template-columns: 1fr; }
  .why-head h2 { text-align: left; }
  .chip-grid { grid-template-columns: repeat(2, 1fr); }
  .how-grid { grid-template-columns: 1fr; }
  .how-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .price-grid, .step-grid, .trust-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .main-nav { display: none; }
  .float-card--tl { left: 0; }
  .float-card--br { right: 0; }
  .float-card--tr { right: 0; }
  .usage-panel { padding: 32px; }
  .final-cta .shot-bg img { opacity: .25; width: 100%; right: 0; }
}
@media (max-width: 560px) {
  .chip-grid { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  h1 { font-size: 44px; }
  .vs-row { grid-template-columns: 1fr; }
}


/* ============================================================
   Espace client — auth, shell sombre et cockpit (v0.3.0)
   ============================================================ */

/* ---------- Pages auth (connexion / création) ---------- */
.auth-page {
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 90px 24px 80px;
  background:
    radial-gradient(60% 45% at 85% 8%, #f4e8ce66, transparent 70%),
    var(--paper);
}
.auth-card {
  width: 100%;
  max-width: 460px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 44px 40px 36px;
  box-shadow: 0 30px 60px -30px rgba(33, 29, 22, .25);
}
.auth-title {
  font-family: var(--font-display);
  font-size: 34px;
  letter-spacing: -0.02em;
  margin: 10px 0 8px;
}
.auth-form { margin-top: 22px; display: grid; gap: 6px; }
.auth-form label { font-size: 13.5px; font-weight: 600; color: var(--muted); margin-top: 10px; }
.auth-form input {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  font: inherit;
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.auth-form input:focus {
  outline: none;
  border-color: var(--amber-mid);
  box-shadow: 0 0 0 3px #dc921122;
}
.auth-form .btn { margin-top: 20px; }
.auth-error {
  margin-top: 16px;
  padding: 13px 16px;
  border-radius: 12px;
  background: #f9e7e2;
  border: 1px solid #e5b8ac;
  color: #8f3b24;
  font-size: 14.5px;
}

/* ---------- Shell applicatif sombre ---------- */
body.proplog-app {
  background: #141510;
  color: #f2eee5;
  min-height: 100vh;
}
.app-shell { display: flex; min-height: 100vh; }

.app-sidebar {
  width: 248px;
  flex: 0 0 248px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 26px 20px 22px;
  background: #0f100c;
  border-right: 1px solid #26271f;
  position: sticky;
  top: 0;
  height: 100vh;
}
.app-brand { color: #f2eee5; }
.app-brand .brand-badge {
  background: linear-gradient(135deg, var(--amber-mid), var(--amber-deep));
  color: #20180b;
}
.app-nav { display: flex; flex-direction: column; gap: 4px; }
.app-nav a {
  display: block;
  padding: 11px 14px;
  border-radius: 11px;
  color: #a8a294;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: background .15s ease, color .15s ease;
}
.app-nav a:hover { background: #1c1d16; color: #f2eee5; }
.app-nav a.on {
  background: linear-gradient(135deg, #dc92111f, #dc92110d);
  color: var(--amber-mid);
  font-weight: 600;
}
.app-sidebar-foot {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #26271f;
}
.app-user { margin: 0; font-weight: 600; font-size: 15px; }
.app-plan { margin: 2px 0 10px; font-size: 13px; color: #8b857a; }
.app-logout { font-size: 13.5px; color: #8b857a; text-decoration: none; }
.app-logout:hover { color: #e0655a; }

.app-main { flex: 1; min-width: 0; }
.app-pane { max-width: 1080px; margin: 0 auto; padding: 44px 36px 80px; }
.app-pane--narrow { max-width: 780px; }

.app-loading {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 60px 0;
  color: #a8a294;
}
.spinner {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2.5px solid #33342a;
  border-top-color: var(--amber-mid);
  animation: proplog-spin .8s linear infinite;
}
@keyframes proplog-spin { to { transform: rotate(360deg); } }

/* ---------- En-têtes et textes ---------- */
.app-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}
.app-title {
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
  color: #f2eee5;
}
.app-sub { margin: 0; color: #8b857a; font-size: 14.5px; }
.app-sub a { color: var(--amber-mid); }
.app-back {
  color: #8b857a;
  text-decoration: none;
  font-size: 14px;
}
.app-back:hover { color: var(--amber-mid); }

/* ---------- KPI ---------- */
.kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin-bottom: 26px;
}
.kpi {
  background: #1d1e18;
  border: 1px solid #2b2c23;
  border-radius: 16px;
  padding: 18px 20px;
}
.kpi-label {
  margin: 0 0 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #8b857a;
}
.kpi-value {
  margin: 0;
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: -0.01em;
  color: #f2eee5;
}
.kpi-value--amber { color: var(--amber-mid); }
.kpi-sub { margin: 4px 0 0; font-size: 13px; color: #8b857a; }
.pos { color: #6cc793 !important; }
.neg { color: #e0655a !important; }
.risk-text--ok { color: #6cc793; }
.risk-text--warning { color: var(--amber-mid); }
.risk-text--breach { color: #e0655a; }

/* ---------- Cartes compte ---------- */
.acct-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}
.acct-card {
  display: block;
  background: #1d1e18;
  border: 1px solid #2b2c23;
  border-radius: 18px;
  padding: 22px;
  text-decoration: none;
  color: inherit;
  transition: transform .15s ease, border-color .15s ease;
}
.acct-card:hover { transform: translateY(-2px); border-color: var(--amber-mid); }
.acct-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.acct-name { font-weight: 700; font-size: 16.5px; }
.acct-balance {
  margin: 14px 0 2px;
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--amber-mid);
  letter-spacing: -0.01em;
}
.acct-pnl { margin: 0 0 14px; font-size: 14px; font-weight: 600; }
.acct-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13.5px;
  color: #8b857a;
  padding: 4px 0;
}
.acct-row strong { color: #f2eee5; font-weight: 600; }
.acct-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
}
.acct-go { font-size: 13px; color: #8b857a; }
.acct-card:hover .acct-go { color: var(--amber-mid); }

.badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: #26271f;
  color: #a8a294;
}
.badge--eval { background: #dc92111f; color: var(--amber-mid); }
.badge--funded { background: #6cc7931f; color: #6cc793; }
.badge--personal { background: #7aa7d91f; color: #8fb8e8; }

.risk-pill {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
}
.risk-pill--ok { background: #6cc7931a; color: #6cc793; border: 1px solid #6cc79344; }
.risk-pill--warning { background: #dc92111a; color: var(--amber-mid); border: 1px solid #dc921144; }
.risk-pill--breach { background: #e0655a1a; color: #e0655a; border: 1px solid #e0655a44; }

.progress {
  height: 7px;
  border-radius: 999px;
  background: #26271f;
  overflow: hidden;
  margin: 10px 0 6px;
}
.progress > span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--amber-deep), var(--amber-mid));
}
.progress--lg { height: 10px; margin: 4px 0 26px; }

/* ---------- Panneaux et tables ---------- */
.panel {
  background: #1d1e18;
  border: 1px solid #2b2c23;
  border-radius: 18px;
  padding: 24px;
  margin-bottom: 22px;
}
.panel--danger { border-color: #e0655a33; }
.panel--current-plan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}
.panel-head h2 { margin: 0; font-size: 19px; font-family: var(--font-display); color: #f2eee5; }
.panel-sub { font-family: var(--font-display); font-size: 18px; color: #f2eee5; margin: 26px 0 14px; }
.plan-current {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--amber-mid);
}

.table-wrap { overflow-x: auto; }
.app-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.app-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #8b857a;
  padding: 10px 12px;
  border-bottom: 1px solid #2b2c23;
}
.app-table td {
  padding: 11px 12px;
  border-bottom: 1px solid #24251c;
  color: #d9d4c7;
}
.app-table tr:last-child td { border-bottom: none; }
.app-table--sm { font-size: 13px; }
.row-error td { color: #8b857a; }
.tag-ok { color: #6cc793; font-size: 12px; font-weight: 600; }
.tag-error { color: #e0655a; font-size: 12px; }
.origin { color: #8b857a; font-size: 12.5px; }

.side-pill {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 7px;
}
.side-pill--long { background: #6cc7931a; color: #6cc793; }
.side-pill--short { background: #e0655a1a; color: #e0655a; }

/* ---------- Formulaires sombres ---------- */
.app-form { margin-top: 8px; }
.app-form--inline {
  padding: 18px;
  background: #171812;
  border: 1px solid #2b2c23;
  border-radius: 14px;
  margin-bottom: 18px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 16px;
  margin-bottom: 16px;
}
.form-grid--6 { grid-template-columns: repeat(3, 1fr); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.field > span { font-size: 13px; font-weight: 600; color: #a8a294; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #33342a;
  border-radius: 11px;
  background: #141510;
  color: #f2eee5;
  font: inherit;
  font-size: 14.5px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--amber-mid);
  box-shadow: 0 0 0 3px #dc921122;
}
.field input::placeholder { color: #5d594f; }
.field input[type="file"] { padding: 9px 13px; }
.form-msg { margin: 6px 0 12px; }
.is-hidden { display: none !important; }

/* ---------- Notices / états vides ---------- */
.notice {
  padding: 14px 18px;
  border-radius: 13px;
  font-size: 14.5px;
  margin: 14px 0;
}
.notice a { color: inherit; font-weight: 600; }
.notice--ok { background: #6cc79314; border: 1px solid #6cc79340; color: #8fd7ab; }
.notice--error { background: #e0655a14; border: 1px solid #e0655a40; color: #ec9a8d; }

.empty {
  text-align: center;
  padding: 70px 30px;
  background: #1d1e18;
  border: 1px dashed #33342a;
  border-radius: 18px;
}
.empty h2 { font-family: var(--font-display); margin: 0 0 8px; color: #f2eee5; }
.empty p { color: #8b857a; margin: 0 0 22px; }
.empty--sm { padding: 34px 20px; }
.empty--sm p { margin: 0; }

/* ---------- Plans ---------- */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 14px;
}
.plan-card {
  background: #1d1e18;
  border: 1px solid #2b2c23;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.plan-name { margin: 0; font-weight: 700; font-size: 16px; color: #f2eee5; }
.plan-cadence {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #8b857a;
}
.plan-price {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--amber-mid);
}
.plan-card .btn { margin-top: auto; }

/* ---------- Boutons contexte sombre ---------- */
.btn--danger {
  background: #e0655a1a;
  color: #e0655a;
  border: 1px solid #e0655a55;
}
.btn--danger:hover { background: #e0655a2a; }
.app-main .btn--ghost { color: #d9d4c7; border-color: #33342a; }
.app-main .btn--ghost:hover { border-color: var(--amber-mid); color: var(--amber-mid); }
.app-main .btn:disabled { opacity: .55; cursor: wait; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .app-shell { flex-direction: column; }
  .app-sidebar {
    width: 100%;
    flex: none;
    position: static;
    height: auto;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 18px;
    border-right: none;
    border-bottom: 1px solid #26271f;
  }
  .app-nav { flex-direction: row; flex-wrap: wrap; }
  .app-nav a { padding: 8px 12px; font-size: 14px; }
  .app-sidebar-foot {
    margin: 0 0 0 auto;
    padding: 0;
    border: none;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .app-plan { display: none; }
  .app-pane { padding: 30px 20px 60px; }
  .form-grid, .form-grid--6 { grid-template-columns: 1fr; }
  .app-head { flex-direction: column; }
  .panel--current-plan { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .auth-card { padding: 32px 24px 28px; }
  .auth-title { font-size: 28px; }
  .acct-grid { grid-template-columns: 1fr; }
}
