/* ============================================================
   BLACK ROCKET - Styles Série 2 (F -> M)
   Fichier : article-formats.css
   ============================================================ */

:root {
  --s2-purple: #534AB7;
  --s2-purple-light: #EEEDFE;
  --s2-purple-mid: #AFA9EC;
  --s2-teal: #0F6E56;
  --s2-teal-light: #E1F5EE;
  --s2-amber: #BA7517;
  --s2-amber-light: #FAEEDA;
  --s2-coral: #993C1D;
  --s2-coral-light: #FAECE7;
  --s2-green: #085041;
  --s2-green-light: #E1F5EE;
  --s2-red: #A32D2D;
  --s2-red-light: #FCEBEB;
  --s2-dark: #13111C;
  --s2-text: #1A1830;
  --s2-muted: #6B6880;
  --s2-border: rgba(0, 0, 0, 0.09);
  --s2-bg: #FAFAF9;
  --s2-white: #ffffff;
}

.card-h {
  display: flex;
  align-items: stretch;
  border: 0.5px solid var(--s2-border);
  border-radius: 10px;
  overflow: hidden;
  margin: 1.25rem 0;
}

.card-h::before {
  content: '';
  width: 5px;
  flex-shrink: 0;
}

.card-h--purple::before { background: var(--s2-purple); }
.card-h--teal::before { background: var(--s2-teal); }
.card-h--amber::before { background: var(--s2-amber); }
.card-h--coral::before { background: var(--s2-coral); }

.card-h p {
  padding: 13px 16px;
  font-size: 14.5px;
  color: var(--s2-muted);
  line-height: 1.65;
  margin: 0;
}

.card-h > div,
.card-h > span {
  padding: 13px 16px;
  font-size: 14.5px;
  color: var(--s2-muted);
  line-height: 1.65;
}

.card-h p strong:first-child {
  display: block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
  font-family: monospace;
}

.card-h--purple p strong:first-child { color: var(--s2-purple); }
.card-h--teal p strong:first-child { color: var(--s2-teal); }
.card-h--amber p strong:first-child { color: var(--s2-amber); }
.card-h--coral p strong:first-child { color: var(--s2-coral); }

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  margin: 1.5rem 0;
}

.stat-card {
  background: var(--s2-bg);
  border: 0.5px solid var(--s2-border);
  border-radius: 10px;
  padding: 16px 14px;
  text-align: center;
}

.stat-num {
  font-size: 32px;
  font-weight: 700;
  color: var(--s2-text);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-num span {
  font-size: 18px;
  font-weight: 400;
  color: var(--s2-muted);
}

.stat-label {
  font-size: 12px;
  color: var(--s2-muted);
  line-height: 1.45;
}

.steps {
  margin: 1.5rem 0;
}

.step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 4px;
  position: relative;
}

.step > p {
  margin: 0;
  color: var(--s2-muted);
  line-height: 1.55;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 15px;
  top: 32px;
  bottom: -4px;
  width: 1px;
  background: var(--s2-border);
}

.step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--s2-purple-light);
  border: 1.5px solid var(--s2-purple-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--s2-purple);
  flex-shrink: 0;
  font-family: monospace;
  position: relative;
  z-index: 1;
}

.step-body {
  padding: 5px 0 12px;
}

.step-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--s2-text);
  margin-bottom: 3px;
}

.step-desc {
  font-size: 13.5px;
  color: var(--s2-muted);
  line-height: 1.55;
}

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 1.5rem 0;
}

@media (max-width: 580px) {
  .compare { grid-template-columns: 1fr; }
}

.compare-col {
  border: 0.5px solid var(--s2-border);
  border-radius: 10px;
  overflow: hidden;
}

.compare-col > p {
  padding: 10px 14px;
  margin: 0;
  color: var(--s2-muted);
  font-size: 13.5px;
  line-height: 1.5;
}

.compare-col-head {
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
}

.compare-col--pro .compare-col-head {
  background: var(--s2-green-light);
  color: var(--s2-green);
}

.compare-col--con .compare-col-head {
  background: var(--s2-red-light);
  color: var(--s2-red);
}

.compare-col ul {
  list-style: none;
  padding: 10px 14px;
  margin: 0;
}

.compare-col ul li {
  display: flex;
  align-items: baseline;
  gap: 9px;
  font-size: 13.5px;
  color: var(--s2-muted);
  padding: 6px 0;
  border-bottom: 0.5px solid var(--s2-border);
  line-height: 1.5;
}

.compare-col ul li:last-child {
  border-bottom: none;
}

.compare-col--pro ul li::before,
.compare-col--con ul li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}

.compare-col--pro ul li::before { background: var(--s2-teal); }
.compare-col--con ul li::before { background: var(--s2-red); }

.retenir {
  background: var(--s2-dark);
  border-radius: 12px;
  padding: 20px 22px;
  margin: 1.5rem 0;
}

.retenir::before {
  content: 'À retenir';
  display: block;
  font-size: 10px;
  font-weight: 500;
  font-family: monospace;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--s2-purple-mid);
  margin-bottom: 12px;
}

.retenir ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.retenir p {
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.55;
  margin: 0;
}

.retenir ul li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.58);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  line-height: 1.55;
}

.retenir ul li:last-child {
  border-bottom: none;
}

.retenir ul li::before {
  content: '→';
  color: var(--s2-purple-mid);
  font-size: 12px;
  flex-shrink: 0;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 1.25rem 0;
}

.chip {
  display: inline-block;
  font-size: 13px;
  padding: 5px 14px;
  border-radius: 20px;
  border: 0.5px solid var(--s2-border);
  color: var(--s2-muted);
  background: var(--s2-white);
  line-height: 1;
}

.chip--filled {
  background: var(--s2-purple-light);
  color: #3C3489;
  border-color: var(--s2-purple-mid);
}

.timeline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
  min-width: 100%;
  box-sizing: border-box;
  margin: 1.5rem 0;
  overflow-x: auto;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
}

.tl-step {
  flex: 1 1 0;
  min-width: 0;
  position: relative;
  text-align: center;
  padding: 0 10px;
}

@media (max-width: 580px) {
  .tl-step {
    min-width: 90px;
  }
}

.tl-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  right: -50%;
  height: 1px;
  background: var(--s2-border);
  z-index: 0;
}

.tl-dot-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.tl-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--s2-purple-light);
  border: 2px solid var(--s2-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  color: var(--s2-purple);
  font-family: monospace;
}

.tl-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--s2-text);
  margin-bottom: 2px;
}

.tl-sub {
  font-size: 11px;
  color: var(--s2-muted);
  line-height: 1.4;
}

.tl-step > p {
  font-size: 12px;
  color: var(--s2-text);
  line-height: 1.4;
  margin: 0;
}

.br-accordion {
  display: block;
  width: 100%;
  margin: 1.5rem 0;
}

.accordion-item {
  display: block;
  width: 100%;
  box-sizing: border-box;
  border: 0.5px solid var(--s2-border);
  border-radius: 10px;
  margin-bottom: 8px;
  overflow: hidden;
}

.accordion-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  background: var(--s2-white);
  cursor: pointer;
  user-select: none;
  gap: 10px;
  transition: background 0.15s;
}

.accordion-head:hover {
  background: var(--s2-bg);
}

.accordion-head-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.acc-num {
  font-size: 11px;
  font-weight: 500;
  color: var(--s2-purple);
  background: var(--s2-purple-light);
  padding: 2px 8px;
  border-radius: 4px;
  font-family: monospace;
  flex-shrink: 0;
}

.acc-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--s2-text);
}

.acc-arrow {
  font-size: 11px;
  color: var(--s2-muted);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.accordion-item.open .acc-arrow {
  transform: rotate(180deg);
}

.accordion-body {
  display: none;
  padding: 0 16px 14px;
  border-top: 0.5px solid var(--s2-border);
  background: var(--s2-bg);
}

.accordion-item.open .accordion-body {
  display: block;
}

.accordion-body p {
  font-size: 13.5px;
  color: var(--s2-muted);
  line-height: 1.65;
  margin: 12px 0 0;
}

.accordion-body ul {
  list-style: none;
  padding: 10px 0 0;
  margin: 0;
}

.accordion-body ul li {
  font-size: 13.5px;
  color: var(--s2-muted);
  padding: 5px 0;
  border-bottom: 0.5px solid var(--s2-border);
  line-height: 1.55;
}

.accordion-body ul li:last-child {
  border-bottom: none;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  max-width: 100%;
  margin: 1.5rem 0;
  box-sizing: border-box;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
  background: var(--s2-white);
  border: 0.5px solid var(--s2-border);
  border-radius: 12px;
  padding: 20px;
  box-sizing: border-box;
}

.pricing-card--featured {
  border-color: var(--s2-purple-mid);
  box-shadow: 0 10px 28px rgba(83, 74, 183, 0.12);
}

.pricing-badge {
  align-self: flex-start;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--s2-purple);
  background: var(--s2-purple-light);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 10px;
}

.pricing-kicker {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--s2-purple);
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  color: var(--s2-text);
  margin-bottom: 12px;
}

.pricing-price span {
  font-size: 13px;
  font-weight: 500;
  color: var(--s2-muted);
  margin-left: 4px;
}

.pricing-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--s2-muted);
  margin: 0 0 14px;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}

.pricing-card li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 13.5px;
  color: var(--s2-muted);
  line-height: 1.5;
  padding: 7px 0;
  border-bottom: 0.5px solid var(--s2-border);
}

.pricing-card li:last-child {
  border-bottom: none;
}

.pricing-card li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--s2-purple);
  flex-shrink: 0;
}

.pricing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: auto;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--s2-dark);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.pricing-btn:hover {
  color: #fff;
  background: var(--s2-purple);
  text-decoration: none;
}

@media (max-width: 760px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}
