.plan .o-zone .conteneur { max-width: 1120px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pl-questions { padding: 28px clamp(20px, 4vw, 40px) 22px; }
.pl-tete { margin-bottom: 22px; }
.pl-etape { margin: 0 0 8px; font-size: .85rem; font-weight: 600; color: var(--gris-texte); }
.pl-barre, .pl-jauge { height: 6px; border-radius: 99px; background: var(--gris-ligne); overflow: hidden; }
.pl-barre i, .pl-jauge i { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--action); transition: width .35s ease; }
.pl-q { border: 0; margin: 0; padding: 0; min-width: 0; }
.pl-q legend { padding: 0; font-family: var(--police-titre); font-size: clamp(1.4rem, 3vw, 1.85rem); font-weight: 700; color: var(--nuit); letter-spacing: -.01em; margin-bottom: 8px; }
.pl-aide { margin: 0 0 18px; color: var(--gris-texte); }
.pl-q > input[type=date] { margin-top: 6px; max-width: 260px; font-size: 1.1rem; }
.pl-choix { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.pl-choix label { position: relative; display: grid; gap: 4px; padding: 16px 18px; border: 1.5px solid var(--gris-ligne); border-radius: var(--r-m); background: var(--blanc); cursor: pointer; transition: border-color .15s, background .15s, transform .1s; }
.pl-choix label:hover { border-color: #b9cfe9; }
.pl-choix label:active { transform: scale(.99); }
.pl-choix input { position: absolute; opacity: 0; pointer-events: none; }
.pl-choix b { font-size: 1.05rem; color: var(--encre); }
.pl-choix span { font-size: .9rem; color: var(--gris-texte); }
.pl-choix label:has(input:checked) { border-color: var(--action); background: var(--action-doux); }
.pl-choix label:has(input:focus-visible) { outline: 3px solid rgba(0, 113, 227, .35); outline-offset: 2px; }
.pl-champs { display: grid; grid-template-columns: 1.4fr 1fr .8fr; gap: 14px; }
.pl-champs label, .pl-enfants { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; color: var(--encre); }
.pl-enfants { margin-top: 16px; max-width: 200px; }
.pl-manque .pl-choix label { border-color: #f0b4b9; }
.pl-manque legend::after { content: " · choisissez une réponse"; font-size: .9rem; font-weight: 500; color: var(--danger); }
.pl-nav { display: flex; align-items: center; gap: 12px; margin-top: 26px; }
.pl-nav #pl-suite { margin-left: auto; }
.pl-passer { background: none; border: 0; color: var(--action); font: inherit; font-size: .95rem; cursor: pointer; padding: 8px 4px; }
.pl-passer:hover { text-decoration: underline; }
.pl-entree { margin: 8px 0 0; text-align: right; font-size: .78rem; color: var(--gris-texte); }
@media (hover: none) { .pl-entree { display: none; } }
.pl-resume { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px 32px; align-items: start; padding: 26px clamp(20px, 4vw, 34px); margin-bottom: 26px; background: linear-gradient(135deg, var(--nuit) 0%, #163a66 100%); color: #fff; border: 0; }
.pl-etiquette { margin: 0 0 6px; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8fc1ff; }
.pl-resume h2 { margin: 0 0 14px; font-size: clamp(1.35rem, 3vw, 1.75rem); color: #fff; }
.pl-progres { margin: 0 0 8px; font-size: .9rem; color: rgba(255, 255, 255, .75); }
.pl-resume .pl-jauge { background: rgba(255, 255, 255, .18); }
.pl-resume .pl-jauge i { background: #4da3ff; }
.pl-dates { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pl-dates li { display: grid; grid-template-columns: 86px 1fr; gap: 12px; align-items: center; padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .08); }
.pl-dates b { font-family: var(--police-titre); font-size: 1.25rem; white-space: nowrap; }
.pl-dates span { font-size: .88rem; line-height: 1.35; color: rgba(255, 255, 255, .85); }
.pl-dates li.urgent { background: rgba(255, 159, 10, .2); }
.pl-dates li.urgent b { color: #ffc46b; }
.pl-frise { list-style: none; margin: 0 0 26px; padding: 0; position: relative; }
.pl-frise::before { content: ""; position: absolute; left: 19px; top: 20px; bottom: 30px; width: 2px; background: var(--gris-ligne); }
.pl-bloc { position: relative; padding-left: 56px; margin-bottom: 22px; }
.pl-bloc-tete { display: flex; align-items: center; gap: 14px; margin: 0 0 12px -56px; }
.pl-num { position: relative; z-index: 1; flex-shrink: 0; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blanc); border: 2px solid var(--gris-ligne); font-weight: 700; color: var(--gris-texte); }
.pl-bloc-tete h3 { margin: 0; font-size: 1.2rem; color: var(--nuit); }
.pl-bloc-tete p { margin: 2px 0 0; font-size: .85rem; color: var(--gris-texte); }
.pl-ici { margin-left: auto; padding: 4px 12px; border-radius: 99px; background: var(--action); color: #fff; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.pl-bloc.ici .pl-num { background: var(--action); border-color: var(--action); color: #fff; box-shadow: 0 0 0 6px var(--action-doux); }
.pl-bloc.passee .pl-num { background: var(--ok-doux); border-color: var(--ok); color: var(--ok); }
.pl-bloc.passee .pl-items { opacity: .7; }
.pl-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pl-item { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: var(--r-m); background: var(--blanc); border: 1px solid var(--gris-ligne); }
.pl-bloc.ici .pl-item { box-shadow: var(--ombre); border-color: #cfe1f7; }
.pl-coche input { width: 22px; height: 22px; accent-color: var(--ok); cursor: pointer; margin: 0; }
.pl-txt h4 { margin: 0 0 3px; font-size: 1rem; color: var(--encre); }
.pl-txt p { margin: 0; font-size: .88rem; color: var(--gris-texte); line-height: 1.4; }
.pl-item.fait .pl-txt h4 { text-decoration: line-through; color: var(--gris-texte); }
.pl-date { display: inline-block; margin-top: 6px; padding: 2px 10px; border-radius: 99px; background: var(--action-doux); color: var(--action); font-size: .8rem; font-weight: 600; }
.pl-date.proche { background: var(--alerte-doux); color: var(--alerte); }
.pl-date.passee { background: #fff1f2; color: var(--danger); }
.pl-item .btn { white-space: nowrap; flex-direction: column; gap: 0; line-height: 1.15; }
.pl-pre { display: block; font-style: normal; font-size: .68rem; font-weight: 500; opacity: .8; }
@media (max-width: 720px) {
  .pl-resume { grid-template-columns: 1fr; }
  .pl-champs { grid-template-columns: 1fr 1fr; }
  .pl-champs label:first-child { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .pl-choix { grid-template-columns: 1fr; }
  .pl-nav { flex-wrap: wrap; }
  .pl-item { grid-template-columns: auto 1fr; }
  .pl-item .btn { grid-column: 2; justify-self: start; }
  .pl-frise::before { left: 15px; }
  .pl-bloc { padding-left: 44px; }
  .pl-bloc-tete { margin-left: -44px; }
  .pl-num { width: 32px; height: 32px; font-size: .9rem; }
  .pl-dates li { grid-template-columns: 70px 1fr; }
}
@media print {
  .pl-resume { background: none; color: var(--encre); border: 1px solid var(--gris-ligne); }
  .pl-resume h2, .pl-dates span { color: var(--encre); }
  .pl-item .btn { display: none; }
  .pl-item, .pl-bloc { break-inside: avoid; }
}
.pl-prix { display: inline-block; margin-left: 8px; padding: 1px 9px; border-radius: 99px; background: #e6f6ec; color: #17803d; font-size: .75rem; font-weight: 700; vertical-align: 2px; text-decoration: none; }
.pl-mode { padding: 18px 22px; margin-bottom: 26px; }
.pl-mode-titre { margin: 0 0 10px; font-weight: 700; color: var(--nuit); }
.pl-mode ol { margin: 0; padding-left: 1.3em; display: grid; gap: 6px; font-size: .92rem; color: var(--gris-texte); line-height: 1.45; }
.pl-mode b { color: var(--encre); }
.pl-mise:not([hidden]) { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; align-items: start; }
.pl-outils details { position: sticky; top: calc(var(--entete) + 20px); background: var(--blanc); border-radius: var(--r-m); box-shadow: var(--ombre); padding: 18px; }
.pl-outils { align-self: stretch; }
.pl-outils summary { list-style: none; cursor: default; }
.pl-outils summary::-webkit-details-marker { display: none; }
.pl-outils-titre { display: block; font-family: var(--police-titre); font-size: 1.1rem; font-weight: 650; color: var(--nuit); }
.pl-outils-bouton { display: none; }
.pl-outils-aide { margin: 2px 0 12px; font-size: .82rem; color: var(--gris-texte); }
.pl-outils ul { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.pl-outils li a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; background: var(--action-doux); text-decoration: none; }
.pl-outils li a:hover { background: #dcebfc; }
.pl-outils li b { font-size: .92rem; color: var(--action); }
.pl-outils li span { font-size: .8rem; color: var(--gris-texte); }
.pl-outils-tous { font-size: .88rem; font-weight: 600; }
@media (max-width: 1000px) {
  .pl-mise:not([hidden]) { display: block; }
  .pl-principal { padding-bottom: 70px; }
  .pl-outils details { position: fixed; top: auto; left: 12px; right: 12px; bottom: 12px; z-index: 45; padding: 0; max-width: 520px; margin: 0 auto; box-shadow: 0 14px 40px -10px rgba(11, 31, 58, .35); }
  .pl-outils summary { cursor: pointer; padding: 0; }
  .pl-outils-titre { display: none; }
  .pl-outils-bouton { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: var(--r-m); background: var(--action); color: #fff; font-weight: 600; }
  .pl-outils-bouton::after { content: "▴"; font-size: .9rem; }
  .pl-outils details[open] .pl-outils-bouton { border-radius: var(--r-m) var(--r-m) 0 0; }
  .pl-outils details[open] .pl-outils-bouton::after { content: "▾"; }
  .pl-outils details[open] > :not(summary) { margin-left: 16px; margin-right: 16px; }
  .pl-outils details[open] .pl-outils-aide { margin-top: 12px; }
  .pl-outils details[open] .pl-outils-tous { display: inline-block; margin-bottom: 16px; }
}
@media print { .pl-outils { display: none !important; } .pl-mise:not([hidden]) { display: block; } }
.pl-reponses { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 16px 22px; margin-bottom: 18px; }
.pl-puces-rep { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pl-puces-rep li { padding: 4px 12px; border-radius: 99px; background: var(--gris-fond); font-size: .85rem; color: var(--encre); }
.pl-item { grid-template-columns: auto 1fr; align-items: start; padding: 0; gap: 0; }
.pl-coche { padding: 16px 0 16px 16px; }
.pl-volet > summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer; }
.pl-volet > summary::-webkit-details-marker, .pl-bloc-volet > summary::-webkit-details-marker { display: none; }
.pl-bloc-volet > summary { list-style: none; cursor: pointer; }
.pl-t { display: block; font-weight: 650; font-size: 1rem; color: var(--encre); }
.pl-item.fait .pl-t { text-decoration: line-through; color: var(--gris-texte); }
.pl-txt { flex: 1; }
.pl-fleche { flex-shrink: 0; width: 10px; height: 10px; margin-right: 4px; border-right: 2px solid var(--gris-texte); border-bottom: 2px solid var(--gris-texte); transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
details[open] > summary .pl-fleche { transform: rotate(-135deg) translateY(-2px); }
.pl-bloc-tete .pl-fleche { margin-left: auto; }
.pl-corps { padding: 0 16px 16px; font-size: .9rem; color: var(--gris-texte); line-height: 1.5; }
.pl-corps > p { margin: 0 0 8px; }
.pl-corps ul { margin: 0 0 10px; padding-left: 1.2em; display: grid; gap: 4px; }
.pl-corps ul li { color: var(--encre); }
.pl-deja { padding: 8px 12px; border-radius: 12px; background: var(--ok-doux); color: var(--encre); }
.pl-liens { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pl-liens .btn { flex-direction: column; gap: 0; line-height: 1.15; }
.pl-bloc.passee .pl-items { opacity: 1; margin-top: 12px; }
.pl-bloc.passee .pl-bloc-tete h3 { color: var(--gris-texte); }
@media (max-width: 520px) {
  .pl-item { grid-template-columns: auto 1fr; }
  .pl-coche { padding: 14px 0 14px 12px; }
  .pl-volet > summary { padding: 12px; }
  .pl-corps { padding: 0 12px 14px; }
}
@media print {
  .pl-reponses .btn, .pl-mode, .pl-fleche { display: none !important; }
  .pl-item { border: 1px solid var(--gris-ligne); }
}
.pl-anime > :not(summary) { animation: pl-apparait .35s ease both; }
@keyframes pl-apparait { from { opacity: 0; transform: translateY(-4px); } }
.pl-fleche { transition: transform .3s cubic-bezier(.22,.8,.25,1); }
@media (prefers-reduced-motion: reduce) { .pl-anime > :not(summary) { animation: none; } }
.pl-mise:not([hidden]) { grid-template-columns: minmax(0, 1fr) 230px; gap: 24px; }
.pl-outils details { background: var(--nuit); color: #fff; padding: 14px; border-radius: 16px; box-shadow: 0 14px 34px -14px rgba(11, 31, 58, .55); }
.pl-outils-titre { font-size: .98rem; color: #fff; }
.pl-outils-aide { margin: 2px 0 10px; font-size: .76rem; color: rgba(255, 255, 255, .62); }
.pl-outils ul { gap: 6px; margin-bottom: 10px; }
.pl-outils li a { padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .08); transition: background .2s; }
.pl-outils li a:hover { background: rgba(255, 255, 255, .16); }
.pl-outils li b { font-size: .84rem; color: #fff; }
.pl-outils li span { font-size: .72rem; color: rgba(255, 255, 255, .6); }
.pl-outils-tous { font-size: .8rem; color: #9cc6ff; }
@media (max-width: 1000px) {
  .pl-outils details { padding: 0; }
  .pl-outils-bouton { min-height: 46px; font-size: .92rem; }
  .pl-outils details[open] .pl-outils-bouton { background: transparent; }
}
.pl-mise:not([hidden]) { grid-template-columns: minmax(0, 1fr) 220px; }
.pl-outils-btn { position: sticky; top: calc(var(--entete) + 20px); display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 99px; background: var(--action); color: #fff; font-weight: 600; font-size: .92rem; text-decoration: none; box-shadow: 0 10px 26px -12px rgba(11, 31, 58, .45); transition: transform .2s, background .2s; }
.pl-outils-btn:hover { background: #1f6fd6; transform: translateY(-1px); color: #fff; }
@media (max-width: 1000px) {
  .pl-outils-btn { position: fixed; top: auto; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 45; width: max-content; }
  .pl-outils-btn:hover { transform: translateX(-50%); }
}
.pl-calc { margin: 14px 0 4px; border: 1px solid #dfe6f0; border-radius: 14px; overflow: hidden; background: #fff; }
.pl-calc iframe { display: block; width: 100%; height: 420px; border: 0; }
@media print { .pl-calc { display: none; } }
