/* ═══════════════════════════════════════════════════════════════════
   CapitalLink · Design Tokens v0.3
   Direction : Bitstack-clone fidèle, OR signature CapitalLink
   = fond or saturé · mockup blanc plat · hexagones noirs flottants
   ═══════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800;900&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap');

:root {
  /* ─── OR (équivalent du bleu Bitstack #4B5BFB) ─── */
  --gold:        #C9A961;
  --gold-light:  #D4B373;
  --gold-bg:     #B8985A;   /* fond marketing saturé */
  --gold-deep:   #A8884E;
  --gold-dark:   #6B5026;
  --gold-pale:   #F0E4C5;
  --gold-tint:   #F8F3E5;   /* tint dans le mockup blanc */

  /* ─── NOIR (équivalent orange Bitcoin → pièces hexagones) ─── */
  --black:       #000000;
  --ink:         #0A0A0A;
  --ink-soft:    #1A1A1A;
  --ink-mute:    #4A4A4A;
  --ink-faint:   #8A8A8A;

  /* ─── BLANC / CRÈME ─── */
  --white:       #FFFFFF;
  --cream:       #F5F1EA;
  --cream-pure:  #FBF8F1;

  /* ─── LIGNES ─── */
  --line:        #ECE6D6;
  --line-soft:   #F3EEDC;

  /* ─── SÉMANTIQUE ─── */
  --positive:    #2EA043;
  --positive-bg: rgba(46,160,67,0.12);
  --negative:    #D14343;

  /* ─── TYPOGRAPHIE ─── */
  --font-display: 'Manrope', system-ui, sans-serif;   /* titres marketing massifs comme Bitstack */
  --font-body:    'Manrope', system-ui, sans-serif;
  --font-serif:   'Cormorant Garamond', 'EB Garamond', Garamond, Georgia, serif;  /* italique private banking */

  /* ─── DIMENSIONS IPHONE 6.7" ─── */
  --iphone-w:    1290px;
  --iphone-h:    2796px;

  /* ─── OMBRES ─── */
  --shadow-md:   0 12px 32px rgba(10,10,10,0.12);
  --shadow-lg:   0 30px 80px rgba(10,10,10,0.25);
  --shadow-xl:   0 60px 120px rgba(10,10,10,0.35);
  --shadow-gold: 0 20px 60px rgba(184,152,90,0.45);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: var(--font-body);
  background: var(--ink-soft);
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── INDEX : COVER ─── */
.cover {
  text-align: center;
  padding: 100px 24px 70px;
  border-bottom: 1px solid rgba(201,169,97,0.15);
}
.cover .mark { width: 88px; height: 88px; margin: 0 auto 36px; }
.cover h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 56px;
  letter-spacing: -0.035em;
  color: var(--cream);
  line-height: 1.05;
}
.cover h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
}
.cover .tagline {
  margin-top: 18px;
  font-size: 18px;
  color: rgba(245,241,234,0.7);
}
.cover .tagline .accent { color: var(--gold); }
.cover .desc {
  margin: 36px auto 0;
  max-width: 720px;
  color: rgba(245,241,234,0.5);
  font-size: 15px;
  line-height: 1.65;
}
.cover .meta-row {
  margin-top: 40px;
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.meta-chip {
  padding: 10px 22px;
  border: 1px solid rgba(201,169,97,0.3);
  border-radius: 100px;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  background: rgba(201,169,97,0.04);
}

/* ─── INDEX : SECTIONS ─── */
.section-bar {
  display: flex;
  align-items: baseline;
  gap: 28px;
  margin: 80px auto 8px;
  max-width: 1500px;
  padding: 0 32px;
}
.section-bar .num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 30px;
  color: var(--gold);
  font-weight: 500;
}
.section-bar h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -0.025em;
}
.section-bar .line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(201,169,97,0.3), transparent);
}
.section-bar .count {
  font-size: 12px;
  color: rgba(245,241,234,0.45);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
}
.section-sub {
  max-width: 800px;
  padding: 0 32px;
  margin: 0 auto 48px;
  color: rgba(245,241,234,0.5);
  font-size: 15px;
  line-height: 1.7;
}
.section { max-width: 1500px; margin: 0 auto; padding: 0 32px 40px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 36px;
}
.screen-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1);
}
.screen-card:not([data-empty]):hover { transform: translateY(-8px); }
.screen-card .frame {
  width: 100%;
  aspect-ratio: 1290 / 2796;
  border-radius: 38px;
  overflow: hidden;
  position: relative;
  background: var(--ink);
  box-shadow: var(--shadow-lg);
}
.screen-card iframe {
  width: 1290px;
  height: 2796px;
  border: 0;
  transform-origin: top left;
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}
.screen-card .empty-frame {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(245,241,234,0.25);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
}
.screen-card[data-empty] { opacity: 0.55; cursor: default; }
.screen-card .label { margin-top: 20px; text-align: center; }
.screen-card .label .n {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
}
.screen-card .label .t {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--cream);
  margin-top: 6px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.foot {
  border-top: 1px solid rgba(201,169,97,0.15);
  margin-top: 60px;
  padding: 60px 24px 80px;
  text-align: center;
  color: rgba(245,241,234,0.5);
  font-size: 13px;
}
.foot .mark { width: 42px; height: 42px; margin: 0 auto 18px; }

/* ═══════════════════════════════════════════════════════════════════
   COMPOSANTS PARTAGÉS ÉCRANS — direction Bitstack
   ═══════════════════════════════════════════════════════════════════ */

.screen {
  width: var(--iphone-w);
  min-height: var(--iphone-h);
  position: relative;
  overflow: hidden;
  font-family: var(--font-body);
}

/* Fond or marketing (équivalent fond bleu Bitstack) */
.screen.bg-gold {
  background:
    radial-gradient(circle at 30% 20%, var(--gold) 0%, var(--gold-bg) 60%, var(--gold-deep) 100%);
}

/* Notch / Dynamic Island */
.notch {
  position: absolute;
  top: 56px; left: 50%;
  transform: translateX(-50%);
  width: 390px; height: 116px;
  background: #000;
  border-radius: 62px;
  z-index: 100;
}

/* Status bar */
.statusbar {
  position: absolute;
  top: 78px; left: 100px; right: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 99;
  font-size: 50px;
  font-weight: 600;
}
.statusbar.dark   { color: var(--ink); }
.statusbar.light  { color: var(--white); }
.statusbar .icons { display: flex; gap: 16px; align-items: center; }
.statusbar .icons svg { width: 52px; height: 52px; }

/* Logo CapitalLink (utilisé en haut des slides marketing) */
.cl-logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.cl-logo-mark { width: 100px; height: 100px; }
.cl-logo-text {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 88px;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--white);
}
.cl-logo-text .link { color: var(--ink); font-weight: 500; }
