/* Nouveaux services dans la charte existante, sans ressource distante. */
.cdg-info-section{margin:clamp(24px,4vw,48px) 0;padding:clamp(20px,3vw,32px);border:1px solid rgba(24,50,41,.16);border-radius:22px;background:var(--cdg-paper,#f7f3e8);color:var(--cdg-ink,#183229)}
.cdg-info-section h2,.cdg-info-section h3,.cdg-info-section h4{color:inherit;line-height:1.18}.cdg-info-section h2{font-size:clamp(24px,3vw,34px);margin:0 0 16px}.cdg-info-section p{line-height:1.6}.cdg-info-section p:last-child{margin-bottom:0}
.cdg-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.cdg-info-grid article{padding:20px;border-radius:16px;background:var(--cdg-surface,#fff)}.cdg-info-grid article h3{font-size:22px}.cdg-info-grid article.is-past{opacity:.72}
.cdg-info-section select,.cdg-info-section input[type=number]{box-sizing:border-box;max-width:100%;min-height:46px;padding:10px 14px;border:1px solid #6c7f76;border-radius:10px;background:#fff;color:#183229;font:inherit}
.cdg-family-budget fieldset{min-width:0;border:0;margin:0;padding:16px 0}.cdg-family-budget legend{font-weight:800;font-size:19px}.cdg-family-budget label{display:flex;gap:12px;align-items:center;justify-content:space-between;min-height:46px;line-height:1.4}.cdg-family-budget input[type=number]{width:88px}.cdg-family-budget input[type=checkbox]{width:20px;height:20px;flex:none;accent-color:#183229}.cdg-family-budget [data-family-budget-controls]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.cdg-family-budget [data-family-budget-result]{margin-top:20px;padding:20px;border-radius:16px;background:#fff}.cdg-family-budget .cdg-budget-total{font-size:clamp(30px,5vw,44px);font-weight:900;line-height:1.1;margin:8px 0 16px}.cdg-family-budget ul{padding-left:20px}
.cdg-service-state{padding:10px 12px;margin:0 0 10px;border-left:4px solid var(--cdg-highlight,#ffbd59);background:#fff8e8;border-radius:6px;font-size:15px;line-height:1.45}.cdg-service-state strong{display:block}.cdg-service-state p{margin:7px 0}.cdg-service-state[data-state=open]{border-color:#2d7454;background:#edf6ef}.cdg-service-state[data-state=temporary_closed]{border-color:#a8442e;background:#fff0e9}.cdg-service-state a{display:inline-block;min-height:36px;padding-top:7px;text-decoration:underline}
.cdg-information-freshness{font-size:14px;line-height:1.45}.cdg-information-freshness p{margin:8px 0}.cdg-information-freshness.is-stale{padding:12px;border:1px solid #b48031;border-radius:10px;background:#fff8e8;color:#183229}
.cdg-brief-intro{background:var(--cdg-paper,#f7f3e8);border-radius:24px;padding:clamp(20px,4vw,40px);margin:0 0 32px}.cdg-brief-intro h2{font-size:clamp(26px,4vw,40px);line-height:1.12}.cdg-brief-actions{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}.cdg-brief-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.cdg-brief-card{padding:24px;border-radius:20px;background:var(--cdg-surface,#fff);border:1px solid rgba(24,50,41,.16);color:var(--cdg-ink,#183229)}.cdg-brief-card h3{font-size:24px;line-height:1.2}.cdg-brief-card p{font-size:18px;line-height:1.55}.cdg-brief-card svg{display:block;max-width:100%;width:320px;height:145px;margin:12px auto 20px;color:var(--cdg-ink,#183229)}.cdg-brief-step{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;margin:0 12px 8px 0;background:var(--cdg-highlight,#ffbd59);border-radius:50%;font-weight:900;color:#183229}
.cdg-brief-document{max-width:1080px;margin:0 auto;padding:32px 20px;background:#f7f3e8;color:#183229;font:18px/1.55 Arial,sans-serif}.cdg-brief-document h1{font-size:clamp(32px,5vw,52px);line-height:1.06;margin:16px 0}.cdg-brief-document h2{font-size:32px}.cdg-brief-document a{color:inherit;text-underline-offset:3px}.cdg-brief-document .cdg-button,.cdg-brief-document .cdg-button-outline{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 20px;text-decoration:none;border:2px solid #183229;border-radius:999px;font-weight:700}.cdg-brief-document .cdg-button{background:#183229;color:#fff}.cdg-brief-document .cdg-button-outline{background:#fff}.cdg-brief-document .cdg-form-small{font-size:15px}.cdg-brief-document button{font:inherit;cursor:pointer}
.cdg-signage-card{text-align:center;break-inside:avoid;background:#fff;padding:32px;border:2px solid #183229;border-radius:20px}.cdg-signage-card h2{font-size:32px}.cdg-signage-card img{display:block;max-width:100%;width:240px;height:240px;margin:24px auto}.cdg-signage-card p{font-size:20px}
.cdg-brief-offline{padding:18px}.cdg-brief-offline article+article{border-top:1px solid rgba(24,50,41,.16);padding-top:16px;margin-top:16px}
@media(max-width:680px){.cdg-info-grid,.cdg-family-budget [data-family-budget-controls],.cdg-brief-grid{grid-template-columns:1fr}.cdg-info-section{padding:20px 16px;border-radius:18px}.cdg-family-budget label{padding:6px 0}.cdg-brief-card{padding:20px}.cdg-brief-actions>a{width:100%;box-sizing:border-box}.cdg-brief-document{padding:20px 14px}.cdg-signage-card{padding:24px 16px}.cdg-info-section select{width:100%}}
@media print{.cdg-brief-actions,.cdg-print-control{display:none!important}.cdg-brief-document{font-size:16px;padding:0;background:#fff}.cdg-brief-grid{gap:12mm}.cdg-brief-card{break-inside:avoid;border:1px solid #6c7f76;padding:6mm}.cdg-brief-card p{font-size:14pt}.cdg-brief-card svg{height:30mm}.cdg-signage-card{break-after:page;border:0;padding:12mm}.cdg-signage-card:last-child{break-after:auto}.cdg-signage-card img{width:70mm;height:70mm}.cdg-signage-card h2{font-size:30pt}a[href]:after{content:none!important}}

.cdg-brief-offline>summary{font-weight:800;cursor:pointer;min-height:44px;line-height:1.4;display:list-item;padding:8px 0;box-sizing:border-box}.cdg-brief-offline[open]>summary{margin-bottom:18px}

/* Le guide dispose déjà de panneaux : éviter une troisième marge autour du texte. */
body.cdg-site-ready.cdg-page-guide-pratique .cdg-inner-content{padding:0!important;border:0;background:transparent;box-shadow:none}
.cdg-site-ready .cdg-brief-intro{padding:clamp(20px,3vw,32px)}
.cdg-site-ready .cdg-brief-card{min-width:0}
.cdg-site-ready .cdg-brief-card>p{max-width:60ch}
.cdg-site-ready .cdg-brief-actions{align-items:stretch;gap:12px}
.cdg-site-ready .cdg-brief-actions>a{display:inline-flex;align-items:center;justify-content:center;min-width:0;max-width:100%;min-height:48px;white-space:normal;line-height:1.5;text-align:center}
.cdg-site-ready .cdg-information-freshness>summary{min-height:44px;line-height:1.5;padding-block:10px;cursor:pointer}
@media(max-width:600px){.cdg-site-ready .cdg-brief-grid{gap:20px}.cdg-site-ready .cdg-brief-card{padding:22px 18px}.cdg-site-ready .cdg-brief-intro{margin-bottom:24px}}
