/* Espace programmateurs */
.pro-acces, .pro-devis, .pro-dispos, .pro-bandeau { --pro-bleu: #163f50; --pro-clair: #e4eff3; --pro-gris: #5c6b70; box-sizing: border-box; }
.pro-acces *, .pro-devis * { box-sizing: border-box; }
.pro-bandeau { background: var(--pro-clair); border-left: 4px solid var(--pro-bleu); border-radius: 10px; padding: 14px 18px; margin: 1.5em 0; }
.pro-bandeau a { color: var(--pro-bleu); margin-left: .5em; }
.pro-acces { background: #fff; border: 1px solid #d6dde0; border-radius: 16px; padding: 28px; box-shadow: 0 12px 34px rgba(22, 63, 80, .08); margin: 2em 0; }
.pro-acces h2 { margin-top: 0; }
.pro-intro { color: var(--pro-gris); }
.pro-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px 18px; margin: 14px 0; }
.pro-grille label { display: flex; flex-direction: column; gap: 4px; font-size: .92em; font-weight: 600; color: #1d2427; position: relative; }
.pro-grille .pro-large { grid-column: 1 / -1; }
.pro-grille input, .pro-grille select, .pro-grille textarea { font: inherit; font-weight: 400; padding: 10px 12px; border: 1px solid #c7d1d5; border-radius: 8px; background: #fff; width: 100%; }
.pro-grille input:focus, .pro-grille select:focus, .pro-grille textarea:focus { outline: 2px solid var(--pro-bleu); outline-offset: 1px; }
.pro-case { display: flex; gap: 10px; align-items: flex-start; font-size: .9em; color: var(--pro-gris); margin: 10px 0 16px; }
.pro-case input { margin-top: 4px; }
.pro-piege { position: absolute !important; left: -9999px !important; }
.pro-bouton { display: inline-block; background: var(--pro-bleu); color: #fff !important; border: 0; border-radius: 30px; padding: 14px 30px; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none !important; transition: transform .15s, opacity .15s; }
.pro-bouton:hover:not(:disabled) { transform: translateY(-1px); }
.pro-bouton:disabled { opacity: .45; cursor: not-allowed; }
.pro-bouton-2 { background: #fff; color: var(--pro-bleu) !important; border: 2px solid var(--pro-bleu); padding: 8px 18px; margin-left: 8px; }
.pro-message { border-radius: 10px; padding: 14px 16px; }
.pro-message.ok { background: #e7f5ec; color: #1a5c34; }
.pro-message.erreur, .pro-alerte { background: #fdecec; color: #8a1f1f; border-radius: 10px; padding: 12px 16px; }
.pro-devis { margin: 1.5em 0; }
.pro-devis h3 { margin: 1.6em 0 .6em; }
.pro-onglets { display: inline-flex; background: var(--pro-clair); border-radius: 30px; padding: 4px; gap: 4px; }
.pro-onglets button { border: 0; background: transparent; border-radius: 26px; padding: 10px 22px; font: inherit; font-weight: 700; color: var(--pro-bleu); cursor: pointer; }
.pro-onglets button.on { background: var(--pro-bleu); color: #fff; }
.pro-cartes { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.pro-carte { position: relative; display: flex; flex-direction: column; border: 2px solid #dfe6e9; border-radius: 14px; overflow: hidden; cursor: pointer; background: #fff; transition: border-color .15s, box-shadow .15s, transform .15s; }
.pro-carte:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(22, 63, 80, .12); }
.pro-carte input { position: absolute; opacity: 0; }
.pro-carte:has(input:checked) { border-color: var(--pro-bleu); box-shadow: 0 0 0 3px rgba(22, 63, 80, .18); }
.pro-carte:has(input:checked)::after { content: "✓"; position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 50%; background: var(--pro-bleu); color: #fff; font-weight: 700; display: grid; place-items: center; }
.pro-carte-img { display: block; aspect-ratio: 4 / 3; background: #dfe6e9 center / cover no-repeat; }
.pro-carte-nom { padding: 10px 12px 2px; font-weight: 700; line-height: 1.25; }
.pro-carte-prix { padding: 0 12px 12px; font-size: .85em; color: var(--pro-gris); }
.pro-suggestions { position: absolute; top: 100%; left: 0; right: 0; z-index: 20; list-style: none; margin: 4px 0 0; padding: 4px; background: #fff; border: 1px solid #c7d1d5; border-radius: 8px; box-shadow: 0 10px 24px rgba(0, 0, 0, .12); font-weight: 400; }
.pro-suggestions li { padding: 8px 10px; border-radius: 6px; cursor: pointer; }
.pro-suggestions li:hover { background: var(--pro-clair); }
.pro-recap { background: var(--pro-clair); border-radius: 14px; padding: 18px 20px; margin: 1.4em 0; }
.pro-recap table { width: 100%; border-collapse: collapse; }
.pro-recap td { padding: 7px 0; border-bottom: 1px solid rgba(22, 63, 80, .12); vertical-align: top; }
.pro-recap td:last-child { text-align: right; white-space: nowrap; padding-left: 16px; }
.pro-recap tr.t td { font-weight: 700; color: var(--pro-bleu); }
.pro-frais, .pro-mention { font-size: .88em; color: var(--pro-gris); margin: 10px 0 0; }
.pro-note { font-size: .88em; color: var(--pro-gris); }
.pro-dispos { overflow-x: auto; margin: 1em 0; }
.pro-dispos table { border-collapse: separate; border-spacing: 3px; font-size: .82em; min-width: 640px; }
.pro-dispos th { font-weight: 600; text-align: left; white-space: nowrap; padding-right: 8px; color: #1d2427; }
.pro-dispos thead th { text-align: center; font-weight: 700; color: var(--pro-bleu); line-height: 1.1; }
.pro-dispos thead small { display: block; font-weight: 400; color: var(--pro-gris); }
.pro-dispos .pro-famille th { padding-top: 10px; color: var(--pro-bleu); text-transform: uppercase; letter-spacing: .04em; font-size: .9em; }
.pro-dispos td { width: 22px; height: 22px; border-radius: 5px; }
.pro-dispos .libre, .pro-legende .libre { background: #bfe3cc; }
.pro-dispos .partiel, .pro-legende .partiel { background: #f3d58a; }
.pro-dispos .pris, .pro-legende .pris { background: #e7a3a3; }
.pro-legende { font-size: .85em; color: var(--pro-gris); }
.pro-legende span { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin: 0 4px 0 10px; }

.pro-aide { display: block; margin-top: 4px; font-size: 13px; font-weight: 400; color: #8a1f1f; }
.pro-a-corriger, input.pro-a-corriger, select.pro-a-corriger { outline: 2px solid #d64545; outline-offset: 2px; border-radius: 8px; }
.pro-message.erreur ul { margin: 6px 0 0 18px; padding: 0; }
.pro-message.erreur li { margin: 2px 0; }
