/* Each product keeps its own identity inside the shared Click Life shell.
   Scope tokens to main/panels so the orange footer and common header do not change. */
html:root[data-color-theme="second"] body.product-emocoes main,
html:root[data-color-theme="second"] .home-page .front-emotions {
  /* Values used by the official Suas Emoções website (retrieved 2026-11-16).
     Primary #6C338A, gradient #4B267A, headings #372770, CTA #24194B.
     Pale surfaces are transparent tints of those same brand colors. */
  --palette-accent: #6C338A;
  --palette-hot: #4B267A;
  --palette-gold: #F7F6FB;
  --palette-mid: #4B267A;
  --palette-main: #6C338A;
  --palette-deep: #24194B;
  --palette-title: #372770;
  --palette-ink: #24194B;
  --palette-muted: #4B3C8E;
  --palette-surface: #F7F6FB;
  --palette-warm: color-mix(in srgb,#6C338A 5%,#fff);
  --palette-tint: color-mix(in srgb,#6C338A 11%,#fff);
  --palette-line: color-mix(in srgb,#6C338A 23%,#fff);
  --palette-accent-rgb: 108,51,138;
  --palette-gold-rgb: 247,246,251;
}

html:root[data-color-theme="second"] body.product-vet main,
html:root[data-color-theme="second"] .home-page .front-vet {
  --palette-accent: #EDAF28;
  --palette-hot: #D89B17;
  --palette-gold: #F8DC8D;
  --palette-mid: #95679C;
  --palette-main: #66346F;
  --palette-deep: #54275D;
  --palette-title: #54275D;
  --palette-ink: #39283F;
  --palette-muted: #665366;
  --palette-surface: #FFFCF4;
  --palette-warm: #FFF8E8;
  --palette-tint: #FFF0C6;
  --palette-line: #E9DCB9;
  --palette-accent-rgb: 237, 175, 40;
  --palette-gold-rgb: 248, 220, 141;
}

html:root[data-color-theme="second"] body.product-lev main,
html:root[data-color-theme="second"] .home-page .front-lev {
  --palette-accent: #E9C2D6;
  --palette-hot: #A2437E;
  --palette-gold: #F5DCE8;
  --palette-mid: #B7769A;
  --palette-main: #994477;
  --palette-deep: #78385F;
  --palette-title: #78385F;
  --palette-ink: #49313F;
  --palette-muted: #6E5262;
  --palette-surface: #FCF8FA;
  --palette-warm: #FAEEF4;
  --palette-tint: #F2E3EB;
  --palette-line: #E2CAD8;
  --palette-accent-rgb: 233, 194, 214;
  --palette-gold-rgb: 245, 220, 232;
}

/* Keep long-form copy consistent with the product palette on light surfaces. */
html:root[data-color-theme="second"] body.subpage:is(.product-emocoes,.product-vet,.product-lev) main :is(
  .campaign-intro,.campaign-fine,.story-copy>p,.story-points p,
  .journey-timeline p,.final-layout>div>p,.se-differentials-list p
) {
  color: var(--palette-muted);
}

/* A soft brand wash, with the existing dark wordmark on the light hero. */
html:root[data-color-theme="second"] body.subpage.product-emocoes main .campaign-hero {
  background: radial-gradient(ellipse at 0% 0%,#FFFFFFD9,transparent 70%),
              linear-gradient(115deg,#F7F6FB,color-mix(in srgb,#6C338A 12%,#fff));
}
html:root[data-color-theme="second"] body.subpage.product-lev main .campaign-hero {
  background: radial-gradient(ellipse at 0% 0%,#FFFFFFD9,transparent 70%),
              linear-gradient(115deg,#FCF5F9,#F2E3EB);
}

/* Product previews use the same identities as their destination pages. */
html:root[data-color-theme="second"] .home-page :is(.front-emotions,.front-vet,.front-lev) {
  --front-fg: var(--palette-ink);
  --front-accent: var(--palette-deep);
  color: var(--palette-ink);
}
html:root[data-color-theme="second"] .home-page .front-emotions {
  background: radial-gradient(ellipse at 100% 0%,#FFFFFFB3,transparent 78%),var(--palette-tint);
}
html:root[data-color-theme="second"] .home-page .front-vet {
  background: linear-gradient(165deg,#FFFEFA 0%,#FFF9EB 18%,#FFE7A5 43%,#F8CD61 68%,var(--palette-accent) 100%);
}
html:root[data-color-theme="second"] .home-page .front-lev {
  background: radial-gradient(ellipse at 100% 0%,#FFFFFF99,transparent 78%),var(--palette-tint);
}
html:root[data-color-theme="second"] .home-page .front-vet .front-logo,
html:root[data-color-theme="second"] .home-page .front-lev .front-logo {
  filter: none;
}
html:root[data-color-theme="second"] .home-page :is(.front-emotions,.front-vet,.front-lev) .front-cta {
  background: var(--palette-deep);
  color: #FFF;
}
html:root[data-color-theme="second"] .home-page :is(.front-emotions,.front-vet,.front-lev) .front-cta:hover {
  background: var(--palette-main);
  color: #FFF;
}
html:root[data-color-theme="second"] .home-page :is(.front-emotions,.front-vet,.front-lev) .open-close {
  background: #FFFFFFA6;
  color: var(--palette-deep);
}
