/* ventedeliens.fr : blocs de lecture guidée (infographies, encadrés, pour/contre, notes) */
.temps-lecture { display: inline-flex; align-items: center; gap: .35rem; color: rgba(255,255,255,.6); font-size: .85rem; }
.a-retenir { background: linear-gradient(135deg, var(--vdl-bleu-pale), #fff 80%); border: 1px solid #cfdcfb; border-radius: var(--vdl-rayon); padding: 1.4rem 1.6rem; margin: 0 0 2.2rem; }
.a-retenir-titre { font-family: var(--vdl-titre); font-weight: 800; color: var(--vdl-nuit); margin-bottom: .8rem; }
.a-retenir ul { list-style: none; padding: 0; margin: 0; }
.a-retenir li { position: relative; padding-left: 1.7rem; margin-bottom: .55rem; line-height: 1.55; font-size: 1rem; }
.a-retenir li::before { content: "→"; position: absolute; left: 0; color: var(--vdl-bleu); font-weight: 800; }

.bloc { position: relative; border-radius: 14px; padding: 1.1rem 1.3rem 1.1rem 3.6rem; margin: 1.8rem 0; font-size: 1rem; line-height: 1.65; }
.bloc::before { position: absolute; left: 1.1rem; top: 1.05rem; width: 1.7rem; height: 1.7rem; border-radius: 8px; display: grid; place-items: center; font-weight: 800; font-size: .95rem; }
.bloc p:last-child, .bloc ul:last-child { margin-bottom: 0; }
.bloc-titre { display: block; font-weight: 700; margin-bottom: .2rem; }
.bloc-astuce { background: #e9f8f2; border: 1px solid #bfe8d8; }
.bloc-astuce::before { content: "✓"; background: var(--vdl-vert); color: #fff; }
.bloc-astuce .bloc-titre { color: #0b7a58; }
.bloc-attention { background: #fff5ec; border: 1px solid #ffd7b8; }
.bloc-attention::before { content: "!"; background: var(--vdl-accent); color: #fff; }
.bloc-attention .bloc-titre { color: #c2410c; }
.bloc-experience { background: #f3f0ff; border: 1px solid #ddd3ff; }
.bloc-experience::before { content: "JF"; background: linear-gradient(135deg, var(--vdl-accent), #ffb347); color: #fff; font-size: .62rem; border-radius: 50%; }
.bloc-experience .bloc-titre { color: #5b3ee8; }
.bloc-info { background: var(--vdl-fond); border: 1px solid var(--vdl-trait); }
.bloc-info::before { content: "i"; background: var(--vdl-bleu); color: #fff; font-family: Georgia, serif; }
.bloc-info .bloc-titre { color: var(--vdl-bleu-fonce); }

.chiffres { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .8rem; margin: 1.8rem 0; }
.chiffre { background: #fff; border: 1px solid var(--vdl-trait); border-radius: 14px; padding: 1.1rem 1rem; text-align: center; }
.chiffre strong { display: block; font-family: var(--vdl-titre); font-size: 1.7rem; font-weight: 800; color: var(--vdl-bleu); line-height: 1.1; }
.chiffre span { display: block; color: var(--vdl-gris); font-size: .86rem; line-height: 1.4; margin-top: .35rem; }
.chiffre.orange strong { color: var(--vdl-accent); }
.chiffre.vert strong { color: var(--vdl-vert); }

.contenu .etapes { margin: 1.8rem 0; }
.contenu .etape { font-size: .98rem; line-height: 1.55; }

/* Infographies */
.infographie { background: #fff; border: 1px solid var(--vdl-trait); border-radius: 18px; padding: 1.5rem; margin: 2rem 0; box-shadow: var(--vdl-ombre); }
.infographie-titre { font-family: var(--vdl-titre); font-weight: 800; font-size: 1.05rem; color: var(--vdl-nuit); margin-bottom: .2rem; }
.infographie-sous { color: var(--vdl-gris); font-size: .88rem; margin-bottom: 1.3rem; }
.infographie figcaption, .capture figcaption { color: var(--vdl-gris); font-size: .85rem; margin-top: 1rem; text-align: center; line-height: 1.45; }
.frise { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: .7rem; }
.frise-etape { position: relative; text-align: center; padding: 1rem .6rem; border-radius: 12px; background: var(--vdl-fond); }
.frise-etape::after { content: "→"; position: absolute; right: -.62rem; top: 50%; transform: translateY(-50%); color: #9aa8c4; font-weight: 800; z-index: 1; }
.frise-etape:last-child::after { display: none; }
.frise-etape b { display: block; font-family: var(--vdl-titre); color: var(--vdl-nuit); font-size: .95rem; line-height: 1.25; }
.frise-etape span { display: block; font-size: .8rem; color: var(--vdl-gris); margin-top: .3rem; line-height: 1.35; }
.frise-etape i { display: inline-block; font-style: normal; font-size: .72rem; font-weight: 700; color: var(--vdl-accent-fonce); background: var(--vdl-accent-pale); padding: .15rem .5rem; border-radius: 99px; margin-top: .5rem; }

.jauges { display: grid; gap: 1.6rem; padding-bottom: .6rem; }
.jauge-ligne { display: grid; grid-template-columns: 9.5rem 1fr; gap: .9rem; align-items: center; font-size: .9rem; }
.jauge-nom { font-weight: 700; color: var(--vdl-nuit); line-height: 1.3; }
.jauge-nom small { display: block; font-weight: 400; color: var(--vdl-gris); }
.jauge { position: relative; height: 30px; border-radius: 10px; background: linear-gradient(90deg, #ffdede 0%, #ffe9cf var(--seuil), #d8f3e8 var(--seuil), #b9ecd7 100%); }
.jauge-repere { position: absolute; top: -5px; bottom: -5px; width: 2px; background: var(--vdl-nuit); }
.jauge-repere span { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: .72rem; font-weight: 700; color: var(--vdl-nuit); margin-top: 3px; }
.jauge-zone { z-index: 1; position: absolute; top: 50%; transform: translateY(-50%); font-size: .72rem; font-weight: 700; padding: 0 .55rem; }
.jauge-zone.bas { left: 0; color: #b42318; }
.jauge-zone.haut { display: none; }

.barres { display: grid; gap: .7rem; }
.barre-ligne { display: grid; grid-template-columns: 9rem 1fr 6.5rem; gap: .7rem; align-items: center; font-size: .9rem; }
.barre-ligne > span:first-child { font-weight: 600; color: var(--vdl-nuit); line-height: 1.3; }
.barre { height: 12px; border-radius: 99px; background: var(--vdl-fond); overflow: hidden; }
.barre i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--vdl-bleu), #6f95ff); }
.barre i.orange { background: linear-gradient(90deg, var(--vdl-accent), #ffb347); }
.barre i.vert { background: linear-gradient(90deg, var(--vdl-vert), #4fd1a5); }
.barre i.gris { background: #c7cfdf; }
.barre-val { text-align: right; font-weight: 700; color: var(--vdl-nuit); white-space: nowrap; }

.duel { display: grid; grid-template-columns: 1fr 8.5rem 1fr; gap: .55rem .8rem; align-items: center; font-size: .9rem; }
.duel-tete { font-family: var(--vdl-titre); font-weight: 800; color: var(--vdl-nuit); font-size: 1.05rem; }
.duel-tete.droite { text-align: right; }
.duel-critere { text-align: center; color: var(--vdl-gris); font-size: .82rem; line-height: 1.25; }
.duel .barre { transform: scaleX(-1); }
.duel .barre.droite { transform: none; }

.podium { display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: .7rem; align-items: end; text-align: center; }
.podium-marche { border-radius: 14px 14px 0 0; padding: 1rem .5rem; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; }
.podium-marche b { display: block; font-family: var(--vdl-titre); font-size: 1.05rem; }
.podium-marche span { display: block; font-size: .78rem; opacity: .9; margin-top: .2rem; line-height: 1.3; }
.podium-rang { font-family: var(--vdl-titre); font-size: 1.7rem; font-weight: 800; line-height: 1; margin-bottom: .4rem; }
.podium-1 { background: linear-gradient(180deg, #ffb347, var(--vdl-accent)); min-height: 175px; }
.podium-2 { background: linear-gradient(180deg, #6f95ff, var(--vdl-bleu)); min-height: 135px; }
.podium-3 { background: linear-gradient(180deg, #4fd1a5, var(--vdl-vert)); min-height: 105px; }

.choix { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: .8rem; margin: 1.8rem 0; }
.choix-carte { border: 1px solid var(--vdl-trait); border-radius: 14px; padding: 1.1rem 1.2rem; background: #fff; font-size: .95rem; line-height: 1.5; border-top: 4px solid var(--vdl-bleu); }
.choix-carte.orange { border-top-color: var(--vdl-accent); }
.choix-carte.vert { border-top-color: var(--vdl-vert); }
.choix-si { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--vdl-gris); margin-bottom: .3rem; }
.choix-carte b { display: block; font-family: var(--vdl-titre); color: var(--vdl-nuit); font-size: 1.02rem; margin-bottom: .45rem; }
.choix-carte a { font-weight: 600; }

/* Pour / contre (généré depuis les tableaux « Points forts / Limites ») */
.pour-contre { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.5rem 0 2rem; }
.pc-colonne { border-radius: 16px; padding: 1.2rem 1.3rem; }
.pc-colonne.pour { background: #ecf9f4; border: 1px solid #c3eadb; }
.pc-colonne.contre { background: #fff4ee; border: 1px solid #ffd9c4; }
.pc-titre { font-family: var(--vdl-titre); font-weight: 800; margin-bottom: .7rem; }
.pour .pc-titre { color: #0b7a58; }
.contre .pc-titre { color: #c2410c; }
.pc-colonne ul { list-style: none; padding: 0; margin: 0; font-size: .95rem; line-height: 1.5; }
.pc-colonne li { position: relative; padding-left: 1.6rem; margin-bottom: .6rem; }
.pour li::before { content: "+"; position: absolute; left: 0; top: -.1rem; color: var(--vdl-vert); font-weight: 800; font-size: 1.15rem; }
.contre li::before { content: "−"; position: absolute; left: 0; top: -.1rem; color: var(--vdl-accent); font-weight: 800; font-size: 1.15rem; }

/* Note */
.note-bloc { display: flex; align-items: center; gap: 1.2rem; background: var(--vdl-nuit); color: #fff; border-radius: 16px; padding: 1.2rem 1.4rem; margin: 1rem 0 1.5rem; }
.note-cercle { flex: 0 0 auto; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--vdl-accent) calc(var(--note) * 1%), rgba(255,255,255,.12) 0); }
.note-cercle span { width: 60px; height: 60px; border-radius: 50%; background: var(--vdl-nuit); display: grid; place-items: center; font-family: var(--vdl-titre); font-weight: 800; font-size: 1.1rem; }
.note-bloc p { margin: 0; color: rgba(255,255,255,.85); font-size: .95rem; line-height: 1.5; }
.note-bloc strong { color: #fff; }

/* Captures */
.capture { margin: 2rem 0; }
.capture-cadre { border-radius: 14px; overflow: hidden; border: 1px solid var(--vdl-trait); box-shadow: var(--vdl-ombre); background: #fff; }
.capture-barre { display: flex; align-items: center; gap: .35rem; padding: .55rem .8rem; background: #eef1f7; border-bottom: 1px solid var(--vdl-trait); }
.capture-barre i { width: 10px; height: 10px; border-radius: 50%; background: #d3d9e6; }
.capture-barre span { margin-left: .6rem; font-size: .75rem; color: var(--vdl-gris); background: #fff; border-radius: 6px; padding: .15rem .6rem; flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.capture img { display: block; width: 100%; height: auto; }

/* Sommaire mobile, suite de lecture */
.sommaire-mobile { border: 1px solid var(--vdl-trait); border-radius: 14px; margin-bottom: 1.8rem; background: #fff; }
.sommaire-mobile summary { list-style: none; cursor: pointer; padding: .9rem 1.1rem; font-weight: 700; color: var(--vdl-nuit); display: flex; justify-content: space-between; }
.sommaire-mobile summary::-webkit-details-marker { display: none; }
.sommaire-mobile summary::after { content: "▾"; color: var(--vdl-bleu); }
.sommaire-mobile[open] summary::after { content: "▴"; }
.sommaire-mobile ol { margin: 0; padding: 0 1.1rem 1rem 2.4rem; font-size: .95rem; }
.sommaire-mobile a { text-decoration: none; }
.suite { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding: 1.4rem 1.6rem; border-radius: 16px; background: linear-gradient(120deg, var(--vdl-bleu) 0%, #5b3ee8 100%); color: #fff; text-decoration: none; transition: transform .2s; }
.suite:hover { color: #fff; transform: translateY(-2px); }
.suite small { display: block; text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; opacity: .75; font-weight: 700; }
.suite b { font-family: var(--vdl-titre); font-size: 1.15rem; line-height: 1.3; }
.suite-fleche { font-size: 1.6rem; font-weight: 800; }

@media (max-width: 575.98px) {
  .pour-contre { grid-template-columns: 1fr; }
  .jauge-ligne { grid-template-columns: 1fr; gap: .4rem; }
  .barre-ligne { grid-template-columns: 1fr 3.6rem; }
  .barre-ligne > span:first-child { grid-column: 1 / -1; }
  .frise { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
  .frise-etape::after { display: none; }
  .duel { grid-template-columns: 1fr 5.5rem 1fr; }
  .podium-marche b { font-size: .88rem; }
  .bloc { padding: 3rem 1.1rem 1rem; }
  .bloc::before { top: .9rem; }
}

/* Simulateur */
.sim-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.6rem; margin-bottom: 1.2rem; }
.sim-grille label { display: block; font-size: .9rem; font-weight: 600; color: var(--vdl-nuit); line-height: 1.35; }
.sim-grille output { float: right; font-family: var(--vdl-titre); font-weight: 800; color: var(--vdl-bleu); }
.sim-grille input[type=range] { display: block; width: 100%; margin-top: .45rem; accent-color: var(--vdl-accent); }
.sim-resultats { margin: .5rem 0 0; }
@media (max-width: 575.98px) { .sim-grille { grid-template-columns: 1fr; } }
