/* TEMC R24 – Champagne / Ivory / Soft Emerald – visual overlay, preserves content and affiliate routing. */
:root {
  --temc-r24-ivory: #FCFAF5;
  --temc-r24-champagne: #F3E8D5;
  --temc-r24-sage: #DCE8DF;
  --temc-r24-emerald: #376E61;
  --temc-r24-ink: #27332F;
  --temc-r24-gold: #B99B59;
}
html, body { background: var(--temc-r24-ivory) !important; color: var(--temc-r24-ink); }
body > header, header.sticky { background: rgba(252,250,245,.97) !important; border-color: rgba(185,155,89,.34) !important; }
main > section:first-child.bg-emeraude,
main > section:first-child[class*="bg-emeraude"] {
  background: linear-gradient(120deg, #F5EBDE 0%, #E3EEE5 58%, #FCFAF5 100%) !important;
  color: var(--temc-r24-ink) !important;
}
main > section:first-child.bg-emeraude :is(h1,h2,h3,p),
main > section:first-child.bg-emeraude [class*="text-[#FFFFFF]"],
main > section:first-child.bg-emeraude [class*="text-white"],
main > section:first-child[class*="bg-emeraude"] :is(h1,h2,h3,p),
main > section:first-child[class*="bg-emeraude"] [class*="text-[#FFFFFF]"] {
  color: var(--temc-r24-ink) !important;
  text-shadow: none !important;
}
main > section:first-child.bg-emeraude [class*="text-or"],
main > section:first-child[class*="bg-emeraude"] [class*="text-or"] { color: #806A42 !important; }
main > section:first-child.bg-emeraude [class*="bg-white/10"],
main > section:first-child[class*="bg-emeraude"] [class*="bg-white/10"] {
  background: rgba(255,255,255,.62) !important;
  border-color: rgba(185,155,89,.26) !important;
}
main > section:first-child.bg-emeraude [class*="border-or"] { border-color: rgba(166,139,84,.35) !important; }
main > section.bg-emeraude:not(:first-child) {
  background: linear-gradient(135deg, #DCE8DF, #F3E8D5) !important;
  color: #27332F !important;
}
main > section.bg-emeraude:not(:first-child) :is(h1,h2,h3,p),
main > section.bg-emeraude:not(:first-child) [class*="text-[#FFFFFF]"],
main > section.bg-emeraude:not(:first-child) [class*="text-white"] {
  color: #27332F !important;
}
main > section.bg-emeraude:not(:first-child) [class*="text-or"] { color: #806A42 !important; }
body footer.bg-emeraude { background: #315C52 !important; color: #FFFFFF !important; }
body footer.bg-emeraude [class*="text-or"] { color: #E3CC98 !important; }
body .bg-or { background-color: var(--temc-r24-gold) !important; }
body .bg-creme2 { background-color: #F4F0E8 !important; }
body .text-orriche { color: #8A6E3A !important; }
body .shadow-gold { box-shadow: 0 8px 24px rgba(88,82,55,.12) !important; }
body .border-or { border-color: #CBB684 !important; }
body :focus-visible { outline: 3px solid #9D824A; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { transition-duration: 0.01ms !important; animation-duration:0.01ms !important; } }

/* Contrast protection: retain light labels on the deep-emerald mini-cards inside pale hero. */
main > section:first-child.bg-emeraude .bg-emeraude:not(section),
main > section:first-child[class*="bg-emeraude"] .bg-emeraude:not(section) {
  background-color: #315B51 !important;
}
main > section:first-child.bg-emeraude .bg-emeraude:not(section) :is(h1,h2,h3,p,span),
main > section:first-child[class*="bg-emeraude"] .bg-emeraude:not(section) :is(h1,h2,h3,p,span) {
  color: #FCFAF5 !important;
}
main > section:first-child.bg-emeraude .bg-emeraude:not(section) [class*="text-or"],
main > section:first-child[class*="bg-emeraude"] .bg-emeraude:not(section) [class*="text-or"] { color: #E8D3A2 !important; }
main > section:first-child.bg-emeraude .bg-emeraude:not(section) .bg-or,
main > section:first-child[class*="bg-emeraude"] .bg-emeraude:not(section) .bg-or { color: #27332F !important; }

/* Preserve readability of inset deep-forest panels within the light hero. */
main > section:first-child[class*="bg-emeraude"] .bg-foret {
  background-color: #315C52 !important;
  color: #FFFFFF !important;
}
main > section:first-child[class*="bg-emeraude"] .bg-foret :is(p,span,strong,h3),
main > section:first-child[class*="bg-emeraude"] .bg-foret [class*="text-white"],
main > section:first-child[class*="bg-emeraude"] .bg-foret [class*="text-[#FFFFFF]"] {
  color: #FCFAF5 !important;
}
main > section:first-child[class*="bg-emeraude"] .bg-foret [class*="text-or"] {
  color: #E6CCA0 !important;
}
main > section:first-child[class*="bg-emeraude"] .bg-foret .bg-or :is(p,span),
main > section:first-child[class*="bg-emeraude"] .bg-foret .bg-or {
  color: #27332F !important;
}
