/* Coaching Success — Consentement 1.2.2. Isolated, compact, accessible. */
/* The consent buttons retain equal one-click access to reject or accept. */
#cs-consent, #cs-consent * { box-sizing: border-box; }
#cs-consent [hidden], #cs-consent [hidden] * { display: none !important; }
#cs-consent {
  --cs-gold: #ebcd35;
  --cs-ink: #252525;
  --cs-border: #d8d8d8;
  position: relative;
  z-index: 2147483000;
  font-family: inherit;
  font-size: 14px;
  color: var(--cs-ink);
  line-height: 1.42;
}
#cs-consent .cs-consent__banner,
#cs-consent .cs-consent__preferences {
  position: fixed;
  right: max(12px, env(safe-area-inset-right));
  left: auto;
  bottom: max(12px, env(safe-area-inset-bottom));
  padding: 17px 19px;
  width: min(480px, calc(100vw - 24px));
  max-width: calc(100vw - 24px);
  max-height: min(86vh, 700px);
  overflow-y: auto;
  border: 1px solid var(--cs-border);
  border-top: 3px solid var(--cs-gold);
  border-radius: 12px;
  color: var(--cs-ink);
  background: #fff;
  box-shadow: 0 9px 28px rgba(0,0,0,.19);
  z-index: 10;
}
#cs-consent .cs-consent__preferences {
  right: auto;
  left: 50%;
  transform: translateX(-50%);
  width: min(530px, calc(100vw - 24px));
  max-height: min(90vh, 760px);
  z-index: 12;
}
#cs-consent .cs-consent__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.40);
  z-index: 11;
}
#cs-consent h2 {
  color: #1b1b1b;
  font-family: inherit;
  font-size: 19px;
  line-height: 1.24;
  font-weight: 700;
  margin: 0 0 8px;
  text-align: left;
  text-transform: none;
  letter-spacing: 0;
}
#cs-consent p {
  font-family: inherit;
  font-size: 13px;
  line-height: 1.44;
  margin: 5px 0 9px;
  color: #424242;
}
#cs-consent .cs-consent__intro { margin: 0 0 6px; }
#cs-consent .cs-consent__policy { margin: 0 0 10px; font-size: 12px; }
#cs-consent a { color: #3a3a3a; text-decoration: underline; }
#cs-consent a:hover { color: #111; }
#cs-consent .cs-consent__actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-top: 12px;
}
#cs-consent .cs-consent__actions--compact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
#cs-consent .cs-consent__secondary-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
#cs-consent button {
  border-radius: 8px;
  border: 1px solid #777;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  min-height: 44px;
  padding: 9px 12px;
  line-height: 1.25;
  text-align: center;
  background: #fff;
  color: #252525;
  cursor: pointer;
  text-transform: none;
  box-shadow: none;
  transition: background-color .14s ease, border-color .14s ease;
}
#cs-consent #cs-consent-accept,
#cs-consent #cs-consent-panel-accept {
  background: var(--cs-gold);
  border: 2px solid #ae9015;
  color: #161616;
  font-weight: 750;
}
#cs-consent #cs-consent-accept { width: 100%; font-size: 14px; min-height: 46px; }
#cs-consent #cs-consent-reject { border: 1px solid #707070; background: #fff; color: #292929; }
#cs-consent #cs-consent-customize { border: 1px solid transparent; background: transparent; color: #464646; text-decoration: underline; }
#cs-consent button:hover { background: #f2f0e8; }
#cs-consent #cs-consent-accept:hover,
#cs-consent #cs-consent-panel-accept:hover { background: #f3d94c; }
#cs-consent #cs-consent-customize:hover { background: #f6f5f0; }
#cs-consent button:focus-visible,
#cs-consent a:focus-visible,
#cs-consent input:focus-visible,
#cs-consent-footer-link:focus-visible {
  outline: 3px solid #0968c2;
  outline-offset: 2px;
}
#cs-consent .cs-consent__category {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #e7e7e7;
}
#cs-consent .cs-consent__category > div { flex: 1; }
#cs-consent .cs-consent__category p { margin: 3px 0 0; }
#cs-consent .cs-consent__category input[type="checkbox"] {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  accent-color: #957e15;
}
#cs-consent .cs-consent__category span {
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  color: #315d36;
}
#cs-consent #cs-consent-close { display: block; margin: 12px 0 0 auto; }
#cs-consent .cs-consent__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
/* Keep legal notices and the cookie-settings link aligned on ONE line.
   Scoped to the paragraph marked at runtime by consent.js; never restyles
   Elementor's other footer columns, site navigation, or article paragraphs. */
footer p.cs-consent__legal-row {
  display: flex !important;
  flex-flow: row nowrap !important;
  align-items: baseline !important;
  justify-content: flex-start !important;
  width: max-content !important;
  max-width: none !important;
  white-space: nowrap !important;
  margin-inline: 0 !important;
  text-align: left;
}
footer p.cs-consent__legal-row > a,
footer p.cs-consent__legal-row > #cs-consent-footer-entry {
  flex: 0 0 auto;
  white-space: nowrap !important;
}
/* Footer only: inline with the existing Mentions légales paragraph. */
#cs-consent-footer-entry {
  position: static !important;
  display: inline-flex;
  flex: 0 0 auto;
  white-space: nowrap !important;
  width: auto;
  margin: 0 0 0 .5em;
  padding: 0;
  background: transparent;
  vertical-align: baseline;
}
#cs-consent-footer-entry::before {
  content: '·';
  display: inline;
  margin-right: .5em;
  opacity: .6;
}
#cs-consent-footer-link {
  position: static !important;
  display: inline;
  border: 0 !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-decoration: underline;
  text-underline-offset: 2px;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  vertical-align: baseline;
  opacity: .82;
  cursor: pointer;
}
#cs-consent-footer-link:hover { opacity: 1; }
@media (max-width: 560px) {
  #cs-consent .cs-consent__banner,
  #cs-consent .cs-consent__preferences {
    right: 10px;
    left: auto;
    bottom: max(10px, env(safe-area-inset-bottom));
    width: calc(100vw - 20px);
    max-width: calc(100vw - 20px);
    padding: 14px 15px;
    max-height: min(84vh, 680px);
  }
  #cs-consent .cs-consent__preferences {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    max-height: 90vh;
  }
  #cs-consent h2 { font-size: 18px; }
  #cs-consent .cs-consent__actions { grid-template-columns: 1fr; }
  #cs-consent .cs-consent__secondary-actions { gap: 7px; }
  #cs-consent button { min-height: 44px; }
  #cs-consent .cs-consent__category { align-items: flex-start; }
}
/* On tablet-sized four-column footers, allow natural stacking rather than
   overflowing the viewport. Large-desktop alignment is kept unchanged. */
@media (min-width: 1024px) and (max-width: 1100px) {
  footer p.cs-consent__legal-row > #cs-consent-footer-entry { margin-left: 0; }
  footer p.cs-consent__legal-row > #cs-consent-footer-entry::before { margin-right: .2em; }
}
@media (min-width: 561px) and (max-width: 1023px) {
  footer p.cs-consent__legal-row {
    width: 100% !important;
    max-width: 100% !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    white-space: normal !important;
  }
  footer p.cs-consent__legal-row > #cs-consent-footer-entry { margin-left: 0; }
}
@media (max-width: 340px) {
  footer p.cs-consent__legal-row {
    max-width: 100% !important;
    width: 100% !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    white-space: normal !important;
  }
  footer p.cs-consent__legal-row > #cs-consent-footer-entry { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  #cs-consent button { transition: none; }
}
