/* ================================================================
   BTS LANDING PAGE — styles complets
   ================================================================ */

/* ── Variables par BTS (injectées inline via PHP) ── */
.bts-page { --bts-color: #1D4ED8; --bts-light: #DBEAFE; --bts-dark: #1e3a8a; }

/* ── Hero ─────────────────────────────────────────────────────── */
.bts-hero {
  background: linear-gradient(135deg, var(--bts-dark,#1e3a8a) 0%, var(--bts-color,#1D4ED8) 60%, #3b82f6 100%);
  color: #fff;
  padding: 72px 0 56px;
  position: relative;
  overflow: hidden;
}
.bts-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.bts-hero .container { position: relative; z-index: 1; }
.bts-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.bts-hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 8px;
}
.bts-hero-subtitle {
  font-size: 1.2rem;
  opacity: .85;
  margin: 0 0 24px;
  font-weight: 400;
}
.bts-hero-tagline {
  font-size: 1.05rem;
  opacity: .9;
  max-width: 620px;
  margin: 0 0 32px;
  line-height: 1.6;
}
.bts-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}
.bts-stat-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50px;
  padding: 8px 18px;
  font-size: .88rem;
  font-weight: 600;
}
.bts-stat-pill svg { width: 15px; height: 15px; opacity: .8; flex-shrink: 0; }
.bts-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.bts-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--bts-color,#1D4ED8);
  border: none;
  border-radius: 8px;
  padding: 13px 24px;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 4px 14px rgba(0,0,0,.2);
}
.bts-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.bts-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.5);
  border-radius: 8px;
  padding: 11px 22px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s, border-color .15s;
}
.bts-btn-ghost:hover { background: rgba(255,255,255,.15); border-color: #fff; }

/* ── Anchor nav (sticky) ─────────────────────────────────────── */
.bts-anchor-nav {
  background: #fff;
  border-bottom: 2px solid #f1f5f9;
  position: sticky;
  top: 64px;
  z-index: 90;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.bts-anchor-nav .container { overflow-x: auto; }
.bts-anchor-list {
  display: flex;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}
.bts-anchor-list a {
  display: block;
  padding: 14px 20px;
  font-size: .88rem;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: color .2s, border-color .2s;
}
.bts-anchor-list a:hover,
.bts-anchor-list a.active {
  color: var(--bts-color,#1D4ED8);
  border-bottom-color: var(--bts-color,#1D4ED8);
}

/* ── Content sections ────────────────────────────────────────── */
.bts-section { padding: 72px 0; }
.bts-section:nth-child(even) { background: #f8fafc; }
.bts-section-label {
  display: inline-block;
  background: var(--bts-light,#DBEAFE);
  color: var(--bts-dark,#1e3a8a);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.bts-section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 10px;
  line-height: 1.2;
}
.bts-section-lead {
  font-size: 1.05rem;
  color: #475569;
  margin: 0 0 40px;
  max-width: 620px;
  line-height: 1.7;
}

/* ── Présentation ───────────────────────────────────────────── */
.bts-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media(max-width:768px) { .bts-intro-grid { grid-template-columns: 1fr; gap: 32px; } }
.bts-intro-text { font-size: 1rem; color: #334155; line-height: 1.8; }
.bts-intro-text p { margin: 0 0 18px; }
.bts-info-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
}
.bts-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: .9rem;
}
.bts-info-row:last-child { border-bottom: none; padding-bottom: 0; }
.bts-info-label { color: #64748b; font-weight: 500; }
.bts-info-value { font-weight: 700; color: #0f172a; }
.bts-badge-alt { background: #dcfce7; color: #15803d; border-radius: 20px; padding: 2px 10px; font-size: .8rem; }
.bts-qualites-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bts-qualites-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .92rem;
  color: #334155;
}
.bts-qualites-list li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--bts-light,#DBEAFE);
  color: var(--bts-color,#1D4ED8);
  border-radius: 50%;
  font-size: .75rem;
  font-weight: 900;
  flex-shrink: 0;
}

/* ── Programme ──────────────────────────────────────────────── */
.bts-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 32px;
}
.bts-tab-btn {
  padding: 12px 28px;
  font-size: .95rem;
  font-weight: 700;
  border: none;
  background: none;
  color: #64748b;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color .2s, border-color .2s;
}
.bts-tab-btn.active {
  color: var(--bts-color,#1D4ED8);
  border-bottom-color: var(--bts-color,#1D4ED8);
}
.bts-tab-panel { display: none; }
.bts-tab-panel.active { display: block; }
.bts-subjects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.bts-subject-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  transition: box-shadow .2s, transform .2s;
}
.bts-subject-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); transform: translateY(-2px); }
.bts-subject-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}
.bts-subject-name { font-weight: 700; color: #0f172a; font-size: .95rem; flex: 1; }
.bts-subject-hours {
  background: var(--bts-light,#DBEAFE);
  color: var(--bts-color,#1D4ED8);
  border-radius: 20px;
  padding: 2px 10px;
  font-size: .78rem;
  font-weight: 700;
  white-space: nowrap;
  margin-left: 8px;
}
.bts-subject-desc { font-size: .83rem; color: #64748b; line-height: 1.5; margin: 0; }

/* ── Épreuves ────────────────────────────────────────────────── */
.bts-epreuves-table { width: 100%; border-collapse: collapse; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 16px rgba(0,0,0,.06); }
.bts-epreuves-table thead tr { background: var(--bts-color,#1D4ED8); color: #fff; }
.bts-epreuves-table th { padding: 14px 18px; text-align: left; font-size: .85rem; font-weight: 700; letter-spacing: .04em; }
.bts-epreuves-table td { padding: 14px 18px; font-size: .9rem; border-bottom: 1px solid #f1f5f9; }
.bts-epreuves-table tbody tr { background: #fff; transition: background .15s; }
.bts-epreuves-table tbody tr:hover { background: #f8fafc; }
.bts-epreuve-code { font-weight: 800; color: var(--bts-color,#1D4ED8); font-size: .85rem; }
.bts-coeff-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  background: var(--bts-color,#1D4ED8);
  color: #fff;
  border-radius: 50%;
  font-weight: 800;
  font-size: .88rem;
}
.bts-type-ecrit { background: #eff6ff; color: #1d4ed8; border-radius: 20px; padding: 3px 10px; font-size: .78rem; font-weight: 600; }
.bts-type-oral { background: #f0fdf4; color: #15803d; border-radius: 20px; padding: 3px 10px; font-size: .78rem; font-weight: 600; }
.bts-type-pratique { background: #fff7ed; color: #c2410c; border-radius: 20px; padding: 3px 10px; font-size: .78rem; font-weight: 600; }
.bts-coeff-note {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 20px;
  margin-top: 20px;
  font-size: .85rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ── Débouchés ──────────────────────────────────────────────── */
.bts-careers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.bts-career-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 24px;
  border-top: 4px solid var(--bts-color,#1D4ED8);
  transition: box-shadow .2s, transform .2s;
}
.bts-career-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.1); transform: translateY(-3px); }
.bts-career-title { font-weight: 800; color: #0f172a; font-size: 1rem; margin: 0 0 6px; }
.bts-career-salary { color: #16a34a; font-weight: 700; font-size: .88rem; margin: 0 0 12px; }
.bts-career-companies { font-size: .8rem; color: #64748b; line-height: 1.5; margin: 0; }
.bts-poursuites-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.bts-poursuite-tag {
  background: var(--bts-light,#DBEAFE);
  color: var(--bts-dark,#1e3a8a);
  border-radius: 20px;
  padding: 7px 16px;
  font-size: .85rem;
  font-weight: 600;
}

/* ── Fiches de révision (lead capture) ──────────────────────── */
.bts-fiches-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
  padding: 72px 0;
}
.bts-fiches-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media(max-width:768px) { .bts-fiches-grid { grid-template-columns: 1fr; gap: 36px; } }
.bts-fiches-title { font-size: clamp(1.6rem,3vw,2.2rem); font-weight: 800; margin: 0 0 16px; line-height: 1.2; }
.bts-fiches-lead { font-size: 1rem; opacity: .8; margin: 0 0 28px; line-height: 1.7; }
.bts-fiches-perks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.bts-fiches-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .92rem;
  opacity: .9;
}
.bts-fiches-perks li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  background: #10b981;
  border-radius: 50%;
  font-size: .7rem;
  font-weight: 900;
  flex-shrink: 0;
}
.bts-lead-form {
  background: #fff;
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 16px 48px rgba(0,0,0,.3);
}
.bts-lead-form h3 { font-size: 1.2rem; font-weight: 800; color: #0f172a; margin: 0 0 4px; }
.bts-lead-form p { font-size: .85rem; color: #64748b; margin: 0 0 24px; }
.bts-lead-field { margin-bottom: 14px; }
.bts-lead-field label { display: block; font-size: .83rem; font-weight: 600; color: #374151; margin-bottom: 5px; }
.bts-lead-field input,
.bts-lead-field select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: .9rem;
  color: #0f172a;
  background: #f8fafc;
  transition: border-color .15s, box-shadow .15s;
  box-sizing: border-box;
}
.bts-lead-field input:focus,
.bts-lead-field select:focus {
  outline: none;
  border-color: var(--bts-color,#1D4ED8);
  box-shadow: 0 0 0 3px rgba(29,78,216,.12);
  background: #fff;
}
.bts-lead-submit {
  width: 100%;
  padding: 14px;
  background: var(--bts-color,#1D4ED8);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s, transform .15s;
  margin-top: 6px;
}
.bts-lead-submit:hover { background: var(--bts-dark,#1e3a8a); transform: translateY(-1px); }
.bts-lead-feedback { font-size: .83rem; margin-top: 10px; text-align: center; min-height: 20px; }
.bts-lead-feedback.success { color: #16a34a; }
.bts-lead-feedback.error { color: #dc2626; }
.bts-lead-rgpd { font-size: .72rem; color: #94a3b8; text-align: center; margin-top: 12px; }

/* ── Quiz ────────────────────────────────────────────────────── */
.bts-quiz-wrap {
  max-width: 680px;
  margin: 0 auto;
}
.bts-quiz-progress {
  display: flex;
  gap: 6px;
  margin-bottom: 28px;
}
.bts-quiz-step {
  flex: 1;
  height: 4px;
  background: #e2e8f0;
  border-radius: 2px;
  transition: background .3s;
}
.bts-quiz-step.done { background: var(--bts-color,#1D4ED8); }
.bts-quiz-step.active { background: var(--bts-color,#1D4ED8); opacity: .5; }
.bts-quiz-question {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
}
.bts-quiz-q-num { font-size: .8rem; color: #94a3b8; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.bts-quiz-q-text { font-size: 1.1rem; font-weight: 700; color: #0f172a; margin: 0 0 24px; line-height: 1.5; }
.bts-quiz-answers { display: flex; flex-direction: column; gap: 10px; }
.bts-quiz-answer {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 18px;
  cursor: pointer;
  font-size: .92rem;
  color: #334155;
  font-weight: 500;
  transition: border-color .15s, background .15s, transform .1s;
}
.bts-quiz-answer:hover { border-color: var(--bts-color,#1D4ED8); background: var(--bts-light,#DBEAFE); transform: translateX(4px); }
.bts-quiz-answer.selected { border-color: var(--bts-color,#1D4ED8); background: var(--bts-light,#DBEAFE); color: var(--bts-dark,#1e3a8a); }
.bts-quiz-answer-letter {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bts-color,#1D4ED8);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  font-weight: 800;
  flex-shrink: 0;
}
.bts-quiz-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
}
.bts-quiz-next {
  padding: 11px 24px;
  background: var(--bts-color,#1D4ED8);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  font-size: .9rem;
  transition: background .15s;
}
.bts-quiz-next:disabled { opacity: .4; cursor: not-allowed; }
.bts-quiz-next:not(:disabled):hover { background: var(--bts-dark,#1e3a8a); }
.bts-quiz-result { display: none; }
.bts-quiz-result.visible { display: block; }
.bts-quiz-score-circle {
  width: 100px; height: 100px;
  border-radius: 50%;
  border: 6px solid var(--bts-color,#1D4ED8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--bts-color,#1D4ED8);
}
.bts-quiz-score-label { font-size: .6rem; font-weight: 600; color: #64748b; }
.bts-quiz-result-title { font-size: 1.3rem; font-weight: 800; color: #0f172a; text-align: center; margin: 0 0 10px; }
.bts-quiz-result-text { font-size: .95rem; color: #475569; text-align: center; line-height: 1.6; margin: 0 0 24px; }
.bts-quiz-restart { background: none; border: 2px solid #e2e8f0; border-radius: 8px; padding: 9px 20px; cursor: pointer; font-size: .85rem; color: #64748b; font-weight: 600; }
.bts-quiz-restart:hover { border-color: #94a3b8; }

/* ── FAQ ─────────────────────────────────────────────────────── */
.bts-faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.bts-faq-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow .2s;
}
.bts-faq-item.open { box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.bts-faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 700;
  font-size: .95rem;
  color: #0f172a;
  gap: 12px;
  user-select: none;
}
.bts-faq-q:hover { background: #f8fafc; }
.bts-faq-q svg {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: var(--bts-color,#1D4ED8);
  transition: transform .25s;
}
.bts-faq-item.open .bts-faq-q svg { transform: rotate(45deg); }
.bts-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}
.bts-faq-item.open .bts-faq-a { max-height: 600px; }
.bts-faq-a-inner { padding: 0 22px 20px; font-size: .9rem; color: #475569; line-height: 1.75; }
.bts-faq-schema { display: none; }

/* ── Related BTS ─────────────────────────────────────────────── */
.bts-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}
.bts-related-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .2s, transform .2s;
  position: relative;
  overflow: hidden;
}
.bts-related-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--bts-color,#1D4ED8);
}
.bts-related-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.1); transform: translateY(-4px); }
.bts-related-icon { font-size: 2rem; margin-bottom: 12px; }
.bts-related-name { font-weight: 800; color: #0f172a; font-size: 1rem; margin: 0 0 6px; }
.bts-related-desc { font-size: .82rem; color: #64748b; line-height: 1.5; margin: 0 0 auto; }
.bts-related-arrow { font-size: .82rem; color: var(--bts-color,#1D4ED8); font-weight: 700; margin-top: 14px; }

/* ── CTA simulateur ─────────────────────────────────────────── */
.bts-simul-cta {
  background: linear-gradient(135deg, var(--bts-color,#1D4ED8), var(--bts-dark,#1e3a8a));
  color: #fff;
  border-radius: 20px;
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: 0 8px 32px rgba(29,78,216,.25);
}
.bts-simul-cta-text h3 { font-size: 1.3rem; font-weight: 800; margin: 0 0 6px; }
.bts-simul-cta-text p { font-size: .9rem; opacity: .85; margin: 0; }
.bts-simul-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--bts-color,#1D4ED8);
  border-radius: 8px;
  padding: 13px 24px;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .15s;
}
.bts-simul-cta-btn:hover { transform: translateY(-2px); }

/* ── Simulator CSS ───────────────────────────────────────────── */
.simul-layout { padding: 40px 0 72px; }
.page-header { background: linear-gradient(135deg,#0f172a,#1e293b); color: #fff; padding: 56px 0 44px; }
.page-header-title { font-size: clamp(1.8rem,4vw,2.6rem); font-weight: 800; margin: 8px 0 10px; }
.page-header-desc { font-size: 1rem; opacity: .8; margin: 0; }
.simul-selector { text-align: center; margin-bottom: 40px; }
.simul-select-label { display: block; font-weight: 700; font-size: .95rem; color: #374151; margin-bottom: 10px; }
.simul-select {
  width: 100%; max-width: 520px;
  padding: 13px 18px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 1rem;
  color: #0f172a;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.simul-select:focus { outline: none; border-color: #1D4ED8; box-shadow: 0 0 0 3px rgba(29,78,216,.12); }
.simul-grid { display: grid; grid-template-columns: 1fr 380px; gap: 32px; }
@media(max-width:900px) { .simul-grid { grid-template-columns: 1fr; } }
.simul-section-title { font-size: 1.2rem; font-weight: 800; color: #0f172a; margin: 0 0 6px; }
.simul-hint { font-size: .85rem; color: #64748b; margin: 0 0 20px; }
.simul-form-wrap { animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.epreuves-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.epreuve-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.epreuve-info { flex: 1; }
.epreuve-code { font-size: .75rem; font-weight: 700; color: #1D4ED8; text-transform: uppercase; }
.epreuve-label { font-size: .88rem; font-weight: 600; color: #0f172a; }
.epreuve-coeff { font-size: .75rem; color: #64748b; }
.epreuve-input {
  width: 72px;
  padding: 8px 10px;
  border: 2px solid #e2e8f0;
  border-radius: 7px;
  font-size: .95rem;
  font-weight: 700;
  text-align: center;
  color: #0f172a;
  background: #f8fafc;
  transition: border-color .15s;
}
.epreuve-input:focus { outline: none; border-color: #1D4ED8; background: #fff; }
.epreuve-input.invalid { border-color: #ef4444; background: #fef2f2; }
.simul-calc-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: #1D4ED8;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s, transform .15s;
}
.simul-calc-btn svg { width: 18px; height: 18px; }
.simul-calc-btn:hover { background: #1e3a8a; transform: translateY(-1px); }
.simul-result-col { position: sticky; top: 110px; }
.simul-result-box {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
  margin-bottom: 20px;
}
.simul-result-placeholder { display: flex; flex-direction: column; align-items: center; gap: 10px; color: #94a3b8; font-size: .9rem; }
.simul-result-placeholder svg { width: 40px; height: 40px; }
.simul-result-main { width: 100%; }
.simul-average { font-size: 3.5rem; font-weight: 900; line-height: 1; }
.simul-average-label { font-size: .82rem; color: #64748b; margin-bottom: 12px; }
.simul-mention {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 50px;
  padding: 8px 20px;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 10px;
}
.mention-tb { background: #dcfce7; color: #15803d; }
.mention-b { background: #dbeafe; color: #1d4ed8; }
.mention-ab { background: #fef9c3; color: #854d0e; }
.mention-admis { background: #f0fdf4; color: #16a34a; }
.mention-refuse { background: #fee2e2; color: #dc2626; }
.simul-seuils { background: #f8fafc; border-radius: 12px; padding: 18px; margin-bottom: 16px; }
.simul-seuils h3 { font-size: .88rem; font-weight: 700; color: #0f172a; margin: 0 0 10px; }
.simul-seuils ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.simul-seuils li { display: flex; align-items: center; gap: 8px; font-size: .83rem; color: #475569; }
.seuil-badge { border-radius: 20px; padding: 2px 10px; font-size: .75rem; font-weight: 700; }
.seuil-admis { background: #dcfce7; color: #15803d; }
.seuil-mention-ab { background: #fef9c3; color: #854d0e; }
.seuil-mention-b { background: #dbeafe; color: #1d4ed8; }
.seuil-mention-tb { background: #f3e8ff; color: #7c3aed; }
.simul-cta-box { background: #eff6ff; border-radius: 12px; padding: 18px; text-align: center; }
.simul-cta-box p { font-size: .85rem; color: #1d4ed8; font-weight: 600; margin: 0 0 8px; }
.simul-cta-link { font-size: .85rem; font-weight: 700; color: #1d4ed8; text-decoration: none; }
.simul-cta-link:hover { text-decoration: underline; }
.simul-empty { max-width: 700px; margin: 0 auto; padding: 20px 0; }

/* ── Logo rouge / blanc ───────────────────────────────────────── */
.site-logo { color: #E11D48; }
.site-logo:hover { opacity: .85; }
.site-logo svg text { fill: currentColor; }

/* Footer logo blanc */
.site-footer .site-logo,
.footer-brand .site-logo { color: #fff; }
.site-footer .site-logo svg text { fill: #fff; }

/* ── Responsive ───────────────────────────────────────────────── */
@media(max-width:768px) {
  .bts-hero { padding: 48px 0 40px; }
  .bts-section { padding: 48px 0; }
  .bts-epreuves-table { font-size: .82rem; }
  .bts-epreuves-table th, .bts-epreuves-table td { padding: 10px 12px; }
  .bts-simul-cta { flex-direction: column; text-align: center; }
  .bts-quiz-question { padding: 24px; }
  .bts-lead-form { padding: 24px; }
}
@media(max-width:480px) {
  .bts-hero-stats { gap: 8px; }
  .bts-stat-pill { font-size: .8rem; padding: 6px 12px; }
  .bts-tabs { overflow-x: auto; }
  .bts-tab-btn { white-space: nowrap; padding: 10px 16px; font-size: .85rem; }
}
