/* =====================================================================
   Session 1-1 Dubaï
   DA : funnel.onscale.partners (tokens relevés sur le site en prod)
   Structure : jeremysworkshops.com/breakthroughsession
   ===================================================================== */
:root {
  --bg: #0a0a0a;
  --surface: #131313;
  --surface-2: #181818;
  --line: #242424;
  --line-2: #2f2f2f;

  --ink: #ededed;
  --ink-dim: #9a9a9a;
  --ink-faint: #6a6a6a;

  --accent: #00C896;
  --accent-deep: #009873;
  --accent-ink: #062b22;

  --radius: 10px;
  --radius-btn: 6px;
  --max: 1120px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, video, iframe { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; color: inherit; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 760px; }

/* ===== TYPO ===== */
.eyebrow {
  display: block;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.24em; color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow.up { text-transform: uppercase; }

h1 {
  font-size: clamp(34px, 5.6vw, 72px);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.12;
  color: var(--ink); text-wrap: balance;
}
h2 {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 700; letter-spacing: -0.025em; line-height: 1.15;
  color: var(--ink); text-wrap: balance;
}
h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }

/* la signature de la DA : le passage clé en vert souligné */
.hl { color: var(--accent); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 4px; }
.hl-plain { color: var(--accent); }

.sub {
  font-size: clamp(15px, 1.9vw, 18px);
  color: var(--ink-dim); line-height: 1.65; text-wrap: balance;
}
.sub strong { color: var(--ink); font-weight: 700; }
.sub .hl-plain { font-weight: 700; }

.section { padding: 52px 0 44px; border-top: 1px solid var(--line); }
.section.tall { padding: 56px 0 62px; }
.center { text-align: center; }
.center .sub, .center h2, .center h1 { margin-left: auto; margin-right: auto; }
.section-head { max-width: 720px; margin-bottom: 34px; }
.center .section-head { margin-left: auto; margin-right: auto; }
.section-head h2 { margin-bottom: 12px; }

/* ===== HEADER ===== */
header.top { padding: 20px 0; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { font-weight: 700; font-size: 15px; letter-spacing: -0.01em; }
.brand b { color: var(--accent); font-weight: 700; }
.top-note { font-size: 12.5px; color: var(--ink-faint); letter-spacing: 0.04em; }

/* ===== BOUTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--accent); color: var(--accent-ink);
  font-size: 16px; font-weight: 600; letter-spacing: -0.005em;
  padding: 20px 56px; border: 0; border-radius: var(--radius-btn); cursor: pointer;
  box-shadow: 0 8px 28px rgba(0, 200, 150, 0.24);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(0, 200, 150, 0.32); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: 0.5; cursor: default; transform: none; box-shadow: none; }
.btn.ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--line-2); box-shadow: none; padding: 17px 40px;
}
.btn.ghost:hover { background: var(--surface); border-color: var(--ink-faint); box-shadow: none; }
.btn.block { width: 100%; padding: 19px 24px; }

.cta-row { margin-top: 30px; }
.cta-meta { margin-top: 18px; font-size: 13px; color: var(--ink-faint); letter-spacing: 0.02em; }
.cta-meta b { color: var(--ink-dim); font-weight: 600; }

/* ===== HERO ===== */
.hero { padding: 56px 0 48px; text-align: center; }
.hero h1 { max-width: 900px; margin: 0 auto 22px; }
.hero .sub { max-width: 620px; margin: 0 auto; }

/* ===== VIDÉO ===== */
.vsl { max-width: 820px; margin: 40px auto 0; }
.vsl-frame {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  display: grid; place-items: center;
}
.vsl-frame iframe, .vsl-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.vsl-frame wistia-player {
  position: absolute; inset: 0; display: block;
  width: 100%; height: 100%; padding-top: 0;
}
.vsl-ph { position: relative; z-index: 1; text-align: center; padding: 20px; }
.play {
  width: 66px; height: 66px; border-radius: 50%; background: var(--accent);
  display: grid; place-items: center; margin: 0 auto 14px; border: 0; cursor: pointer;
  box-shadow: 0 8px 28px rgba(0, 200, 150, 0.32);
  transition: transform 0.16s ease;
}
.play:hover { transform: scale(1.06); }
.play svg { width: 22px; height: 22px; fill: var(--accent-ink); margin-left: 4px; }
.play.sm { width: 44px; height: 44px; margin: 0; }
.play.sm svg { width: 15px; height: 15px; margin-left: 3px; }
.vsl-ph small { display: block; font-size: 12.5px; color: var(--ink-faint); letter-spacing: 0.06em; }

/* ===== CARTES (leviers / décorticage) ===== */
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 24px;
  transition: border-color 0.16s ease;
}
.card:hover { border-color: var(--line-2); }
.card-num { display: block; font-size: 13px; font-weight: 700; color: var(--accent); margin-bottom: 14px; }
.card h3 { margin-bottom: 9px; }
.card p { font-size: 14px; color: var(--ink-dim); line-height: 1.65; }

/* ===== SESSIONS PUBLIÉES (cartes résultat façon onscale) ===== */
.session {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color 0.16s ease;
}
.session:hover { border-color: var(--line-2); }
.session-thumb {
  position: relative; aspect-ratio: 16 / 9; background: var(--surface-2);
  border-bottom: 1px solid var(--line); display: grid; place-items: center;
}
.session-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.session-thumb[data-yt] { cursor: pointer; }
.session-thumb[data-yt]::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.32); transition: background 0.16s ease;
}
.session-thumb[data-yt]:hover::after { background: rgba(0, 0, 0, 0.18); }
.session-thumb .play { position: relative; z-index: 2; }
.session-thumb iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }
.session-thumb .ph { font-size: 12.5px; color: var(--ink-faint); }
.session-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.session-metric {
  font-size: clamp(21px, 2.4vw, 27px); font-weight: 800; letter-spacing: -0.025em;
  line-height: 1.15; margin-bottom: 10px;
}
.session-metric .hl-plain { font-weight: 800; }
.session-body p { font-size: 14px; color: var(--ink-dim); line-height: 1.65; }
.session-watch {
  display: inline-flex; align-items: center; gap: 11px;
  margin-top: 18px; font-size: 14px; font-weight: 700; color: var(--ink);
}

/* ===== LA CONTREPARTIE ===== */
.trade { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: center; }
.trade-info h2 { margin-bottom: 16px; }
.trade-info p { font-size: 15.5px; color: var(--ink-dim); line-height: 1.7; margin-bottom: 14px; }
.trade-info p strong { color: var(--ink); font-weight: 700; }
.rec {
  position: relative; aspect-ratio: 4 / 3;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); display: grid; place-items: center;
}
.rec-label { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: 0.2em; color: var(--accent); }
.rec-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); flex: none; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.rec-corner { position: absolute; width: 26px; height: 26px; border: 1px solid var(--line-2); }
.rec-corner.tl { top: 16px; left: 16px; border-right: 0; border-bottom: 0; }
.rec-corner.br { bottom: 16px; right: 16px; border-left: 0; border-top: 0; }
.rec-caption { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; font-size: 12px; color: var(--ink-faint); }

/* ===== LES DÉTAILS ===== */
.details { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.row {
  display: grid; grid-template-columns: 190px 1fr; gap: 24px;
  padding: 22px 2px; border-bottom: 1px solid var(--line); align-items: baseline;
}
.row .k { font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); }
.row .v { font-size: 18px; font-weight: 700; letter-spacing: -0.015em; }
.row .note { display: block; margin-top: 6px; font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--ink-dim); line-height: 1.6; }

/* ===== CANDIDATURE ===== */
.apply {
  max-width: 560px; margin: 38px auto 0; text-align: left;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px;
}
.apply h3 { font-size: 18px; margin-bottom: 4px; }
.apply .apply-sub { font-size: 13px; color: var(--ink-faint); margin-bottom: 22px; }

.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field > label { font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em; color: var(--ink-dim); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 15px; font-size: 15px;
  background: var(--bg); border: 1px solid var(--line-2);
  border-radius: var(--radius-btn); color: var(--ink); outline: none;
  transition: border-color 0.15s ease;
}
.field textarea { resize: vertical; min-height: 92px; line-height: 1.55; }
.field select {
  appearance: none; cursor: pointer; padding-right: 40px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%239a9a9a' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center; background-size: 10px;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.field .err { font-size: 12px; color: #ff6b5c; min-height: 1em; display: none; }
.field.has-error .err { display: block; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #ff6b5c; }

.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* case à cocher — la contrepartie doit être consentie explicitement */
.field.consent { margin-top: 2px; }
.field label.check {
  display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start;
  cursor: pointer; padding: 14px 15px; border-radius: var(--radius-btn);
  background: var(--bg); border: 1px solid var(--line-2);
  font-size: 14px; font-weight: 400; letter-spacing: 0; line-height: 1.55; color: var(--ink-dim);
  transition: border-color 0.15s ease;
}
.field label.check:hover { border-color: var(--ink-faint); }
.field label.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.field label.check .box {
  width: 19px; height: 19px; border-radius: 4px; margin-top: 1px; flex: none;
  border: 1px solid var(--line-2); background: var(--surface);
  display: grid; place-items: center;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.field label.check .box::after {
  content: ''; width: 9px; height: 5px; margin-top: -3px;
  border-left: 2px solid var(--accent-ink); border-bottom: 2px solid var(--accent-ink);
  transform: rotate(-45deg); opacity: 0; transition: opacity 0.14s ease;
}
.field label.check input:checked ~ .box { background: var(--accent); border-color: var(--accent); }
.field label.check input:checked ~ .box::after { opacity: 1; }
.field label.check input:focus-visible ~ .box { outline: 2px solid var(--accent); outline-offset: 2px; }
.field label.check .txt strong { color: var(--ink); font-weight: 700; }
.field.consent.has-error label.check { border-color: #ff6b5c; }

.form .btn { margin-top: 6px; }
.form-status { margin-top: 12px; font-size: 14px; text-align: center; min-height: 18px; color: var(--ink-dim); }
.form-status.ko { color: #ff6b5c; }
.form-legal { margin-top: 14px; font-size: 11.5px; line-height: 1.6; color: var(--ink-faint); text-align: center; }

.thanks { display: none; text-align: center; }
.thanks.on { display: block; }
.thanks h3 { font-size: 19px; margin-bottom: 10px; }
.thanks p { font-size: 15px; color: var(--ink-dim); line-height: 1.65; }

/* ===== FOOTER ===== */
footer.site { padding: 40px 0; text-align: center; border-top: 1px solid var(--line); }
footer.site .legal { max-width: 640px; margin: 0 auto 14px; font-size: 11.5px; line-height: 1.65; color: var(--ink-faint); opacity: 0.8; }
footer.site .copy { font-size: 12px; color: var(--ink-faint); letter-spacing: 0.04em; }

.ns-warning {
  background: var(--surface); border: 1px solid var(--line-2);
  border-radius: var(--radius-btn); padding: 14px 16px; margin-top: 20px;
  font-size: 14px; color: var(--ink-dim);
}

.nb { white-space: nowrap; }

/* ===== RESPONSIVE ===== */
@media (max-width: 940px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .trade { grid-template-columns: 1fr; gap: 32px; }
  .rec { max-width: 380px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; gap: 6px; }
  .row-2 { grid-template-columns: 1fr; }
  .btn { padding: 18px 34px; width: 100%; }
  .btn.ghost { width: 100%; }
  .apply { padding: 24px 20px; }
  .top-note { display: none; }
}
