/* 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-budget-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(14px, 2.5vw, 32px);
  margin-block-start: 20px;
}
.cdg-family-budget [data-family-budget-controls] {
  display: grid;
  align-content: start;
  min-width: 0;
  gap: 18px;
}
.cdg-family-budget fieldset, .cdg-ticket-comparison fieldset {
  min-width: 0;
  border: 0;
  margin: 0;
  padding: 0;
}
.cdg-family-budget legend, .cdg-ticket-comparison legend {
  font: inherit;
  font-weight: 800;
  margin-block-end: 8px;
}
.cdg-budget-day-choices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 126px), 1fr));
  gap: 8px;
}
.cdg-budget-day, .cdg-ticket-comparison-days-filter label {
  display: flex;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #89988f;
  border-radius: 10px;
  background: #fff;
  color: #183229;
  font-size: 15px;
  line-height: 1.35;
  cursor: pointer;
}
.cdg-budget-day span::first-letter, .cdg-ticket-comparison-days-filter span::first-letter {
  text-transform: uppercase;
}
.cdg-budget-day input, .cdg-ticket-comparison-days-filter input {
  flex: 0 0 18px;
  inline-size: 18px;
  block-size: 18px;
  margin: 0;
  accent-color: #243f35;
}
.cdg-budget-day:has(input:checked), .cdg-ticket-comparison-days-filter label:has(input:checked) {
  background: #edf4eb;
  border-color: #37624f;
}
.cdg-budget-person {
  display: flex;
  gap: 8px 10px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #d2dacf;
}
.cdg-budget-person label {
  flex: 1 1 88px;
  min-width: 0;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.35;
}
.cdg-budget-stepper {
  display: grid;
  grid-template-columns: 44px 42px 44px;
  align-items: center;
  justify-content: space-between;
  gap: 3px;
}
.cdg-budget-stepper button {
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  border: 1px solid #718577;
  border-radius: 50%;
  background: #eef3eb;
  color: #183229;
  font: 700 22px/1 Arial, sans-serif;
  cursor: pointer;
}
.cdg-budget-stepper button:disabled {
  opacity: .52;
  cursor: default;
}
.cdg-family-budget .cdg-budget-stepper input[type=number] {
  appearance: textfield;
  box-sizing: border-box;
  width: 42px;
  min-height: 44px;
  padding: 3px;
  text-align: center;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.cdg-budget-stepper input::-webkit-inner-spin-button,
.cdg-budget-stepper input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.cdg-budget-stepper :is(button, input):focus-visible,
.cdg-budget-day:has(input:focus-visible), .cdg-ticket-comparison-days-filter label:has(input:focus-visible) {
  outline: 2px solid #2556af;
  outline-offset: 2px;
}
.cdg-budget-summary {
  min-width: 0;
  padding: clamp(17px, 2.6vw, 32px);
  border-radius: 18px;
  background: #203a31;
  color: #fff;
}
.cdg-family-budget .cdg-budget-summary p {
  margin: 0;
  padding: 0;
  color: #f5f7f0;
}
.cdg-family-budget .cdg-budget-summary .cdg-budget-caption {
  margin-block-end: 8px;
  color: #ffe0a0;
  font-weight: 800;
}
.cdg-family-budget .cdg-budget-summary .cdg-budget-total {
  color: #ffda8b;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.13;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.cdg-family-budget .cdg-budget-summary .cdg-budget-note {
  margin-block-start: 14px;
  padding-block-start: 10px;
  border-top: 1px solid #8b9c90;
  color: #eef1e9;
  font-size: 13px;
  line-height: 1.5;
}
.cdg-family-budget .cdg-budget-breakdown {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}
.cdg-budget-breakdown li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 8px 0;
  border-top: 1px solid #758b7d;
  font-size: 15px;
  line-height: 1.4;
}
.cdg-budget-breakdown small {
  display: block;
  font-size: 13px;
}
.cdg-budget-subtotal {
  max-width: 10ch;
  overflow-wrap: anywhere;
  text-align: end;
}
.cdg-resale-actions {
  display: flex;
  align-items: center;
  gap: 10px 14px;
  flex-wrap: wrap;
  margin-block-start: 12px;
}
.cdg-resale-actions .cdg-button-outline {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  white-space: normal;
}
.cdg-resale-partner {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 5px 12px;
  border-radius: 10px;
  background: #fff;
}
.cdg-resale-partner img {
  display: block;
  width: 83px;
  height: auto;
}
.cdg-ticket-quick-nav {
  box-sizing: border-box;
  margin: 0 0 clamp(18px, 3vw, 32px);
  padding: 14px clamp(12px, 2vw, 22px);
  border: 1px solid #d7ded3;
  border-radius: 16px;
  background: #fff;
}
.cdg-ticket-quick-nav > p {
  margin: 0 0 8px;
  padding: 0;
  color: #203a31;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
}
.cdg-ticket-quick-nav > ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
  margin: 0;
  padding: 0 !important;
}
.cdg-ticket-quick-nav li {
  display: flex;
  min-width: 0;
  margin: 0;
  padding: 0;
}
.cdg-ticket-quick-nav li:has(> a[hidden]) { display: none; }
.cdg-ticket-quick-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: 7px 10px;
  border: 1px solid #a1b2a5;
  border-radius: 9px;
  background: #f0f5ee;
  color: #203a31 !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none !important;
}
.cdg-ticket-quick-nav a::after { display: none; }
.cdg-ticket-quick-nav a:hover { background: #dfece1; }
.cdg-ticket-quick-nav a:focus-visible { outline: 2px solid #2556af; outline-offset: 2px; }
:is(#offres-billetterie, #vendredi-prix-libre, #programme-billetterie, #commande-billetterie) {
  scroll-margin-top: calc(var(--cdg-header-height, 130px) + 16px);
}
@media (max-width: 620px) {
  .cdg-ticket-quick-nav > ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media(max-width:800px) {
  .cdg-budget-layout { grid-template-columns: minmax(0, 1fr); }
}
.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-brief-grid{grid-template-columns:1fr}.cdg-info-section{padding:20px 16px;border-radius:18px}.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}}
#aide-billetterie > .cdg-ticket-comparison {
  max-inline-size: 100%;
  scroll-margin-top: calc(var(--cdg-header-height, 130px) + 18px);
}
.cdg-ticket-comparison [data-ticket-helper-controls] {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px 20px;
}
.cdg-ticket-comparison-days-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cdg-ticket-comparison .cdg-ticket-comparison-public {
  display: grid;
  gap: 6px;
  font-weight: 800;
}
.cdg-ticket-comparison select {
  box-sizing: border-box;
  max-width: 100%;
  min-height: 44px;
  padding: 6px 9px;
  border: 1px solid #89988f;
  border-radius: 10px;
  background: #fff;
  color: #183229;
  font: inherit;
  font-weight: 400;
}
.cdg-ticket-comparison [data-ticket-helper-status] {
  margin-block: 14px 8px !important;
  font-size: 15px;
  font-weight: 700;
}
.cdg-ticket-comparison > [data-ticket-helper-results] {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0 !important;
}
.cdg-ticket-comparison > ul > li {
  display: flex;
  flex-direction: column;
  align-items: start;
  min-width: 0;
  padding: 14px;
  border: 1px solid #d3dbd2;
  border-radius: 12px;
  background: #f4f6ef;
  overflow-wrap: anywhere;
}
.cdg-ticket-comparison > ul > li[hidden] { display: none; }
#aide-billetterie .cdg-ticket-comparison li h3 {
  font-size: clamp(17px, 1.55vw, 22px) !important;
  line-height: 1.25;
  margin: 0 0 4px;
  padding: 0;
}
.cdg-ticket-comparison li p {
  margin: 0 0 5px;
  padding: 0;
}
.cdg-ticket-comparison-audience, .cdg-ticket-comparison-days {
  font-size: 14px;
  line-height: 1.4;
}
.cdg-ticket-comparison .cdg-ticket-comparison-price {
  color: #203a31;
  font-size: 21px;
}
.cdg-ticket-comparison a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: auto;
}
@media(max-width:975px) {
  .cdg-ticket-comparison > [data-ticket-helper-results] { grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr)); }
}
@media(max-width:580px) {
  .cdg-ticket-comparison > [data-ticket-helper-results] { grid-template-columns: minmax(0, 1fr); }
  .cdg-ticket-comparison .cdg-ticket-comparison-public { width: 100%; }
}
