/* TradeTce — site vitrine. Charte : fond clair, encre noire, bleu électrique #1d5cff → bleu nuit #0b1f5c, Inter. */
:root {
  --ink: #0a0b10; --text: #3b4458; --muted: #6b7488; --line: #e4eaf4; --bg: #ffffff; --bg2: #f5f8fd; --panel2: #eef3fb;
  --brand: #1d5cff; --navy: #0b1f5c; --brand-soft: rgba(29, 92, 255, 0.08); --long: #12a150; --short: #e0352b; --wait: #d97706;
  --radius: 18px; --shadow: 0 1px 2px rgba(11, 31, 92, 0.04), 0 12px 40px rgba(11, 31, 92, 0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--navy); margin: 0; letter-spacing: -0.02em; line-height: 1.15; }
.wrap { width: min(1160px, 100% - 40px); margin: 0 auto; }
.narrow { width: min(760px, 100% - 40px); }
.center { text-align: center; }
.eyebrow { margin: 0 0 12px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.lead { font-size: 18px; color: var(--text); margin: 18px 0 0; max-width: 560px; }
.fine { font-size: 12.5px; color: var(--muted); margin: 10px 0 0; }

/* ------------------------------------------------------------ boutons */
.btn { display: inline-flex; align-items: center; gap: 9px; height: 48px; padding: 0 22px; border-radius: 12px; font-weight: 700;
  font-size: 15px; border: 1px solid transparent; transition: transform .15s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 19px; height: 19px; fill: currentColor; }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn-brand { background: var(--brand); color: #fff; box-shadow: 0 8px 24px rgba(29, 92, 255, 0.28); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-white { background: #fff; color: var(--navy); }
.btn-outline-white { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.btn.soon { opacity: .55; cursor: default; position: relative; }
.btn.soon:hover { transform: none; }
.btn.soon::after { content: attr(data-soon); position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%);
  background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 8px; opacity: 0;
  pointer-events: none; transition: opacity .2s; }
.btn.soon:hover::after, .btn.soon:focus::after { opacity: 1; }

/* ------------------------------------------------------------ navigation */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.82); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(228, 234, 244, 0.7); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--ink); letter-spacing: -0.02em; }
.brand img { border-radius: 50%; }
.nav .brand { font-size: 23px; font-weight: 800; letter-spacing: -0.035em; }
.nav .brand i { width: 8px; height: 8px; }
.brand i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); margin-left: 2px; }
.links { display: flex; gap: 26px; margin-left: auto; font-size: 14.5px; font-weight: 600; color: var(--text); }
.links a:hover { color: var(--brand); }

/* ------------------------------------------------------------ hero */
.hero { position: relative; overflow: hidden; padding: 80px 0 40px; }
.aurora { position: absolute; inset: -20% -10% auto auto; width: 70%; height: 120%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(29, 92, 255, 0.16), transparent 70%),
              radial-gradient(closest-side at 70% 30%, rgba(11, 31, 92, 0.10), transparent 70%); filter: blur(10px); }
.hero-in { position: relative; display: grid; grid-template-columns: 1.08fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(36px, 4.4vw, 56px); font-weight: 800; letter-spacing: -0.035em; }
.hero h1 span { color: var(--brand); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.proof { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 28px 0 0; list-style: none; font-size: 13.5px;
  font-weight: 600; color: var(--muted); }
.proof li::before { content: "✓"; color: var(--long); font-weight: 800; margin-right: 7px; }
.hero-visual { position: relative; min-height: 420px; }
.shot { margin: 0; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow), 0 0 0 1px var(--line); }
.shot-pc { width: 100%; }
.shot-phone { position: absolute; right: -10px; bottom: -40px; width: 34%; border-radius: 22px; border: 6px solid var(--ink);
  box-shadow: 0 24px 60px rgba(11, 31, 92, 0.25); }

/* ------------------------------------------------------------ sections */
.section { padding: 90px 0; }
.section.alt { background: var(--bg2); }
.section h2 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; letter-spacing: -0.03em; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillars article { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.pillars .ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft);
  color: var(--brand); font-size: 14px; font-weight: 800; letter-spacing: .04em; }
.pillars h3 { margin-top: 18px; font-size: 24px; font-weight: 800; letter-spacing: -0.03em; }
.pillars p { margin: 8px 0 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.checks b { color: var(--navy); }

/* aperçu de discussion */
.chat { background: #efeae2; border-radius: 22px; padding: 0 0 18px; box-shadow: var(--shadow); overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--navy); color: #fff; }
.chat-head img { width: 36px; height: 36px; border-radius: 50%; background: #fff; }
.chat-head div { display: flex; flex-direction: column; line-height: 1.25; }
.chat-head span { font-size: 12.5px; opacity: .7; }
.msg { max-width: 82%; margin: 12px 16px 0; padding: 9px 12px; border-radius: 12px; font-size: 14px; line-height: 1.45;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06); color: #111; }
.msg b { display: block; color: var(--brand); font-size: 12.5px; margin-bottom: 2px; }
.msg.in { background: #fff; border-top-left-radius: 4px; }
.msg.out { background: #d9fdd3; margin-left: auto; border-top-right-radius: 4px; }
.chat-note { margin: 12px 16px 0; font-size: 11.5px; color: #8a8f98; text-align: center; }

/* produits */
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
.product { padding: 32px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  display: flex; flex-direction: column; align-items: flex-start; }
.product-top { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.plogo { width: 40px; height: 40px; }
.etoro { font-weight: 800; font-size: 20px; color: #13c636; letter-spacing: -0.02em; }
.tag { font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 999px; }
.tag-live { background: rgba(18, 161, 80, 0.1); color: var(--long); }
.tag-run { background: rgba(217, 119, 6, 0.1); color: var(--wait); }
.product h3 { font-size: 26px; margin-top: 20px; }
.product p { margin: 10px 0 0; }
.mini { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 9px; font-size: 14.5px; flex: 1; }
.mini li { padding-left: 22px; position: relative; }
.mini li::before { content: "→"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }

/* SetupTce en détail */
.features { display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: center; margin-top: 44px; }
.feature-shot { margin: 0; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow), 0 0 0 1px var(--line); background: #fff; }
.feature-list { display: grid; gap: 22px; }
.feature-list h4 { font-size: 18px; }
.feature-list p { margin: 6px 0 0; font-size: 15px; }

/* copytrading */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; padding-left: 46px; min-height: 32px; padding-top: 4px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 10px;
  background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.steps b { color: var(--navy); margin-right: 4px; }
.risk { background: #fff8ed; border: 1px solid #f6dfb8; border-radius: var(--radius); padding: 26px 28px; }
.risk h4 { color: #92500a; font-size: 16px; }
.risk p { font-size: 14px; margin: 10px 0 0; color: #5b4630; }

/* FAQ */
details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 22px; margin-top: 12px; }
details:first-of-type { margin-top: 40px; }
summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 700; color: var(--navy); display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--brand); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 18px; }

/* appel final */
.final { background: linear-gradient(135deg, var(--navy), #10307f 60%, var(--brand)); color: #fff; padding: 84px 0; text-align: center; }
.final-logo { width: 150px; height: 150px; margin: 0 auto 26px; border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.08), 0 20px 50px rgba(0, 0, 0, 0.3); }
.final h2 { color: #fff; font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; }
.final p { margin: 12px 0 0; font-size: 18px; color: rgba(255, 255, 255, 0.8); }
.final .cta { justify-content: center; }

/* pied de page */
.foot { padding: 44px 0 36px; border-top: 1px solid var(--line); }
.foot-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 22px; font-size: 14px; font-weight: 600; color: var(--muted); flex-wrap: wrap; }
.legal { margin: 26px 0 0; font-size: 12.5px; color: var(--muted); max-width: 900px; }
.copy { margin: 14px 0 0; font-size: 12.5px; color: var(--muted); }

/* ------------------------------------------------------------ téléphone */
@media (max-width: 900px) {
  .links { display: none; }
  .nav-in { justify-content: space-between; }
  .hero { padding: 48px 0 70px; }
  .hero-in, .split, .features, .products { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { min-height: 0; margin-right: 18px; }
  .shot-phone { width: 36%; bottom: -30px; right: -14px; border-width: 4px; border-radius: 16px; }
  .pillars { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .lead { font-size: 16.5px; }
  .product { padding: 24px; }
}
@media (max-width: 480px) {
  .btn { width: 100%; justify-content: center; }
  .nav .btn { width: auto; }
  .cta { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
