/* ================================================================
   OPTIONS TRADING TOOLS — Feuille de styles partagée
   Design system : navy #1a1a2e/#0f2744 · blue #1a84cf/#5bb8f5 · orange #f97316
   ================================================================ */

/* ── Reset & base ── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;
  background:#fff;
  color:#334155;
  line-height:1.65;
}
a { text-decoration:none; color:inherit; }
img { max-width:100%; display:block; }

/* ── Variables ── */
:root {
  --navy-dark: #0f2744;
  --navy:      #1a1a2e;
  --blue:      #1a84cf;
  --blue-light:#5bb8f5;
  --orange:    #f97316;
  --slate:     #334155;
  --muted:     #607080;
  --pale:      #90b8d4;
  --border:    #e2e8f0;
  --bg-light:  #f0f4f8;
  --max-w:     1240px;
}

/* ════════════════════════════════════════
   NAVIGATION
   ════════════════════════════════════════ */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--navy);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  border-bottom: 2px solid rgba(26,132,207,.25);
}
.nav-logo {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}
.nav-logo em { color: var(--blue-light); font-style: normal; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: var(--pale);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .5px;
  transition: color .2s;
}
.nav-links a:hover,
.nav-links a.active { color: #fff; }

.nav-cta {
  background: var(--orange);
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 8px;
  transition: opacity .2s;
}
.nav-cta:hover { opacity: .88; }

/* Hamburger (mobile) */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--pale);
  border-radius: 2px;
  transition: .3s;
}

/* ════════════════════════════════════════
   HERO
   ════════════════════════════════════════ */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 96px 80px 80px;
  text-align: center;
}
.hero-tag {
  display: inline-block;
  background: rgba(26,132,207,.15);
  border: 1px solid var(--blue);
  color: var(--blue-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 28px;
}
.hero h1 {
  color: #fff;
  font-size: 44px;
  font-weight: 800;
  line-height: 1.2;
  max-width: 920px;
  margin: 0 auto 22px;
}
.hero h1 span { color: var(--orange); }
.hero-sub {
  color: var(--pale);
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 44px;
  line-height: 1.7;
}
.hero-cta {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  padding: 18px 52px;
  border-radius: 10px;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(249,115,22,.35);
}
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(249,115,22,.45); }
.hero-note { color: #C4BFBE; font-size: 13px; margin-top: 14px; }

/* ════════════════════════════════════════
   SECTION UTILITIES
   ════════════════════════════════════════ */
.section { padding: 80px 40px; }
.section-dark { background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%); }
.section-light { background: var(--bg-light); }
.section-white { background: #fff; }

.inner { max-width: var(--max-w); margin: 0 auto; }

.sec-head { text-align: center; margin-bottom: 56px; }
.sec-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.sec-tag.blue  { background: rgba(26,132,207,.1);  color: var(--blue); }
.sec-tag.light { background: rgba(255,255,255,.1); color: var(--blue-light); }
.sec-tag.orange{ background: rgba(249,115,22,.1);  color: var(--orange); }

.sec-head h2        { font-size: 32px; font-weight: 700; color: #1a1a2e; line-height: 1.3; }
.sec-head h2.light  { color: #fff; }
.sec-head p         { color: var(--muted); font-size: 16px; margin-top: 12px; max-width: 750px; margin-left: auto; margin-right: auto; }
.sec-head p.light   { color: var(--pale); }

/* ════════════════════════════════════════
   CARDS GRILLE 3 colonnes
   ════════════════════════════════════════ */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }

.card {
  background: #fff;
  border-radius: 14px;
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: box-shadow .25s;
}
.card:hover { box-shadow: 0 6px 28px rgba(0,0,0,.09); }
.card-top { border-top: 3px solid var(--blue); }
.card-icon { font-size: 30px; margin-bottom: 14px; }
.card h3 { color: #1a1a2e; font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.card p  { color: var(--muted); font-size: 15px; line-height: 1.7; }

/* Dark card */
.card-dark {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(91,184,245,.18);
  border-radius: 14px;
  padding: 32px 28px;
}
.card-dark h3 { color: #fff; font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.card-dark p  { color: var(--pale); font-size: 15px; line-height: 1.7; }

/* ════════════════════════════════════════
   SOURCE CARDS
   ════════════════════════════════════════ */
.src-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.src-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: box-shadow .25s;
}
.src-card:hover { box-shadow: 0 4px 24px rgba(0,0,0,.08); }
.src-card.wide { grid-column: 1/-1; border-color: var(--blue); background: rgba(26,132,207,.03); }
.src-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.src-card h3 { color: #1a1a2e; font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.src-card p  { color: var(--muted); font-size: 14px; line-height: 1.7; }
.src-badge {
  display: inline-block;
  font-size: 10px; font-weight: 700;
  padding: 3px 10px; border-radius: 10px;
  margin-top: 10px;
  text-transform: uppercase; letter-spacing: .5px;
}
.badge-ml  { background: #e0f2fe; color: #0369a1; }
.badge-ia  { background: #fef3c7; color: #92400e; }
.badge-bt  { background: #f0fdf4; color: #166534; }
.badge-mix { background: #faf5ff; color: #6b21a8; }

/* ════════════════════════════════════════
   LAYOUT 2 colonnes (texte | visuel)
   ════════════════════════════════════════ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }

/* ════════════════════════════════════════
   STATISTIQUES
   ════════════════════════════════════════ */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
  padding: 56px 40px;
  background: var(--navy);
  border-top: 2px solid rgba(26,132,207,.2);
  border-bottom: 2px solid rgba(26,132,207,.2);
}
.stat { text-align: center; }
.stat-val { font-size: 44px; font-weight: 900; color: var(--orange); line-height: 1; }
.stat-lbl { font-size: 13px; color: var(--pale); margin-top: 6px; letter-spacing: .5px; }

/* ════════════════════════════════════════
   TARIFS
   ════════════════════════════════════════ */
.pricing-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 28px; max-width: 860px; margin: 0 auto; }
.pricing-card {
  border-radius: 16px;
  padding: 40px 36px;
  border: 1px solid rgba(91,184,245,.25);
  background: rgba(255,255,255,.05);
  text-align: center;
  position: relative;
}
.pricing-card.featured {
  border-color: var(--orange);
  background: rgba(249,115,22,.06);
}
.pricing-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--orange); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  padding: 4px 18px; border-radius: 20px; text-transform: uppercase;
}
.pricing-label { color: var(--blue-light); font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 14px; }
.pricing-price { font-size: 52px; font-weight: 900; color: #fff; line-height: 1; }
.pricing-price sup { font-size: 24px; vertical-align: top; margin-top: 10px; }
.pricing-price sub { font-size: 16px; color: var(--pale); font-weight: 400; }
.pricing-promo { color: var(--pale); font-size: 13px; margin: 10px 0 24px; }
.pricing-promo s { color: #607080; }
.pricing-features { list-style: none; text-align: left; margin-bottom: 32px; display: flex; flex-direction: column; gap: 12px; }
.pricing-features li { display: flex; gap: 10px; color: var(--pale); font-size: 14px; line-height: 1.5; }
.pricing-features li::before { content: '✓'; color: var(--orange); font-weight: 700; flex-shrink: 0; }
.pricing-btn {
  display: block;
  background: var(--orange);
  color: #fff;
  font-size: 16px; font-weight: 700;
  padding: 16px 32px; border-radius: 10px;
  transition: opacity .2s;
}
.pricing-btn:hover { opacity: .88; }
.pricing-btn.outline {
  background: transparent;
  border: 2px solid rgba(91,184,245,.4);
  color: var(--blue-light);
}
.pricing-btn.outline:hover { border-color: var(--blue-light); }

/* ════════════════════════════════════════
   PORTFOLIO IA
   ════════════════════════════════════════ */
.portfolio-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.portfolio-text h2 { color: #fff; font-size: 28px; font-weight: 700; line-height: 1.3; margin-bottom: 18px; }
.portfolio-text h2 span { color: var(--orange); }
.portfolio-text > p { color: var(--pale); font-size: 15px; line-height: 1.75; margin-bottom: 22px; }
.pf-features { display: flex; flex-direction: column; gap: 16px; }
.pf-feat { display: flex; gap: 12px; align-items: flex-start; }
.pf-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex-shrink: 0; margin-top: 7px; }
.pf-feat p { color: var(--pale); font-size: 15px; line-height: 1.65; margin: 0; }
.pf-feat strong { color: #fff; }

.portfolio-visual {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(91,184,245,.15);
  border-radius: 14px;
  padding: 32px;
}
.pv-title { color: var(--blue-light); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 22px; }
.pv-val { font-size: 14px; font-weight: 700; }
.pv-green { color: #4ade80; }
.pv-red { color: #f87171; }
.pv-ratio { opacity: .75; font-size: 12px; font-weight: 400; }

/* Camemberts */
.pv-charts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.08); }
.pv-chart-block { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.pv-chart-label { color: var(--blue-light); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; text-align: center; }
.pv-donut { width: 82px; height: 82px; border-radius: 50%; flex-shrink: 0; }
.pv-legend { display: flex; flex-direction: column; gap: 4px; width: 100%; }
.pv-leg-row { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--muted); }
.pv-leg-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

/* Grecs */
.pv-greeks-title { color: var(--blue-light); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.pv-greek { padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.pv-greek:last-child { border-bottom: none; }
.pv-greek-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 5px; }
.pv-greek-name { color: var(--muted); font-size: 13px; }
.pv-greek-note { color: #455068; font-size: 10px; font-style: italic; margin-left: 4px; }
.pv-greek-bar { height: 4px; background: rgba(255,255,255,.06); border-radius: 2px; overflow: hidden; }

/* ════════════════════════════════════════
   SCROLL ANIMATIONS
   ════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateX(-48px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.from-right { transform: translateX(48px); }
.reveal.from-bottom { transform: translateY(36px); }
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Délais pour les grilles */
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }

/* ════════════════════════════════════════
   BIO — Qui suis-je
   ════════════════════════════════════════ */
.bio-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  gap: 48px;
  align-items: flex-start;
}
.bio-photo {
  width: 200px; height: 200px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 3px solid var(--blue);
  overflow: hidden;
  background: var(--border);
}
.bio-photo img { width: 100%; height: 100%; object-fit: cover; }
.bio-text h2 { color: #1a1a2e; font-size: 22px; font-weight: 700; margin-bottom: 16px; }
.bio-text p { color: #334155; font-size: 15px; line-height: 1.8; margin-bottom: 14px; }
.bio-text p:last-child { margin-bottom: 0; }
.bio-text strong { color: #1a1a2e; }

/* ════════════════════════════════════════
   TÉMOIGNAGES
   ════════════════════════════════════════ */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.testi-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 30px;
}
.testi-body {
  color: #334155;
  font-size: 15px;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 18px;
}
.testi-body::before {
  content: '"';
  color: var(--blue);
  font-size: 32px;
  line-height: 0;
  vertical-align: -12px;
  margin-right: 4px;
}
.testi-author strong { color: #1a1a2e; font-size: 15px; display: block; }
.testi-author span { color: #94a3b8; font-size: 13px; }

/* ════════════════════════════════════════
   BOUTONS GÉNÉRIQUES
   ════════════════════════════════════════ */
.btn {
  display: inline-block;
  font-size: 15px; font-weight: 700;
  padding: 14px 36px; border-radius: 10px;
  transition: transform .2s, box-shadow .2s, opacity .2s;
  cursor: pointer;
}
.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 4px 16px rgba(249,115,22,.3); }
.btn-orange:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(249,115,22,.4); }
.btn-outline { border: 2px solid rgba(91,184,245,.4); color: var(--blue-light); }
.btn-outline:hover { border-color: var(--blue-light); }

/* ════════════════════════════════════════
   FORMULAIRE CONTACT
   ════════════════════════════════════════ */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; color: var(--pale); font-size: 13px; font-weight: 600; margin-bottom: 8px; letter-spacing: .5px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(91,184,245,.25);
  border-radius: 10px;
  padding: 14px 16px;
  color: #fff;
  font-size: 15px;
  font-family: inherit;
  transition: border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--blue); }
.form-group textarea { min-height: 140px; resize: vertical; }

/* ════════════════════════════════════════
   TABLEAU PERFORMANCES
   ════════════════════════════════════════ */
.perf-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.perf-table th {
  background: rgba(26,132,207,.15);
  color: var(--blue-light);
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 12px 16px; text-align: left;
}
.perf-table td { padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.06); color: var(--pale); }
.perf-table tr:hover td { background: rgba(255,255,255,.03); }
.perf-table .positive { color: #4ade80; font-weight: 700; }
.perf-table .negative { color: #f87171; font-weight: 700; }
.perf-table .neutral  { color: var(--pale); }

/* ════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════ */
.footer {
  background: #080f1d;
  padding: 56px 40px 32px;
  color: var(--muted);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand { font-size: 13px; font-weight: 700; letter-spacing: 2px; color: #fff; text-transform: uppercase; margin-bottom: 14px; }
.footer-brand em { color: var(--blue-light); font-style: normal; }
.footer p { font-size: 14px; line-height: 1.7; color: #4a5568; }
.footer-col h4 { color: var(--pale); font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { color: #4a5568; font-size: 14px; transition: color .2s; }
.footer-col ul a:hover { color: var(--pale); }
.footer-bottom {
  border-top: 1px solid #1a2030;
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: #2d3748;
}

/* ════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════ */
@media (max-width: 900px) {
  .nav { padding: 0 20px; }
  .nav-links { display: none; flex-direction: column; position: fixed; top: 64px; left: 0; width: 100%; background: var(--navy); padding: 24px 28px; gap: 20px; z-index: 199; border-bottom: 2px solid rgba(26,132,207,.2); }
  .nav-links.open { display: flex; }
  .nav-burger { display: flex; }

  .hero { padding: 64px 24px 56px; }
  .hero h1 { font-size: 28px; }
  .hero-sub { font-size: 16px; }

  .section { padding: 56px 24px; }

  .grid-3, .grid-2, .src-grid, .split, .portfolio-inner,
  .testi-grid, .pricing-grid, .footer-inner { grid-template-columns: 1fr; }

  .bio-inner { flex-direction: column; align-items: center; text-align: center; }

  .split.reverse { direction: ltr; }

  .src-card.wide { grid-column: auto; }

  .stats-bar { gap: 36px; padding: 40px 24px; }
  .stat-val { font-size: 32px; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 24px; }
  .hero-cta { padding: 16px 36px; font-size: 16px; }
  .pricing-card { padding: 32px 24px; }
}
