/* Feuille d’érable originale, seulement aux textes saison. */

.prob-home .prob-eyebrow:has(.pb-leaf) {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.pb-leaf,
.pb-season-mark__leaf {
  display: inline-flex;
  width: 1.05em;
  height: 1.05em;
  flex-shrink: 0;
  color: currentColor;
}

.pb-leaf svg,
.pb-season-mark__leaf svg,
.prob-season-banner__ico svg {
  display: block;
  width: 100%;
  height: 100%;
}

.pb-season-mark {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  max-width: var(--prob-max-wide);
  margin: 0.85rem auto 0;
  padding: 0 var(--prob-gutter-x);
  box-sizing: border-box;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--prob-accent);
}

/* Header + topbar — same distinct band as footer */
body.prob-site .prob-topbar,
body.prob-site .prob-header {
  --pb-champagne: #e4d0ae;
  --pb-purple: #6e65c3;
}

body.prob-site:not(.light-mode) .prob-topbar,
body.prob-site:not(.light-mode) .prob-header,
body.prob-site:not(.light-mode) .prob-mobile-nav {
  background: #141722 !important;
  color: rgba(255, 255, 255, 0.82);
}

body.prob-site:not(.light-mode) .prob-topbar {
  border-bottom: 1px solid rgba(228, 208, 174, 0.28);
  color: var(--pb-champagne);
}

body.prob-site:not(.light-mode) .prob-topbar a {
  color: var(--pb-champagne);
}

body.prob-site:not(.light-mode) .prob-topbar a:hover {
  color: var(--pb-purple);
}

body.prob-site:not(.light-mode) .prob-header {
  border-bottom: 2px solid var(--pb-champagne);
  box-shadow: inset 0 -1px 0 rgba(228, 208, 174, 0.22);
  backdrop-filter: none;
}

body.prob-site .prob-header .prob-nav > a,
body.prob-site .prob-header .prob-nav .prob-nav-dropdown__trigger {
  position: relative;
  background: transparent !important;
  text-decoration: none;
  box-shadow: none !important;
}

body.prob-site:not(.light-mode) .prob-header .prob-nav > a,
body.prob-site:not(.light-mode) .prob-header .prob-nav .prob-nav-dropdown__trigger {
  color: var(--pb-champagne);
}

body.prob-site.light-mode .prob-header .prob-nav > a,
body.prob-site.light-mode .prob-header .prob-nav .prob-nav-dropdown__trigger {
  color: #6e65c3;
}

body.prob-site .prob-header .prob-nav > a::before,
body.prob-site .prob-header .prob-nav .prob-nav-dropdown__trigger::before {
  content: "";
  position: absolute;
  left: 0.68rem;
  right: 0.68rem;
  bottom: 0.22rem;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.16s ease;
  pointer-events: none;
}

body.prob-site .prob-header .prob-nav > a:hover,
body.prob-site .prob-header .prob-nav .prob-nav-dropdown__trigger:hover {
  color: #fff;
}

body.prob-site.light-mode .prob-header .prob-nav > a:hover,
body.prob-site.light-mode .prob-header .prob-nav .prob-nav-dropdown__trigger:hover,
body.prob-site.light-mode .prob-header .prob-nav > a.is-active,
body.prob-site.light-mode .prob-header .prob-nav .prob-nav-dropdown__trigger.is-active {
  color: #7a5720;
}

body.prob-site .prob-header .prob-nav > a:hover::before,
body.prob-site .prob-header .prob-nav .prob-nav-dropdown__trigger:hover::before,
body.prob-site .prob-header .prob-nav > a.is-active::before,
body.prob-site .prob-header .prob-nav .prob-nav-dropdown__trigger.is-active::before {
  transform: scaleX(1);
}

body.prob-site .prob-header .prob-nav > a.is-active,
body.prob-site .prob-header .prob-nav .prob-nav-dropdown__trigger.is-active,
body.prob-site .prob-mobile-nav a.is-active {
  text-decoration: none;
}

body.prob-site .prob-mobile-nav a.is-active {
  box-shadow: inset 0 -2px 0 var(--pb-champagne);
}

body.prob-site.light-mode .prob-mobile-nav a.is-active {
  box-shadow: inset 0 -2px 0 #7a5720;
}

body.prob-site .prob-header .prob-nav > a:focus-visible,
body.prob-site .prob-header .prob-nav .prob-nav-dropdown__trigger:focus-visible {
  outline: 1px solid var(--pb-champagne);
  outline-offset: 3px;
}

body.prob-site:not(.light-mode) .prob-nav-dropdown__panel {
  background: #141722;
  border: 1px solid rgba(228, 208, 174, 0.28);
  border-radius: 0;
  box-shadow: 0 12px 28px rgba(8, 8, 16, 0.45);
}

body.prob-site:not(.light-mode) .prob-nav-dropdown__panel a,
body.prob-site:not(.light-mode) .prob-nav-dropdown__panel .prob-nav-dropdown__extra {
  color: var(--pb-champagne);
}

body.prob-site:not(.light-mode) .prob-nav-dropdown__panel a:hover {
  background: transparent;
  color: #fff;
  box-shadow: inset 2px 0 0 #fff;
}

body.prob-site:not(.light-mode) .prob-mobile-nav {
  border-top: 1px solid rgba(228, 208, 174, 0.28);
}

body.prob-site:not(.light-mode) .prob-header .prob-theme-toggle,
body.prob-site:not(.light-mode) .prob-header .prob-menu-toggle {
  border-color: rgba(228, 208, 174, 0.34);
  background: transparent;
  color: var(--pb-champagne);
}

body.prob-site.light-mode .prob-topbar {
  background: #e4d0ae !important;
  border-bottom: 1px solid rgba(110, 101, 195, 0.22);
  color: #6e65c3;
}

body.prob-site.light-mode .prob-topbar a {
  color: #6e65c3;
}

body.prob-site.light-mode .prob-topbar a:hover {
  color: #7a5720;
}

body.prob-site.light-mode .prob-header,
body.prob-site.light-mode .prob-mobile-nav {
  background: #fffdf8 !important;
  color: #2a2418;
}

body.prob-site.light-mode .prob-header {
  border-bottom: 2px solid #e4d0ae;
  box-shadow: none;
  backdrop-filter: none;
}

body.prob-site.light-mode .prob-mobile-nav {
  border-top: 1px solid rgba(228, 208, 174, 0.85);
}

body.prob-site.light-mode .prob-nav-dropdown__panel {
  background: #fffdf8;
  border: 1px solid #e4d0ae;
  border-radius: 0;
  box-shadow: 0 12px 28px rgba(110, 101, 195, 0.1);
}

body.prob-site.light-mode .prob-nav-dropdown__panel a,
body.prob-site.light-mode .prob-nav-dropdown__panel .prob-nav-dropdown__extra {
  color: #6e65c3;
}

body.prob-site.light-mode .prob-nav-dropdown__panel a:hover {
  background: transparent;
  color: #7a5720;
  box-shadow: inset 2px 0 0 #7a5720;
}

body.prob-site.light-mode .prob-header .prob-theme-toggle,
body.prob-site.light-mode .prob-header .prob-menu-toggle {
  border-color: #e4d0ae;
  background: #ffffff;
  color: #6e65c3;
}

body.prob-site .prob-header .prob-logo--mark-only img {
  height: 156px;
}

@media (min-width: 1100px) {
  body.prob-site .prob-header .prob-header-start {
    transform: translateY(48px);
  }

  body.prob-site .prob-header.is-scrolled .prob-header-start {
    transform: translateY(2.05rem) !important;
  }

  body.prob-site .prob-header.is-scrolled .prob-logo--mark-only img {
    height: 112px;
  }
}

@media (max-width: 1099px) {
  body.prob-site .prob-header .prob-logo--mark-only img {
    height: clamp(6.25rem, 34vw, 9.5rem);
  }
}

@media (max-width: 480px) {
  body.prob-site .prob-header .prob-logo--mark-only img {
    height: clamp(5.75rem, 30vw, 8.25rem);
  }
}

/* Footer — distinct band, purple + cream */
body.prob-site .prob-footer {
  --pb-champagne: #e4d0ae;
  --pb-champagne-ink: #1a1408;
  --pb-purple: #6e65c3;
  --pb-link: #e4d0ae;
  padding: clamp(3.5rem, 7vw, 5.25rem) 0 0 !important;
  margin-top: 0;
  border-top: 2px solid var(--pb-champagne);
  background: #141722 !important;
  color: rgba(255, 255, 255, 0.78);
  box-shadow: none;
}

body.prob-site .prob-footer .prob-wrap-wide,
body.prob-site .prob-footer .prob-footer-grid-4 {
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: var(--prob-gutter-x);
  padding-right: var(--prob-gutter-x);
  box-sizing: border-box;
}

body.prob-site .prob-footer .prob-footer-grid-4 {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
  gap: 2.25rem 1.75rem;
  justify-items: start !important;
  text-align: left !important;
}

body.prob-site .prob-footer .prob-footer-grid-4 > div {
  max-width: none !important;
  width: 100% !important;
}

body.prob-site .prob-footer .prob-footer__logo {
  display: inline-block;
  margin: 0 0 1rem;
}

body.prob-site .prob-footer .prob-footer__logo img {
  max-height: 108px;
  max-width: 320px;
}

body.prob-site .prob-footer .prob-footer-grid-4 > div:first-child p {
  margin: 0 0 0.65rem !important;
  font-size: 0.92rem !important;
  line-height: 1.55;
  max-width: 34ch;
}

body.prob-site .prob-footer .prob-footer-grid-4 > div:first-child p:last-of-type {
  margin-bottom: 0.85rem !important;
}

body.prob-site .prob-footer h4 {
  margin: 0 0 0.95rem;
  color: var(--pb-champagne);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.68rem;
  font-weight: 700;
}

body.prob-site .prob-footer ul {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

body.prob-site .prob-footer li {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.4;
}

body.prob-site .prob-footer a {
  color: var(--pb-link);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

body.prob-site .prob-footer a:hover {
  color: var(--pb-purple);
  text-decoration: none;
  border-bottom-color: rgba(110, 101, 195, 0.45);
}

body.prob-site .prob-footer .prob-footer-social-wrap {
  display: flex;
  justify-content: flex-start;
  margin: 0.15rem 0 0 !important;
}

body.prob-site .prob-footer .prob-social {
  gap: 0.4rem;
}

body.prob-site .prob-footer .prob-social__link,
body.prob-site:not(.light-mode) .prob-footer .prob-social__link {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 0;
  background: transparent !important;
  border: 1px solid rgba(228, 208, 174, 0.34);
  color: var(--pb-champagne);
  transform: none !important;
  box-shadow: none !important;
}

body.prob-site .prob-footer .prob-social__link:hover,
body.prob-site:not(.light-mode) .prob-footer .prob-social__link:hover {
  background: rgba(228, 208, 174, 0.1) !important;
  border-color: var(--pb-champagne);
  color: var(--pb-champagne);
  transform: none !important;
}

body.prob-site .prob-footer-bottom {
  margin-top: 2.5rem;
  padding: 1.15rem var(--prob-gutter-x) 1.35rem;
  border-top: 1px solid rgba(228, 208, 174, 0.28);
  background: rgba(8, 8, 16, 0.35);
  text-align: center;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(228, 208, 174, 0.7);
  min-height: 0;
}

body.prob-site .prob-footer-bottom p {
  margin: 0 !important;
  text-align: center;
}

body.prob-site .prob-footer-partner {
  margin-top: 0.45rem;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: none;
  font-weight: 400;
}

body.prob-site.light-mode .prob-footer {
  --pb-champagne: #6e65c3;
  --pb-link: #7a5720;
  --pb-purple: #6e65c3;
  border-top: 2px solid #e4d0ae;
  background: #f4efe6 !important;
  color: #2a2418;
}

body.prob-site.light-mode .prob-footer h4 {
  color: #6e65c3;
}

body.prob-site.light-mode .prob-footer a {
  color: #7a5720;
}

body.prob-site.light-mode .prob-footer a:hover {
  color: #6e65c3;
  border-bottom-color: rgba(110, 101, 195, 0.4);
}

body.prob-site.light-mode .prob-footer .prob-social__link,
body.prob-site.light-mode .prob-footer .prob-social__link:hover {
  border-color: #e4d0ae;
  color: #6e65c3;
}

body.prob-site.light-mode .prob-footer .prob-social__link:hover {
  background: #e4d0ae !important;
  color: #1a1408;
}

body.prob-site.light-mode .prob-footer-bottom {
  background: #e4d0ae;
  border-top: 1px solid rgba(110, 101, 195, 0.18);
  color: #6e65c3;
}

body.prob-site.light-mode .prob-footer-bottom a {
  color: #6e65c3;
}

body.prob-site.light-mode .prob-btn-primary {
  background: #6e65c3;
  color: #fff;
}

body.prob-site.light-mode .prob-btn-primary:hover {
  background: #e4d0ae;
  color: #1a1408;
}

body.prob-site.light-mode .prob-btn-outline {
  border-color: #e4d0ae;
  color: #6e65c3;
  background: #ffffff;
}

@media (max-width: 899px) {
  body.prob-site .prob-footer .prob-footer-grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  body.prob-site .prob-footer .prob-footer-grid-4 > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 699px) {
  body.prob-site .prob-footer {
    padding: 2rem 0 0 !important;
  }

  body.prob-site .prob-footer .prob-footer__logo img {
    max-height: 88px;
    max-width: 260px;
  }

  body.prob-site .prob-footer .prob-footer-grid-4 {
    gap: 1.25rem 0.85rem;
  }

  body.prob-site .prob-footer .prob-footer-grid-4 > div:first-child {
    text-align: left;
  }

  body.prob-site .prob-footer .prob-footer-grid-4 > div:first-child p {
    font-size: 0.82rem !important;
  }

  body.prob-site .prob-footer h4 {
    margin-bottom: 0.55rem;
    font-size: 0.6rem;
  }

  body.prob-site .prob-footer li {
    font-size: 0.78rem;
  }

  body.prob-site .prob-footer-bottom {
    margin-top: 1.35rem;
    padding: 0.85rem var(--prob-gutter-x) 1.05rem;
    text-align: center;
    font-size: 0.58rem;
  }
}
