/* Calculateur de fûts — mobile et ordinateur */
.keg-calculator{scroll-margin-top:145px}
.keg-panel{background:#f1f3e9;border:1px solid #d7dfd3;border-radius:15px;padding:clamp(20px,4vw,48px);color:#173f35}
.keg-heading{max-width:690px;margin-bottom:30px}
.keg-heading h2{font-size:clamp(30px,4.5vw,48px);margin:9px 0 13px}
.keg-heading p{font-size:15px;line-height:1.7;color:#4b6253}
.keg-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:26px}
.keg-controls{display:flex;flex-direction:column;gap:15px}
.keg-label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:700}
.keg-label input,.keg-label select{width:100%;min-height:47px;box-sizing:border-box;padding:11px 12px;color:#173f35;background:white;border:1px solid #b9c5b6;border-radius:6px;font:inherit;font-weight:400}
.keg-label small{color:#5c7364;font-weight:400;line-height:1.5}
.keg-checkbox{display:flex;align-items:flex-start;gap:12px;cursor:pointer;background:#e3ebd9;border-radius:8px;padding:16px 14px}
.keg-checkbox input{width:20px;height:20px;accent-color:#173f35;flex:0 0 20px;margin:1px 0}
.keg-checkbox span{display:flex;flex-direction:column;gap:4px}
.keg-checkbox strong{font-size:14px;line-height:1.45}
.keg-checkbox small{font-size:12px;line-height:1.55}
.keg-summary{background:#173f35;color:#fff;border-radius:11px;padding:clamp(18px,3vw,30px)}
.keg-measures{display:grid;grid-template-columns:1fr 1fr;gap:15px;padding-bottom:22px;border-bottom:1px solid #ffffff3d}
.keg-measures div{display:flex;flex-direction:column;gap:3px}
.keg-measures span{font-size:12px;color:#dce9d6}
.keg-measures strong{font-size:clamp(23px,3.2vw,34px);font-weight:700;line-height:1.2}
.keg-summary h3{font-size:18px;margin:22px 0 10px;font-family:inherit}
.keg-quantities{font-weight:750;font-size:19px;line-height:1.5}
.keg-spare-hint{font-size:12px;color:#d9e6cf;margin:6px 0 20px}
.keg-price-row{display:flex;justify-content:space-between;align-items:start;gap:13px;border-top:1px solid #ffffff3d;padding:15px 0}
.keg-price-row span{font-size:14px;line-height:1.4}
.keg-price-row small{display:block;font-size:11px;color:#dce9d6;margin-top:4px}
.keg-price-row strong{font-size:clamp(18px,2.6vw,27px);white-space:nowrap;line-height:1.4}
.keg-price-row:first-of-type strong{font-size:17px}
.keg-promise{margin-top:25px;background:#dfe9ce;border-left:4px solid #56754e;padding:19px 22px;border-radius:3px}
.keg-promise strong{font-size:19px}
.keg-promise p{font-size:14px;margin:8px 0 0}
.keg-tiers{margin:23px 0}
.keg-tiers summary{font-weight:700;cursor:pointer;font-size:14px}
.keg-tiers table{border-collapse:collapse;margin:16px 0 0;width:100%;max-width:580px;background:white}
.keg-tiers th,.keg-tiers td{border:1px solid #d9e2d4;padding:9px 12px;text-align:left;font-size:13px}
.keg-tiers th{background:#173f35;color:white}
.keg-buttons{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:22px 0 12px}
.keg-buttons button,.keg-buttons a{min-height:46px;border-radius:5px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;line-height:1.4;padding:12px 17px;font:inherit;font-size:13px;font-weight:700;cursor:pointer;text-align:center}
.keg-button-primary{border:1px solid #173f35;background:#173f35;color:#fff}
.keg-button-secondary{border:1px solid #8ba18c;background:transparent;color:#173f35}
.keg-buttons button:hover,.keg-buttons a:hover{filter:brightness(.94)}
.keg-fine{font-size:12px;line-height:1.6;color:#58705e;margin:9px 0}
.keg-copy-fallback{margin:16px 0}
.keg-copy-fallback label{display:block;font-size:12px;margin-bottom:8px}
.keg-copy-fallback textarea{box-sizing:border-box;width:100%;font-size:12px;padding:10px;border:1px solid #a8b5a5;border-radius:5px}
.keg-prior[hidden],.keg-copy-fallback[hidden]{display:none!important}
@media(max-width:800px){.keg-grid{grid-template-columns:1fr}.keg-measures{gap:10px}}
@media(max-width:500px){.keg-panel{padding:18px}.keg-grid{gap:16px}.keg-summary{padding:19px}.keg-buttons{flex-direction:column;align-items:stretch}.keg-buttons button,.keg-buttons a{width:100%;min-height:50px}.keg-price-row strong{font-size:21px}}

/* Detail du calcul tarifaire — associations / professionnels / particuliers */
.keg-price-breakdown[hidden]{display:none!important}
.keg-price-breakdown{background:#f7f8f0;color:#173f35;border:1px solid #d6e2ce;border-radius:8px;margin:8px 0 20px;padding:17px 18px}
.keg-price-breakdown h4{font-size:16px;margin:0 0 12px;line-height:1.4}
.keg-detail-base{font-size:13px;line-height:1.5;margin:0 0 13px}
.keg-detail-label{font-size:13px;font-weight:700;margin:15px 0 8px}
.keg-tier-line{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr) auto;gap:10px;align-items:baseline;padding:9px 0;border-top:1px solid #dae2d5;font-size:13px;line-height:1.45}
.keg-tier-line strong{white-space:nowrap;text-align:right;font-size:14px}
.keg-detail-savings{display:flex;justify-content:space-between;gap:15px;border-top:1px solid #abc79d;padding:12px 0;font-size:13px;font-weight:700;color:#275f41}
.keg-detail-note{font-size:11px;line-height:1.55;color:#597061;margin:9px 0}
@media(max-width:500px){.keg-price-breakdown{padding:14px 12px}.keg-tier-line{grid-template-columns:minmax(0,1fr) auto;gap:3px 10px}.keg-tier-line span:first-child{grid-column:1/3}.keg-tier-line span:nth-child(2){grid-column:1}.keg-tier-line strong{grid-column:2;justify-self:end}}
