.promo-banner, .promo-price-preview, .promo-code-form {
  box-sizing: border-box;
  font-family: 'Hanken Grotesque', sans-serif;
  overflow-wrap: anywhere;
  min-width: 0;
}
.promo-banner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(210px, auto);
  align-items: center;
  gap: 24px;
  padding: 26px;
  border-radius: 22px;
  background: linear-gradient(120deg, #14322A, #1E6B50);
  color: #FBFAF6;
  box-shadow: 0 12px 30px rgba(20, 50, 42, .12);
}
#public-offers-banners { gap: 16px; }
.promo-banner-discount { display: grid; gap: 2px; padding: 14px 20px; border-radius: 18px; background: #fff; color: #A3410C; text-align: center; flex-shrink: 0; }
.promo-disc { font: 600 42px/1 'Newsreader', serif; color: #A3410C; white-space: nowrap; }
.promo-disc-duration { color: #A3410C; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.promo-banner-copy { flex: 1; min-width: 0; }
.promo-banner h3 { font-family: 'Newsreader', serif; font-size: 30px; margin: 0 0 8px; color: inherit; }
.promo-banner p { margin: 8px 0; color: rgba(251, 250, 246, .92); font-size: 16px; line-height: 1.45; }
.promo-code-note, .promo-banner-details { font-size: 14px; }
.promo-banner-details { display: grid; gap: 10px; justify-items: end; min-width: 0; }
.promo-countdown { display: flex; justify-content: flex-end; gap: 6px; }
.promo-countdown-unit { display: grid; justify-items: center; min-width: 46px; padding: 6px 9px; border-radius: 10px; background: rgba(255, 255, 255, .14); }
.promo-countdown-value { font-size: 18px; line-height: 1; font-variant-numeric: tabular-nums; }
.promo-countdown-label { margin-top: 3px; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.promo-countdown-date { font-weight: 700; }
.promo-places { width: 100%; max-width: 230px; }
.promo-places-label { margin: 5px 0 0 !important; font-size: 13px !important; font-weight: 700; text-align: right; }
.promo-urgent { color: #FFE0B5; }
.promo-urgent .promo-places-label { color: #FFE0B5; }
.promo-progress { display: block; width: 100%; height: 8px; appearance: none; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .22); overflow: hidden; }
.promo-progress::-webkit-progress-bar { background: rgba(255, 255, 255, .22); border-radius: 999px; }
.promo-progress::-webkit-progress-value { background: #FDBA74; border-radius: 999px; }
.promo-progress::-moz-progress-bar { background: #FDBA74; border-radius: 999px; }
.promo-card-badge { position: absolute; right: 18px; top: -14px; padding: 6px 14px; border-radius: 999px; background: #A3410C; color: #fff; font: 700 16px 'Hanken Grotesque', sans-serif; }
.promo-old-price { display: block; color: #8B370A; font-size: 21px; text-decoration-color: #A3410C; text-decoration-thickness: 3px; margin: 8px 0 4px; }
.promo-price-terms { background: #FFF1E3; border: 1px solid #DDA36E; color: #70300D; border-radius: 12px; padding: 12px; margin: 8px 0 18px; font-size: 14px; }
.promo-price-terms p { margin: 0; color: inherit; }
.promo-price-terms p + p { margin-top: 6px; font-weight: 700; }
.pricing-grid-live [data-card].promo-featured { border-color: #A3410C !important; box-shadow: 0 0 0 1px #A3410C; }
.pricing-grid-live [data-card].promo-card .price-mensuel,
.pricing-grid-live [data-card].promo-card .price-annuel { white-space: normal; }
.pricing-grid-live [data-card].promo-card .price-mensuel.promo-free,
.pricing-grid-live [data-card].promo-card .price-annuel.promo-free { display: inline-block; }
.pricing-grid-live [data-card].promo-free-active .plan-meta { display: none; }
.pricing-grid-live [data-card].promo-card > div:has(> .price-mensuel) { white-space: normal !important; }
.pricing-grid-live [data-card].plan-hovered .promo-old-price { color: #FFE0B5; text-decoration-color: #FFBE78; }
.promo-code-form { max-width: 560px; margin: 32px auto 0; color: #14322A; }
.promo-code-form h3 { font-size: 18px; margin: 0 0 14px; }
.promo-code-fields { display: flex; flex-wrap: nowrap; justify-content: center; gap: 10px; align-items: end; }
.promo-code-fields label { display: grid; gap: 5px; flex: 1; min-width: 0; font-size: 14px; }
.promo-code-fields input, .promo-code-fields button { box-sizing: border-box; width: 100%; min-width: 0; padding: 12px; border: 1px solid #61756A; border-radius: 10px; font: inherit; color: #14322A; background: #fff; }
.promo-code-fields input { text-transform: uppercase; }
.promo-code-fields button { width: auto; background: #1E6B50; color: #fff; cursor: pointer; font-weight: 700; }
.promo-code-fields button:disabled { opacity: .7; cursor: wait; }
.promo-code-fields :focus-visible { outline: 3px solid #A3410C; outline-offset: 3px; }
.promo-code-status { font-size: 14px; margin: 12px 0 0; }
.promo-code-status:empty { display: none; }
.promo-code-status.success { color: #1E6B50; }
.promo-code-status.error { color: #9B2424; }
.promo-code-ineligible { margin: 6px 0 10px; color: #9B2424; font-size: 13px; font-weight: 700; }
.promo-preview-grid { display: grid; gap: 20px; min-width: 0; }
.promo-price-preview { position: relative; background: #fff; color: #14322A; border: 1px solid #A3410C; border-radius: 22px; padding: 26px; max-width: 360px; margin-top: 14px; }
.promo-preview-price { font: 600 44px 'Newsreader', serif; }
.promo-price-preview h4 { font: 600 26px 'Newsreader', serif; margin: 0 0 12px; }
@media (max-width: 700px) {
  .promo-banner { grid-template-columns: minmax(0, 1fr); }
  .promo-banner-discount { justify-self: start; }
  .promo-banner-details { justify-items: start; width: 100%; }
  .promo-countdown { justify-content: flex-start; }
  .promo-places-label { text-align: left; }
}
@media (max-width: 400px) {
  .promo-banner { justify-items: center; text-align: center; padding: 20px 16px; gap: 16px; }
  .promo-banner-discount, .promo-banner-details { justify-self: center; justify-items: center; }
  .promo-countdown { justify-content: center; }
  .promo-places-label { text-align: center; }
  .promo-code-fields { flex-direction: column; align-items: stretch; }
  .promo-code-fields label { min-width: 0; }
  .promo-code-fields button { width: 100%; }
  .promo-price-preview { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .promo-banner, .promo-progress, .promo-countdown-unit, .pricing-grid-live [data-card].promo-card { animation: none !important; transition: none !important; }
}

.promo-top-container { position: relative; z-index: 2; width: 100%; container-type: inline-size; }
.promo-top-container[hidden] { display: none; }
.promo-top-banner {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 0;
  background: #123d2e;
  color: #fff;
  box-shadow: none;
  text-align: left;
}
.promo-top-banner .promo-banner-discount {
  flex-shrink: 0;
  padding: 8px 12px;
  border-radius: 12px;
  color: #993c1d;
  white-space: nowrap;
}
.promo-top-banner .promo-disc { color: #993c1d; font-size: 24px; font-weight: 500; }
.promo-top-banner .promo-disc-duration { color: #993c1d; font-weight: 500; white-space: nowrap; }
.promo-top-banner .promo-banner-copy { flex: 1 1 0; overflow: hidden; }
.promo-top-banner h3 { margin: 0; font-size: 18px; font-weight: 500; line-height: 1.2; }
.promo-top-banner p { margin: 4px 0 0; color: #fff; font-size: 12px; }
.promo-top-banner .promo-banner-details { flex-shrink: 0; width: auto; }
.promo-top-banner .promo-countdown { justify-content: flex-end; }
.promo-top-banner .promo-countdown-unit { min-width: 38px; padding: 5px 8px; border-radius: 8px; }
.promo-top-banner .promo-countdown-value { font-size: 16px; font-weight: 500; }
.promo-top-banner .promo-countdown-label { font-size: 11px; font-weight: 500; text-transform: none; }
.promo-top-cta {
  flex-shrink: 0;
  white-space: nowrap;
  border-radius: 999px;
  padding: 9px 16px;
  background: #fff;
  color: #123d2e;
  font: 500 13px/1.2 'Hanken Grotesque', sans-serif;
  text-decoration: none;
}
.promo-top-cta:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
body.public-offers-centered { padding-top: calc(20px + var(--public-offer-height, 0px)); }
.public-offers-centered .promo-top-container { position: absolute; top: 0; left: 0; }
.public-offers-centered .theme-switch { top: calc(20px + var(--public-offer-height, 0px)); }
@container (max-width: 800px) {
  .promo-top-banner .promo-banner-details, .promo-top-banner .promo-banner-copy p { display: none; }
  .promo-top-banner { gap: 10px; }
}
@container (max-width: 480px) {
  .promo-top-banner h3 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .promo-top-banner .promo-banner-discount { padding: 10px; }
  .promo-top-cta { padding: 12px; }
}

/* Offre avec période gratuite : le texte de l'offre reste lisible sur mobile, le bouton passe sur sa propre ligne. */
@container (max-width: 480px) {
  .promo-top-banner.promo-banner-free { flex-wrap: wrap; }
  .promo-top-banner.promo-banner-free .promo-disc-then { display: none; }
  .promo-top-banner.promo-banner-free .promo-banner-copy p { display: block; }
  .promo-top-banner.promo-banner-free .promo-top-cta { flex: 1 1 100%; text-align: center; }
}
