/* Les programmes de base du sur-mesure (page d'étude, 11 octobre 2026).
   Couleurs de la palette seulement : encre, accent or, bleu, rouge. */
.etude { background: var(--accent); color: var(--encre); text-align: center; font-size: 14px; font-weight: 600; padding: 10px 16px; position: relative; z-index: 60; }

/* Le programme choisi : la même bande bleue que le questionnaire, le texte
   à gauche, l'encadré à filet d'or à droite (Thomas, 11 octobre 2026). */
.prog .prog__chiffres { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.prog__chiffres span { font-size: 13px; font-weight: 600; color: var(--accent); border: 1px solid rgba(224,163,60,.45); border-radius: 99px; padding: 5px 12px; }
.prog .prog__non { font-size: 14px; line-height: 1.55; color: var(--gris); margin: 16px 0 0; }
/* Le jour par jour tient en une ligne par jour : le numéro, le titre, une
   pastille de couleur ; un toucher déplie la journée, une seule à la fois
   (`name` sur les <details>). Thomas, 11 octobre 2026 : la liste dépliée
   faisait défiler trop longtemps. */
.prog .prog__legende { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: -4px 0 12px; font-size: 13px; color: rgba(255,255,255,.75); }
.prog__leg::before, .prog__tag::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #5b8ff0; margin-right: 6px; vertical-align: 1px; }
.prog__leg--libre::before, .prog__jour--libre .prog__tag::before { background: var(--accent); }
.prog__leg--transfert::before, .prog__jour--transfert .prog__tag::before { background: rgba(255,255,255,.45); }
.prog__jours { list-style: none; margin: 0 0 26px; padding: 0; border-top: 1px solid rgba(255,255,255,.12); }
.prog__jour { border-bottom: 1px solid rgba(255,255,255,.12); }
.prog__jour summary { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 6px 2px; cursor: pointer; list-style: none; }
.prog__jour summary::-webkit-details-marker { display: none; }
.prog__jour summary::after { content: ""; flex-shrink: 0; width: 7px; height: 7px; border-right: 2px solid rgba(255,255,255,.55); border-bottom: 2px solid rgba(255,255,255,.55); transform: rotate(45deg) translateY(-2px); transition: transform .2s ease; }
.prog__jour details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.prog__jour summary:hover .prog__titre { color: var(--accent); }
.prog__n { flex-shrink: 0; width: 30px; font-family: var(--titre); font-size: 13px; font-weight: 700; color: var(--gris); }
.prog__titre { flex: 1; font-family: var(--titre); font-size: 15px; line-height: 1.3; color: #fff; }
/* L'étiquette se lit en entier sur ordinateur ; au téléphone, la pastille
   suffit, la légende au-dessus dit ce qu'elle veut dire. */
.prog__tag { flex-shrink: 0; font-size: 12.5px; color: rgba(255,255,255,.7); white-space: nowrap; }
.prog__jour p { font-size: 14.5px; line-height: 1.55; color: rgba(255,255,255,.82); margin: 0 0 12px 42px; }
@media (max-width: 600px) {
  .prog__tag { font-size: 0; }
  .prog__tag::before { margin-right: 0; }
  .prog__jour p { margin-left: 0; }
}
.calc { border-top: 1px solid rgba(224,163,60,.34); padding-top: 22px; }
@media (max-width: 980px) {
  .prog .devis > .prog__encadre { order: 2; margin-bottom: 30px; }
}

.calc__ligne { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 15.5px; }
.calc__ligne small { display: block; font-size: 13px; color: rgba(255,255,255,.65); }
.calc__pas { display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; }
.calc__pas button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: transparent; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.calc__pas button:hover { border-color: var(--accent); color: var(--accent); }
.calc__pas output { min-width: 32px; text-align: center; font-family: var(--titre); font-weight: 700; font-size: 18px; }
.calc .calc__chambres { font-size: 14px; color: rgba(255,255,255,.75); margin: 12px 0 0; }
.calc .calc__total { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 10px 0 16px; font-size: 15px; }
.calc__total b { font-family: var(--titre); font-size: 30px; color: var(--accent); }
.calc__total small { flex-basis: 100%; font-size: 14px; color: rgba(255,255,255,.8); }
.calc .calc__coches { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 4px; font-size: 14px; color: #fff; }
.calc .calc__compris { margin: -8px 0 6px; font-size: 13.5px; line-height: 1.5; color: rgba(255,255,255,.85); }
@media (max-width: 600px) {
  .calc__pas button { width: 40px; height: 40px; }
}

/* La grille de choix : deux tuiles par ligne, téléphone compris ; le
   sur-mesure ferme la grille sur toute la largeur. `.band` est en flex :
   sans la règle `[hidden]` explicite, une section cachée resterait affichée. */
#questionnaire[hidden], #programme-panneau[hidden], .prog[hidden], .band.prog[hidden] { display: none !important; }
.tuiles-progs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 760px; margin: 0 auto; }
.tuile-prog {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  text-align: center; min-height: 132px; padding: 18px 12px;
  background: #fff; border: 2px solid rgba(16,39,90,.12); border-radius: 18px;
  box-shadow: 0 10px 30px rgba(16,39,90,.08); cursor: pointer; font: inherit; color: var(--encre);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.tuile-prog:hover { transform: translateY(-2px); border-color: rgba(42,106,228,.45); }
.tuile-prog b { font-family: var(--titre); font-size: 17px; line-height: 1.25; }
.tuile-prog span { font-size: 14px; color: var(--gris-fonce); }
.tuile-prog .tuile-prog__prix { font-weight: 600; color: var(--rouge); font-size: 15px; }
.tuile-prog[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(224,163,60,.35), 0 10px 30px rgba(16,39,90,.1); }
.tuile-prog--large { grid-column: 1 / -1; min-height: 96px; background: var(--encre); color: #fff; border-color: var(--encre); }
.tuile-prog--large span { color: rgba(255,255,255,.8); }
.tuile-prog--large .tuile-prog__prix { color: var(--accent); }
@media (max-width: 600px) {
  .tuiles-progs { gap: 10px; }
  .tuile-prog { min-height: 120px; padding: 14px 8px; }
  .tuile-prog b { font-size: 15.5px; }
  .tuile-prog span { font-size: 13.5px; }
}
.tuile-prog small { font-size: 12.5px; color: var(--gris-fonce); }
#programme-panneau, #questionnaire { scroll-margin-top: 80px; }
/* L'option 4★ à Moscou : toute la ligne se touche, la case à droite. */
.calc__option { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; cursor: pointer; }
.calc__option input { width: 26px; height: 26px; flex-shrink: 0; accent-color: var(--accent); cursor: pointer; }
