/* Savvy Careers Lab — bannière et panneau de consentement (préfixe scc-) */
.scc-banner,
.scc-overlay {
  --scc-ink: #0E0145;
  --scc-violet: #550CA0;
  --scc-lime: #A9E820;
  --scc-line: rgba(14, 1, 69, .12);
  font-family: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}

.scc-banner,
.scc-overlay,
.scc-banner *,
.scc-overlay * {
  box-sizing: border-box;
}

/* Bannière */
.scc-banner {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 2147483000;
  width: min(440px, calc(100vw - 32px));
  padding: 22px 22px 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 20px;
  background: var(--scc-ink);
  color: #fff;
  animation: scc-in 320ms cubic-bezier(.2, .8, .2, 1);
}

@keyframes scc-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.scc-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.scc-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--scc-lime);
  flex: none;
}

.scc-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.scc-law {
  margin-left: auto;
  padding: 3px 9px;
  border: 1px solid rgba(169, 232, 32, .5);
  border-radius: 999px;
  color: var(--scc-lime);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
}

.scc-law.is-light {
  margin-left: 0;
  border-color: rgba(85, 12, 160, .28);
  color: var(--scc-violet);
}

.scc-panel-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.scc-links {
  white-space: nowrap;
}

.scc-text {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, .78);
  font-size: 13.5px;
  line-height: 1.6;
}

.scc-banner .scc-link {
  color: var(--scc-lime);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.scc-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Boutons */
.scc-btn {
  appearance: none;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.scc-btn:focus-visible {
  outline: 2px solid var(--scc-lime);
  outline-offset: 2px;
}

.scc-btn.is-lime {
  background: var(--scc-lime);
  color: var(--scc-ink);
}

.scc-btn.is-lime:hover {
  background: #bdf24a;
}

.scc-btn.is-ghost {
  border-color: rgba(255, 255, 255, .34);
  background: transparent;
  color: #fff;
}

.scc-btn.is-ghost:hover {
  border-color: #fff;
}

.scc-btn.is-text {
  display: block;
  width: 100%;
  min-height: 38px;
  margin-top: 6px;
  background: none;
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.scc-btn.is-text:hover {
  color: #fff;
}

/* Panneau */
html.scc-lock {
  overflow: hidden;
}

.scc-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483001;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  padding: 16px;
  background: rgba(14, 1, 69, .55);
  animation: scc-fade 200ms ease;
}

@keyframes scc-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.scc-panel {
  width: min(560px, 100%);
  min-width: 0;
  outline: none;
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: 26px;
  border: 1px solid var(--scc-line);
  border-radius: 22px;
  background: #fff;
  color: var(--scc-ink);
}

.scc-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.scc-panel-title {
  margin: 0;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -.03em;
}

.scc-btn.scc-close {
  width: 40px;
  min-height: 40px;
  padding: 0;
  border-color: var(--scc-line);
  background: #fff;
  color: var(--scc-ink);
  font-size: 22px;
  line-height: 1;
}

.scc-btn.scc-close:hover {
  border-color: var(--scc-violet);
}

.scc-btn.scc-close:focus-visible,
.scc-panel .scc-btn:focus-visible {
  outline-color: var(--scc-violet);
}

.scc-panel-text {
  margin: 0 0 18px;
  color: rgba(14, 1, 69, .7);
  font-size: 14px;
  line-height: 1.6;
}

.scc-panel .scc-link {
  color: var(--scc-violet);
  font-weight: 600;
}

.scc-cats {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--scc-line);
}

.scc-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--scc-line);
}

.scc-cat-copy strong {
  display: block;
  margin-bottom: 3px;
  font-size: 15px;
  font-weight: 700;
}

.scc-cat-copy span {
  display: block;
  color: rgba(14, 1, 69, .64);
  font-size: 13px;
  line-height: 1.5;
}

.scc-always {
  flex: none;
  color: var(--scc-violet);
  font-size: 12.5px;
  font-style: normal;
  font-weight: 600;
}

/* Interrupteur */
.scc-switch {
  position: relative;
  flex: none;
  width: 46px;
  height: 26px;
  cursor: pointer;
}

.scc-switch input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.scc-track {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(14, 1, 69, .2);
  border-radius: 999px;
  background: #EEEAF5;
  transition: background 160ms ease, border-color 160ms ease;
  pointer-events: none;
}

.scc-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(14, 1, 69, .18);
  transition: transform 180ms ease;
}

.scc-switch input:checked + .scc-track {
  border-color: var(--scc-violet);
  background: var(--scc-violet);
}

.scc-switch input:checked + .scc-track::after {
  transform: translateX(20px);
  border-color: transparent;
}

.scc-switch input:focus-visible + .scc-track {
  outline: 2px solid var(--scc-violet);
  outline-offset: 2px;
}

.scc-panel-actions {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  gap: 10px;
}

.scc-btn.is-outline {
  border-color: rgba(14, 1, 69, .2);
  background: #fff;
  color: var(--scc-ink);
}

.scc-btn.is-outline:hover {
  border-color: var(--scc-violet);
  color: var(--scc-violet);
}

.scc-btn.is-violet {
  background: var(--scc-violet);
  color: #fff;
}

.scc-btn.is-violet:hover {
  background: #6a1cc0;
}

@media (max-width: 560px) {
  .scc-banner {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    padding: 20px 16px 12px;
    border-radius: 20px 20px 0 0;
    border-width: 1px 0 0;
  }

  .scc-overlay {
    place-items: end stretch;
    padding: 0;
  }

  .scc-panel {
    width: 100%;
    max-height: 92vh;
    padding: 22px 16px;
    border-radius: 22px 22px 0 0;
  }

  .scc-panel-actions {
    grid-template-columns: 1fr 1fr;
  }

  .scc-panel-actions .is-violet {
    grid-column: 1 / -1;
    order: -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scc-banner,
  .scc-overlay {
    animation: none;
  }
}


/* ==== Thème sombre (généré) ==== */
/* ---- cookie-consent.css ---- */

html[data-theme="dark"] .scc-banner {
  border: 1px solid rgba(255, 255, 255, .12);
}

html[data-theme="dark"] .scc-law.is-light {
  border-color: rgba(255, 255, 255, .12);
  color: #C9A6FF;
}

html[data-theme="dark"] .scc-btn.is-ghost {
  border-color: rgba(255, 255, 255, .12);
}

html[data-theme="dark"] .scc-btn.is-ghost:hover {
  border-color: rgba(255, 255, 255, .12);
}

html[data-theme="dark"] .scc-panel {
  border: 1px solid rgba(255, 255, 255, .12);
  background: #140A33;
  color: #ECEAF5;
}

html[data-theme="dark"] .scc-btn.scc-close {
  border-color: rgba(255, 255, 255, .12);
  background: #140A33;
  color: #ECEAF5;
}

html[data-theme="dark"] .scc-panel-text {
  color: #ECEAF5;
}

html[data-theme="dark"] .scc-panel .scc-link {
  color: #C9A6FF;
}

html[data-theme="dark"] .scc-cats {
  border-top: 1px solid rgba(255, 255, 255, .12);
}

html[data-theme="dark"] .scc-cat {
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

html[data-theme="dark"] .scc-cat-copy span {
  color: #ECEAF5;
}

html[data-theme="dark"] .scc-always {
  color: #C9A6FF;
}

html[data-theme="dark"] .scc-track {
  border: 1px solid rgba(255, 255, 255, .12);
  background: #1C1145;
}

html[data-theme="dark"] .scc-track::after {
  background: #140A33;
  border: 1px solid rgba(255, 255, 255, .12);
}

html[data-theme="dark"] .scc-btn.is-outline {
  border-color: rgba(255, 255, 255, .12);
  background: #140A33;
  color: #ECEAF5;
}

html[data-theme="dark"] .scc-btn.is-outline:hover {
  color: #C9A6FF;
}
