/*
 * solaire-101.css — Guide interactif Solaire 101
 * @package    OFFGRID.QC
 * @author     Danny Pilote
 * @copyright  2026 Danny Pilote — OFFGRID.QC. Tous droits réservés.
 * @version    1.3
 * @date       3 mars 2026
 *
 * Dépend de style.css (variables globales --menu-color, etc.)
 * Préfixe CSS : .s101-  (zéro conflit avec roi_ et ps_)
 */

/* ════════════════════════════════════════
   VARIABLES LOCALES
════════════════════════════════════════ */
.s101-page {
  --s101-accent:   #00ff88;
  --s101-solar:    #ffc107;
  --s101-bat:      #00b4d8;
  --s101-danger:   #ff4444;
  --s101-warn:     #ff6b35;
  --s101-card:     #1a1a1a;
  --s101-border:   #2a2a2a;
  --s101-muted:    #a0a0a0;
  --s101-radius:   12px;
  --s101-gap:      1.5rem;
}

/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
.s101-hero {
  background: linear-gradient(135deg, #0a0a0a 0%, #0f1a0f 50%, #0a0a0a 100%);
  padding: 5rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.s101-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0,255,136,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.s101-hero-content {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}

.s101-hero-badge {
  display: inline-block;
  background: rgba(0,255,136,0.1);
  border: 1px solid rgba(0,255,136,0.35);
  color: #00ff88;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .45rem 1.1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.s101-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.s101-accent {
  color: #00ff88;
}

.s101-hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
  max-width: 620px;
  margin: 0 auto 2.5rem;
}

/* ── Hero stat cards ── */
.s101-hero-stats {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.s101-stat-card {
  background: #1a1a1a;
  border: 1px solid rgba(0,255,136,0.4);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  min-width: 130px;
  text-align: center;
}

.s101-stat-card:hover {
  border-color: rgba(0,255,136,0.4);
}

.s101-stat-card.s101-stat-highlight {
  background: #1a1a1a;
  border-color: rgba(0,255,136,0.4);
}

.s101-stat-val {
  font-size: 2.2rem;
  font-weight: 900;
  color: #00ff88;
  line-height: 1;
  display: block;
  margin-bottom: .35rem;
}

.s101-stat-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: #00ff88;
  line-height: 1;
  display: block;
  margin-bottom: .35rem;
}

.s101-stat-label {
  font-size: .75rem;
  color: #a0a0a0;
  line-height: 1.4;
  display: block;
}

/* ── Hero CTA ── */
.s101-hero-cta {
  display: inline-block;
  background: #00ff88;
  color: #000000;
  font-weight: 800;
  font-size: .95rem;
  padding: .85rem 2rem;
  border-radius: 100px;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 0 24px rgba(0,255,136,0.3);
}

.s101-hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(0,255,136,0.45);
  color: #000000;
}

/* ════════════════════════════════════════
   SECTIONS (alternance fond)
════════════════════════════════════════ */
.s101-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.s101-section-alt {
  background: #111111;
}

.s101-section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

/* ── Conteneur centré global ── */
.s101-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.s101-section-badge {
  display: inline-block;
  background: rgba(0,255,136,0.1);
  border: 1px solid rgba(0,255,136,0.3);
  color: #00ff88;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.s101-section-title {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.s101-section-intro {
  font-size: .95rem;
  color: #a0a0a0;
  max-width: 720px;
  margin: 0 auto 2rem;
  line-height: 1.7;
  text-align: center;
}

.s101-separator {
  border: none;
  border-top: 1px solid #1e1e1e;
  margin: 0;
}

/* ════════════════════════════════════════
   S1 — PUZZLE CARDS (flip)
════════════════════════════════════════ */
.s101-puzzle-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: .75rem;
}

@media (max-width: 870px) {
  .s101-puzzle-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .s101-puzzle-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 400px) {
  .s101-puzzle-grid { grid-template-columns: 1fr; }
}

.s101-puzzle-card {
  background: var(--s101-card);
  border: 1px solid var(--s101-border);
  border-radius: 12px;
  padding: 1.25rem .75rem;
  cursor: pointer;
  min-height: 160px;
  transition: border-color .2s, box-shadow .2s;
  position: relative;
}

.s101-puzzle-card:hover {
  border-color: var(--s101-accent);
  box-shadow: 0 4px 20px rgba(0,255,136,0.1);
}

.s101-puzzle-front {
  text-align: center;
}

.s101-puzzle-back {
  display: none;
  text-align: left;
}

.s101-puzzle-card.active .s101-puzzle-front {
  display: none;
}

.s101-puzzle-card.active .s101-puzzle-back {
  display: block;
}

.s101-puzzle-card.active {
  border-color: var(--s101-accent);
  background: rgba(0,255,136,0.04);
}

.s101-puzzle-icon {
  font-size: 2.2rem;
  display: block;
  margin-bottom: .6rem;
}

.s101-puzzle-title {
  font-size: .88rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: .3rem;
}

.s101-puzzle-hint {
  font-size: .72rem;
  color: var(--s101-accent);
  display: block;
  margin-top: .4rem;
}

.s101-puzzle-back-title {
  font-size: .82rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: .4rem;
}

.s101-puzzle-role {
  font-size: .78rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: .4rem;
  line-height: 1.5;
}

.s101-puzzle-analogy {
  color: var(--s101-muted);
  font-size: .78rem;
  border-left: 2px solid var(--s101-accent);
  padding-left: .65rem;
  margin: .5rem 0;
  font-style: italic;
  line-height: 1.5;
}

.s101-puzzle-danny {
  font-size: .74rem;
  color: var(--s101-accent);
  margin-top: .5rem;
  line-height: 1.45;
}

/* ════════════════════════════════════════
   S2 — WIDGET SVG INTERACTIF
════════════════════════════════════════ */
.s101-widget-wrapper {
  background: #111111;
  border: 1px solid #2a2a2a;
  border-radius: 16px;
  padding: 1.5rem;
  overflow-x: auto;
}

#s101-svg {
  width: 100%;
  height: auto;
  display: block;
  min-width: 320px;
}

/* ── Messages état ── */
.s101-etat-msg {
  text-align: center;
  padding: .8rem 1.5rem;
  border-radius: 10px;
  margin: 1.25rem 0;
  font-weight: 700;
  font-size: .95rem;
  transition: all .4s;
  line-height: 1.5;
}

.s101-etat-ok {
  background: rgba(0,255,136,.10);
  border: 1px solid rgba(0,255,136,.40);
  color: #00ff88;
}

.s101-etat-warn {
  background: rgba(255,193,7,.10);
  border: 1px solid rgba(255,193,7,.40);
  color: #ffc107;
}

.s101-etat-danger {
  background: rgba(255,68,68,.10);
  border: 1px solid rgba(255,68,68,.40);
  color: #ff4444;
}

.s101-etat-info {
  background: rgba(74,158,255,.10);
  border: 1px solid rgba(74,158,255,.40);
  color: #4a9eff;
}

.s101-etat-gen {
  background: rgba(255,107,53,.12);
  border: 1px solid rgba(255,107,53,.40);
  color: #ff6b35;
}

/* ── Curseurs ── */
.s101-controls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

@media (max-width: 700px) {
  .s101-controls { grid-template-columns: 1fr; }
}

.s101-ctrl-group {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.s101-ctrl-label {
  display: flex;
  justify-content: space-between;
  font-size: .88rem;
  font-weight: 600;
  color: #ffffff;
}

.s101-ctrl-val {
  color: var(--s101-accent);
  font-weight: 800;
}

.s101-ctrl-hint {
  font-size: .72rem;
  color: var(--s101-muted);
}

.s101-range {
  width: 100%;
  -webkit-appearance: none;
  height: 6px;
  border-radius: 3px;
  background: #2a2a2a;
  outline: none;
  cursor: pointer;
}

.s101-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.15);
}

.s101-range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
  border: none;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.15);
}

.s101-range-sol {
  accent-color: #ffc107;
}

.s101-range-bat {
  accent-color: #00ff88;
}

.s101-range-conso {
  accent-color: #4a9eff;
}

/* ── Boutons reset ── */
.s101-reset-btn {
  background: transparent;
  border: 1px solid #2a2a2a;
  color: var(--s101-muted);
  padding: .45rem 1.25rem;
  border-radius: 100px;
  font-size: .82rem;
  cursor: pointer;
  transition: all .2s;
}

.s101-reset-btn:hover {
  border-color: var(--s101-accent);
  color: var(--s101-accent);
}

.s101-widget-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
}

/* ════════════════════════════════════════
   S3 — SCÉNARIOS
════════════════════════════════════════ */
.s101-scenarios-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .75rem;
}

@media (max-width: 870px) {
  .s101-scenarios-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .s101-scenarios-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 400px) {
  .s101-scenarios-grid { grid-template-columns: 1fr; }
}

.s101-sc-card {
  background: var(--s101-card);
  border: 1px solid var(--s101-border);
  border-radius: 12px;
  padding: 1rem .75rem;
  text-align: center;
  cursor: pointer;
  transition: all .2s;
}

.s101-sc-card:hover,
.s101-sc-card.active {
  border-color: var(--s101-accent);
  background: rgba(0,255,136,0.06);
}

.s101-sc-icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: .5rem;
}

.s101-sc-titre {
  font-size: .82rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

.s101-sc-invite {
  display: block;
  font-size: .72rem;
  color: var(--s101-accent);
  margin-top: .5rem;
  opacity: .8;
  font-weight: 600;
  letter-spacing: .02em;
}

.s101-sc-card:hover .s101-sc-invite,
.s101-sc-card.active .s101-sc-invite {
  opacity: 0;
}

.s101-sc-detail {
  background: #111;
  border: 1px solid var(--s101-accent);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1rem;
  display: none;
}

.s101-sc-detail.active {
  display: block;
}

.s101-sc-detail-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
}

.s101-sc-detail-icon {
  font-size: 2rem;
}

.s101-sc-detail-titre {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
}

.s101-sc-context {
  font-size: .88rem;
  color: #a0a0a0;
  font-style: italic;
  margin-bottom: .85rem;
  line-height: 1.6;
}

.s101-sc-explication {
  font-size: .9rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.65;
  margin-bottom: .75rem;
}

.s101-sc-chiffres {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.s101-sc-chiffre {
  background: var(--s101-card);
  border: 1px solid var(--s101-border);
  border-radius: 8px;
  padding: .45rem .9rem;
  font-size: .82rem;
  color: var(--s101-accent);
  font-weight: 700;
}

.s101-sc-lecon {
  margin-top: 1rem;
  padding: .7rem 1rem;
  background: rgba(0,255,136,0.07);
  border-radius: 8px;
  font-size: .88rem;
  border-left: 2px solid var(--s101-accent);
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
}

.s101-sc-fermer {
  background: transparent;
  border: 1px solid #2a2a2a;
  color: #a0a0a0;
  padding: .4rem 1rem;
  border-radius: 100px;
  font-size: .8rem;
  cursor: pointer;
  margin-top: 1.25rem;
  transition: all .2s;
}

.s101-sc-fermer:hover {
  border-color: var(--s101-accent);
  color: var(--s101-accent);
}

/* ════════════════════════════════════════
   S4 — VERRE D'EAU (CURTAILMENT)
════════════════════════════════════════ */
.s101-verre-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.s101-verre-side {
  text-align: center;
  font-size: .9rem;
  color: #a0a0a0;
  max-width: 160px;
}

.s101-verre-side strong {
  display: block;
  font-size: 1.4rem;
  margin-bottom: .4rem;
}

.s101-verre-container {
  width: 100px;
  height: 200px;
  border: 3px solid var(--s101-accent);
  border-radius: 0 0 12px 12px;
  border-top: none;
  position: relative;
  overflow: hidden;
  background: #111;
  margin: 0 auto;
  flex-shrink: 0;
}

.s101-verre-eau {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0%;
  background: linear-gradient(180deg, #00b4d8, #0077a8);
  transition: height .25s ease, background .3s;
}

.s101-verre-debord {
  position: absolute;
  top: -8px;
  left: -20px;
  right: -20px;
  height: 8px;
  background: #ff4444;
  border-radius: 4px;
  opacity: 0;
  transition: opacity .3s;
  animation: s101-debord .7s ease-in-out infinite;
}

@keyframes s101-debord {
  0%, 100% { transform: scaleX(1); }
  50%       { transform: scaleX(1.06); }
}

.s101-verre-pct {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 0 8px rgba(0,0,0,0.9);
  z-index: 2;
  pointer-events: none;
}

.s101-verre-msg {
  text-align: center;
  padding: .7rem 1.25rem;
  border-radius: 10px;
  margin: .75rem auto;
  max-width: 560px;
  font-weight: 700;
  font-size: .9rem;
  line-height: 1.5;
}

.s101-verre-ctrl {
  max-width: 480px;
  margin: 1.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.s101-verre-ctrl-header {
  display: flex;
  justify-content: space-between;
  font-size: .88rem;
  font-weight: 600;
  color: #ffffff;
}

/* ── Accordéon (tripeux) ── */
.s101-accord-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.s101-accord-item {
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  margin-bottom: .6rem;
  overflow: hidden;
}

.s101-accord-btn {
  width: 100%;
  background: #1a1a1a;
  border: none;
  color: #ffffff;
  font-size: .9rem;
  font-weight: 600;
  padding: .9rem 1.25rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background .2s;
}

.s101-accord-btn:hover {
  background: rgba(0,255,136,0.06);
}

.s101-accord-btn.active {
  color: #00ff88;
}

.s101-accord-arrow {
  font-size: .75rem;
  transition: transform .25s;
  color: #a0a0a0;
}

.s101-accord-btn.active .s101-accord-arrow {
  transform: rotate(180deg);
  color: #00ff88;
}

.s101-accord-body {
  display: none;
  padding: 1rem 1.25rem 1.25rem;
  background: #111;
  font-size: .87rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
}

.s101-accord-body.open {
  display: block;
}

.s101-accord-body ul {
  padding-left: 1.25rem;
  margin: .5rem 0 0;
}

.s101-accord-body li {
  margin-bottom: .35rem;
}

.s101-physique-box {
  background: #0d0d0d;
  border: 1px solid #1e1e1e;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  font-family: monospace;
  font-size: .82rem;
  color: #a0a0a0;
  line-height: 1.8;
  white-space: pre-wrap;
}

/* ════════════════════════════════════════
   S5 — GÉNÉRATRICE
════════════════════════════════════════ */
.s101-gen-intro-card {
  background: rgba(255,107,53,0.06);
  border: 1px solid rgba(255,107,53,0.3);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  font-size: .92rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.75;
}

.s101-gen-intro-card strong {
  color: #ff6b35;
}

.s101-gen-cas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (max-width: 650px) {
  .s101-gen-cas-grid { grid-template-columns: 1fr; }
}

.s101-gen-cas-card {
  background: var(--s101-card);
  border: 1px solid var(--s101-border);
  border-radius: 10px;
  padding: 1.1rem;
  text-align: center;
}

.s101-gen-cas-icon {
  font-size: 1.8rem;
  margin-bottom: .5rem;
  display: block;
}

.s101-gen-cas-titre {
  font-size: .88rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: .35rem;
}

.s101-gen-cas-desc {
  font-size: .78rem;
  color: #a0a0a0;
  line-height: 1.5;
}

/* ── Specs table ── */
.s101-spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
  margin-bottom: 2rem;
}

.s101-spec-table th {
  text-align: left;
  padding: .7rem 1rem;
  background: rgba(0,255,136,0.08);
  color: #00ff88;
  font-size: .75rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-bottom: 1px solid #2a2a2a;
}

.s101-spec-table td {
  padding: .65rem 1rem;
  border-bottom: 1px solid #1a1a1a;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}

.s101-spec-table tr:last-child td {
  border-bottom: none;
}

.s101-spec-table td:first-child {
  color: #a0a0a0;
  font-size: .82rem;
  white-space: nowrap;
  width: 40%;
}

.s101-spec-table tr:hover td {
  background: rgba(255,255,255,0.02);
}

/* ── VRM bars comparaison ── */
.s101-gen-vrm-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  text-align: center;
}

.s101-gen-vrm-bars {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  max-width: 500px;
  margin: 1.5rem auto;
}

.s101-gen-bar-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: .88rem;
}

.s101-gen-bar-label {
  width: 80px;
  color: var(--s101-muted);
  flex-shrink: 0;
  font-size: .82rem;
}

.s101-gen-bar-track {
  flex: 1;
  background: #1a1a1a;
  border-radius: 6px;
  height: 22px;
  overflow: hidden;
}

.s101-gen-bar-fill {
  height: 100%;
  border-radius: 6px;
  display: flex;
  align-items: center;
  padding-left: .6rem;
  font-size: .78rem;
  font-weight: 700;
  color: #fff;
  transition: width .8s ease;
}

.s101-gen-2025 {
  background: rgba(255,107,53,0.7);
}

.s101-gen-2026 {
  background: rgba(0,255,136,0.7);
}

.s101-gen-explication {
  background: rgba(0,255,136,0.06);
  border: 1px solid rgba(0,255,136,0.2);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  font-size: .9rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.75;
  margin: 1.5rem 0;
}

.s101-gen-explication strong {
  color: #00ff88;
}

/* ════════════════════════════════════════
   S6 — CYCLES LiFePO4 + WATT/AMPÈRE
════════════════════════════════════════ */
.s101-physique-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 750px) {
  .s101-physique-grid { grid-template-columns: 1fr; }
}

/* ── Jauge cycles ── */
.s101-cycles-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.s101-cycles-gauge {
  width: 170px;
  height: 170px;
  flex-shrink: 0;
}

.s101-cycles-info {
  text-align: center;
  font-size: .88rem;
  color: #a0a0a0;
  line-height: 1.6;
}

.s101-cycles-count {
  font-size: 1.6rem;
  font-weight: 900;
  color: #00ff88;
  display: block;
  line-height: 1;
  margin-bottom: .25rem;
}

.s101-cycles-sante {
  font-size: .82rem;
  color: #ffc107;
}

/* ── Grille comparaison batteries ── */
.s101-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  max-width: 460px;
  margin: 1.5rem auto 0;
}

.s101-compare-card {
  background: var(--s101-card);
  border: 1px solid var(--s101-border);
  border-radius: 10px;
  padding: 1.1rem;
  text-align: center;
}

.s101-compare-lifepo4 {
  border-color: rgba(0,255,136,0.4);
}

.s101-compare-agm {
  border-color: rgba(255,107,53,0.35);
}

.s101-compare-label {
  font-size: .75rem;
  font-weight: 700;
  color: #a0a0a0;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .4rem;
  display: block;
}

.s101-compare-val {
  font-size: 1.35rem;
  font-weight: 800;
  margin: .4rem 0;
  display: block;
}

.s101-compare-lifepo4 .s101-compare-val {
  color: #00ff88;
}

.s101-compare-agm .s101-compare-val {
  color: #ff6b35;
}

.s101-compare-sub {
  font-size: .75rem;
  color: #a0a0a0;
  line-height: 1.4;
}

.s101-cycles-btns {
  display: flex;
  gap: .75rem;
  justify-content: center;
  margin-top: .75rem;
}

/* ── Watt / Ampère ── */
.s101-watt-title {
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: .75rem;
}

.s101-watt-formula {
  font-size: 1.6rem;
  font-weight: 900;
  color: #00ff88;
  text-align: center;
  margin: .75rem 0 1.25rem;
  letter-spacing: .05em;
}

.s101-watt-svg {
  width: 100%;
  height: auto;
  display: block;
}

.s101-watt-result {
  text-align: center;
  margin: 1rem 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: #00ff88;
}

.s101-watt-examples {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .65rem;
  margin-top: 1.25rem;
}

@media (max-width: 500px) {
  .s101-watt-examples { grid-template-columns: 1fr; }
}

.s101-watt-ex {
  background: var(--s101-card);
  border: 1px solid var(--s101-border);
  border-radius: 8px;
  padding: .65rem .9rem;
  font-size: .82rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
}

.s101-watt-ex strong {
  color: var(--s101-accent);
  white-space: nowrap;
}

/* ════════════════════════════════════════
   S7 — TEMPÉRATURE
════════════════════════════════════════ */
.s101-temp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

@media (max-width: 600px) {
  .s101-temp-grid { grid-template-columns: 1fr; }
}

.s101-temp-card {
  background: var(--s101-card);
  border: 1px solid var(--s101-border);
  border-radius: 12px;
  padding: 1.5rem;
}

.s101-temp-win {
  border-color: rgba(0,255,136,0.4);
}

.s101-temp-lose {
  border-color: rgba(255,107,53,0.4);
}

.s101-temp-card-title {
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
}

.s101-temp-rows {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.s101-temp-row {
  display: flex;
  justify-content: space-between;
  font-size: .85rem;
  color: rgba(255,255,255,0.75);
  padding: .3rem 0;
  border-bottom: 1px solid #1e1e1e;
}

.s101-temp-row:last-child {
  border-bottom: none;
}

.s101-temp-val-pos { color: #00ff88; font-weight: 700; }
.s101-temp-val-neg { color: #ff6b35; font-weight: 700; }

.s101-temp-combo {
  background: #111;
  border: 1px solid var(--s101-accent);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  margin: 1.5rem 0;
}

.s101-temp-combo h3 {
  font-size: .82rem;
  font-weight: 700;
  color: #a0a0a0;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1rem;
}

.s101-temp-combo-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.s101-temp-combo-grid > div {
  background: var(--s101-card);
  border-radius: 8px;
  padding: .85rem;
  font-size: .88rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.85);
}

.s101-temp-plus {
  font-size: 1.5rem;
  color: var(--s101-accent);
  font-weight: 900;
}

.s101-temp-result-star {
  margin-top: 1rem;
  font-size: .95rem;
  font-weight: 700;
  color: #00ff88;
}

/* ── Thermomètre interactif ── */
.s101-thermo-wrap {
  max-width: 480px;
  margin: 2rem auto 0;
}

.s101-thermo-header {
  display: flex;
  justify-content: space-between;
  font-size: .88rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: .4rem;
}

.s101-thermo-results {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
  font-size: .92rem;
}

.s101-thermo-result-item {
  background: var(--s101-card);
  border: 1px solid var(--s101-border);
  border-radius: 8px;
  padding: .65rem 1rem;
  text-align: center;
  min-width: 140px;
}

.s101-thermo-result-item .label {
  font-size: .72rem;
  color: #a0a0a0;
  margin-bottom: .3rem;
  display: block;
}

.s101-thermo-result-item .val {
  font-size: 1rem;
  font-weight: 800;
  color: #00ff88;
}

.s101-thermo-note {
  text-align: center;
  font-size: .78rem;
  color: #a0a0a0;
  margin-top: .85rem;
  font-style: italic;
}

/* ════════════════════════════════════════
   S8 — QUIZ
════════════════════════════════════════ */
.s101-quiz-wrapper {
  max-width: 680px;
  margin: 0 auto;
}

.s101-quiz-progress {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: .82rem;
  color: #a0a0a0;
}

.s101-quiz-progress-bar {
  flex: 1;
  height: 4px;
  background: #2a2a2a;
  border-radius: 2px;
  overflow: hidden;
}

.s101-quiz-progress-fill {
  height: 100%;
  background: #00ff88;
  border-radius: 2px;
  transition: width .4s ease;
}

.s101-quiz-question {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
  line-height: 1.55;
  color: #ffffff;
}

.s101-quiz-options {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.s101-quiz-opt {
  background: var(--s101-card);
  border: 1px solid var(--s101-border);
  color: #fff;
  padding: .8rem 1.15rem;
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  font-size: .92rem;
  transition: all .2s;
  width: 100%;
}

.s101-quiz-opt:hover:not(:disabled) {
  border-color: var(--s101-accent);
  background: rgba(0,255,136,0.07);
}

.s101-opt-correct {
  border-color: #00ff88 !important;
  background: rgba(0,255,136,0.13) !important;
  color: #00ff88 !important;
}

.s101-opt-wrong {
  border-color: #ff4444 !important;
  background: rgba(255,68,68,0.13) !important;
  color: #ff4444 !important;
}

.s101-quiz-feedback {
  margin-top: .9rem;
  padding: .9rem 1.1rem;
  border-radius: 10px;
  font-size: .87rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
}

.s101-fb-ok {
  background: rgba(0,255,136,0.08);
  border: 1px solid rgba(0,255,136,0.35);
}

.s101-fb-wrong {
  background: rgba(255,68,68,0.08);
  border: 1px solid rgba(255,68,68,0.35);
}

.s101-quiz-suivante {
  display: none;
  margin-top: 1.25rem;
  background: #00ff88;
  color: #000;
  border: none;
  padding: .7rem 1.75rem;
  border-radius: 100px;
  font-weight: 800;
  font-size: .9rem;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}

.s101-quiz-suivante:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,255,136,0.35);
}

.s101-quiz-score-final {
  text-align: center;
  padding: 2rem 1rem;
}

.s101-quiz-score-final h3 {
  font-size: 2.2rem;
  color: var(--s101-accent);
  margin-bottom: .75rem;
  font-weight: 900;
}

.s101-quiz-commentaire {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.s101-quiz-rejouer {
  background: transparent;
  border: 1px solid var(--s101-accent);
  color: var(--s101-accent);
  padding: .7rem 1.75rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  transition: all .2s;
}

.s101-quiz-rejouer:hover {
  background: rgba(0,255,136,0.1);
}

/* ════════════════════════════════════════
   S9 — TABLEAU COMPARAISON
════════════════════════════════════════ */
.s101-disclaimer {
  background: rgba(255,193,7,0.07);
  border: 1px solid rgba(255,193,7,0.25);
  border-radius: 8px;
  padding: .75rem 1rem;
  font-size: .82rem;
  color: #ffc107;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.s101-table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid #2a2a2a;
}

.s101-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
  min-width: 560px;
}

.s101-compare-table th {
  padding: .85rem 1.1rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  border-bottom: 1px solid #2a2a2a;
  text-align: left;
}

.s101-compare-table th:first-child { color: #a0a0a0; }
.s101-compare-table th:nth-child(2) { color: #00ff88; background: rgba(0,255,136,0.05); }
.s101-compare-table th:nth-child(3) { color: #a0a0a0; }

.s101-compare-table td {
  padding: .7rem 1.1rem;
  border-bottom: 1px solid #141414;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
  vertical-align: top;
}

.s101-compare-table tr:last-child td {
  border-bottom: none;
}

.s101-compare-table td:first-child {
  color: #a0a0a0;
  font-size: .82rem;
}

.s101-compare-table td:nth-child(2) {
  background: rgba(0,255,136,0.03);
  font-weight: 600;
}

.s101-compare-table tr:hover td {
  background: rgba(255,255,255,0.02);
}

.s101-compare-table tr:hover td:nth-child(2) {
  background: rgba(0,255,136,0.05);
}

/* ── Alias tableau S9 ── */
.s101-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
  min-width: 560px;
}
.s101-table th {
  padding: .85rem 1.1rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  border-bottom: 1px solid #2a2a2a;
  text-align: left;
  background: rgba(0,255,136,0.04);
}
.s101-table th:first-child { color: #a0a0a0; }
.s101-table th:nth-child(2) { color: #00ff88; }
.s101-table th:nth-child(3) { color: #a0a0a0; }
.s101-table td {
  padding: .75rem 1.1rem;
  border-bottom: 1px solid #141414;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
  vertical-align: top;
}
.s101-table tr:last-child td { border-bottom: none; }
.s101-table td:first-child {
  color: #a0a0a0;
  font-size: .82rem;
  white-space: nowrap;
}
.s101-table td:nth-child(2) {
  background: rgba(0,255,136,0.03);
  font-weight: 600;
}
.s101-table tr:hover td { background: rgba(255,255,255,0.02); }
.s101-table tr:hover td:nth-child(2) { background: rgba(0,255,136,0.05); }

.s101-footnote {
  font-size: .8rem;
  color: #a0a0a0;
  margin-top: 1.25rem;
  line-height: 1.65;
  padding: 0 .25rem;
}

.s101-footnote strong {
  color: #00ff88;
}

/* ════════════════════════════════════════
   S10 — FAQ
════════════════════════════════════════ */
.s101-faq-list {
  max-width: 860px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

/* FAQ réutilise les styles .s101-accord-* définis ci-dessus */

/* ════════════════════════════════════════
   S11 — CTA / VOIR AUSSI
════════════════════════════════════════ */
/* Réutilise les classes .roi-cta-* de style.css global */
/* Surcharge couleur si nécessaire */
.s101-page .roi-cta-btn {
  color: #ffffff;
}

/* ════════════════════════════════════════
   RESPONSIVE GÉNÉRAL
════════════════════════════════════════ */
@media (max-width: 600px) {
  .s101-widget-wrapper {
    padding: .65rem;
  }

  .s101-hero {
    padding: 3.5rem 1.25rem 3rem;
  }

  .s101-section {
    padding: 3rem 1.25rem;
  }

  .s101-section-inner {
    padding: 3rem 1.25rem;
  }

  .s101-hero-stats {
    gap: .65rem;
  }

  .s101-stat-card {
    padding: 1rem 1rem;
    min-width: 100px;
  }

  .s101-stat-val {
    font-size: 1.8rem;
  }
}

@media (max-width: 400px) {
  .s101-hero h1 {
    font-size: 1.75rem;
  }

  .s101-compare-grid {
    grid-template-columns: 1fr;
  }
}

/* ════════════════════════════════════════
   UTILITAIRES
════════════════════════════════════════ */
.s101-text-accent { color: var(--s101-accent); }
.s101-text-solar  { color: var(--s101-solar); }
.s101-text-bat    { color: var(--s101-bat); }
.s101-text-warn   { color: var(--s101-warn); }
.s101-text-muted  { color: var(--s101-muted); }
.s101-bold        { font-weight: 700; }

.s101-btn-primary {
  display: inline-block;
  background: #00ff88;
  color: #000000;
  font-weight: 800;
  padding: .7rem 1.75rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  font-size: .9rem;
  transition: transform .15s, box-shadow .15s;
  text-decoration: none;
}

.s101-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0,255,136,0.35);
  color: #000000;
}

.s101-btn-outline {
  display: inline-block;
  background: transparent;
  border: 1px solid var(--s101-accent);
  color: var(--s101-accent);
  font-weight: 700;
  padding: .7rem 1.75rem;
  border-radius: 100px;
  cursor: pointer;
  font-size: .9rem;
  transition: all .2s;
  text-decoration: none;
}

.s101-btn-outline:hover {
  background: rgba(0,255,136,0.1);
}
