/**
 * theme-feu — Cycle des éléments — FEU (édition 2027)
 * Mode intégral : page entière.
 */

body.theme-feu #tm-main,
body.theme-feu.theme-integral {
  --theme-feu-ember: #ff6b35;
  --theme-feu-flame: #e85d04;
  --theme-feu-deep: #9b2226;
  --theme-feu-ash: #1a1210;
  --theme-feu-cream: #fff4e8;
  --theme-feu-paper: #f6e6d4;
  --theme-feu-gold: #f4a261;
  --theme-feu-ink: #2b1810;
  --theme-feu-ink-soft: #5c3a2a;
  --theme-feu-line: rgba(232, 93, 4, 0.35);
  --theme-feu-shadow: 0 14px 36px rgba(155, 34, 38, 0.22);
  --theme-feu-radius: 14px;
}

body.theme-feu #tm-main {
  color: var(--theme-feu-ink);
  background-color: #ffd6a5;
  background-image:
    radial-gradient(ellipse 90% 50% at 50% -5%, #fff8f0 0%, transparent 60%),
    radial-gradient(ellipse 55% 40% at 100% 20%, rgba(255, 107, 53, 0.28) 0%, transparent 55%),
    linear-gradient(180deg, #ffb703 0%, var(--theme-feu-cream) 42%, var(--theme-feu-paper) 100%);
  background-attachment: local;
  min-height: 40vh;
}

body.theme-feu #tm-main .uk-section-default {
  background-color: transparent;
  color: var(--theme-feu-ink);
}

body.theme-feu #tm-main h1,
body.theme-feu #tm-main h2,
body.theme-feu #tm-main h3,
body.theme-feu #tm-main .uk-article-title {
  color: var(--theme-feu-deep) !important;
}

body.theme-feu #tm-main a:not(.uk-button):not(.el-link) {
  color: var(--theme-feu-flame) !important;
}

body.theme-feu #tm-main .uk-button-primary,
body.theme-feu #tm-main a.uk-button-primary {
  background: linear-gradient(135deg, var(--theme-feu-ember), var(--theme-feu-deep)) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: var(--theme-feu-radius) !important;
  box-shadow: var(--theme-feu-shadow);
}

body.theme-feu #tm-main .uk-grid[class*="uk-child-width"] > * > article.uk-article {
  background: rgba(255, 248, 240, 0.94) !important;
  border: 2px solid var(--theme-feu-line) !important;
  border-radius: var(--theme-feu-radius) !important;
  box-shadow: var(--theme-feu-shadow) !important;
}

body.theme-feu #tm-main .uk-section-default:not(:has(.uk-countdown)),
body.theme-feu #tm-main .uk-section-muted:not(:has(.uk-countdown)) {
  background-color: transparent !important;
}

body.theme-feu.theme-integral {
  background:
    radial-gradient(ellipse 90% 50% at 50% -5%, #fff8f0 0%, transparent 55%),
    linear-gradient(180deg, #ffb703 0%, var(--theme-feu-cream) 45%, var(--theme-feu-paper) 100%);
  background-attachment: fixed;
  color: var(--theme-feu-ink);
}

body.theme-feu.theme-integral .tm-page {
  background: transparent;
}

body.theme-feu.theme-integral footer,
body.theme-feu.theme-integral .tm-footer,
body.theme-feu.theme-integral [class*="footer"] > .uk-section {
  background:
    linear-gradient(180deg, rgba(232, 93, 4, 0.2) 0%, #3b1510 40%, #1a1210 100%) !important;
  color: #fff4e8 !important;
  border-top: 3px solid var(--theme-feu-ember);
}

body.theme-feu.theme-integral footer a,
body.theme-feu.theme-integral .tm-footer a {
  color: #ffd6a5 !important;
}

/* Hero accueil : blanc crème comme les dates */
body.theme-feu #tm-main .section-top-home h1,
body.theme-feu #tm-main .section-top-home h1 strong,
body.theme-feu #tm-main .section-top-home [id="page#0"],
body.theme-feu #tm-main .section-top-home [id="page#0"] strong,
body.theme-feu #tm-main .section-top-home [id^="page"],
body.theme-feu #tm-main .section-top-home p,
body.theme-feu #tm-main .section-top-home strong,
body.theme-feu #tm-main .section-top-home .uk-text-lead {
  color: #fff8ef !important;
}
