.modern-hero[data-home-theme="natal"] {
    --occasion-ink: #804624;
    --occasion-paper: #f4e8d6;
    --tile-base: #0e3025;
    --tile-shade: rgba(11, 43, 32, .94);
    --tile-edge: rgba(9, 34, 27, .26);
    --tile-copy: #fff9e9;
    --tile-label: #f9d595;
    --occasion-image: url("../images/seasons/natal.webp");
}
.modern-hero[data-home-theme="virada"] {
    --occasion-ink: #533f77;
    --occasion-paper: #eee8f4;
    --tile-base: #101e3f;
    --tile-shade: rgba(13, 27, 58, .95);
    --tile-edge: rgba(5, 19, 40, .27);
    --tile-copy: #fbf8ef;
    --tile-label: #fbd390;
    --occasion-image: url("../images/seasons/virada.webp");
}
.modern-hero[data-home-theme="janeiro"] {
    --occasion-ink: #2d624f;
    --occasion-paper: #e5eee3;
    --tile-base: #f4e7d1;
    --tile-shade: rgba(247, 234, 211, .94);
    --tile-edge: rgba(244, 231, 209, .22);
    --tile-copy: #193b38;
    --tile-label: #355647;
    --occasion-image: url("../images/seasons/janeiro.webp");
}
[data-home-theme] .hero-editorial > .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .35rem .7rem;
    border-radius: 2rem;
    color: var(--occasion-ink);
    background: var(--occasion-paper);
    font-size: .85rem;
    line-height: 1.2;
    letter-spacing: .035em;
    text-transform: none;
}
[data-home-theme] .hero-editorial > .eyebrow i {
    width: .75rem;
    height: .75rem;
    border-radius: 0;
    clip-path: polygon(50% 0, 61% 38%, 100% 50%, 61% 62%, 50% 100%, 39% 62%, 0 50%, 39% 38%);
}
[data-home-theme] .hero-budget-tile {
    background-color: var(--tile-base);
    background-image: linear-gradient(90deg, var(--tile-base) 0%, var(--tile-shade) 38%, var(--tile-edge) 83%), var(--occasion-image);
    background-position: center, 28% center;
    background-size: cover, cover;
    background-repeat: no-repeat;
    color: var(--tile-copy);
}
[data-home-theme] .hero-budget-tile .eyebrow { color: var(--tile-label); }
@media (max-width: 540px) {
    [data-home-theme] .hero-budget-tile {
        background-position: center, 30% center;
        background-image: linear-gradient(90deg, var(--tile-shade) 8%, var(--tile-shade) 48%, var(--tile-edge) 100%), var(--occasion-image);
    }
}

.festive-stage {
    --festive-cream: #fff5dc;
    --festive-gold: #ffcf87;
    --festive-muted: #e2ebe2;
    --festive-trim: url("../images/seasons/ramo-de-natal.webp");
    position: relative;
    isolation: isolate;
    background:
        radial-gradient(ellipse at 94% 0%, #4b5135 0%, transparent 42%),
        radial-gradient(ellipse at 24% 0%, #254f40 0%, transparent 62%),
        linear-gradient(115deg, #123c32, #0b2b24 68%, #173c30);
    border-bottom: 2px solid #b48a50;
}
.festive-stage[data-festive-stage="virada"] {
    --festive-cream: #fff5e0;
    --festive-gold: #ffdc9d;
    --festive-muted: #e3e5ef;
    --festive-trim: url("../images/seasons/fogos-da-virada.webp");
    background:
        radial-gradient(ellipse at 88% 0%, #484364 0%, transparent 43%),
        radial-gradient(ellipse at 26% 5%, #253756 0%, transparent 59%),
        linear-gradient(115deg, #132641, #101b35 62%, #202846);
}
.festive-scenery {
    position: absolute;
    inset: 0;
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
}
.festive-scenery canvas {
    display: block;
    width: 100%;
    height: 100%;
}
.festive-trim,
[data-festive-stage="natal"] .festive-scenery::after {
    position: absolute;
    top: -6px;
    width: clamp(225px, 23vw, 375px);
    aspect-ratio: 3 / 2;
    background: var(--festive-trim) right top / contain no-repeat;
}
.festive-trim { right: 0; }
@media (min-width: 801px) {
    [data-festive-stage="natal"] .festive-scenery::after {
        content: "";
        left: 0;
        /* Size the left branch to the gutter beside the 1320px content area. */
        width: clamp(140px, calc((100% - 1320px) / 2 + 150px), 375px);
        transform: scaleX(-1);
    }
}
[data-festive-stage="virada"] .festive-trim {
    top: -10px;
    right: max(-24px, calc((100% - 1570px) / 2));
    width: clamp(240px, 28vw, 435px);
    mix-blend-mode: screen;
}
.festive-stage .modern-hero {
    position: relative;
    padding-block: clamp(3.6rem, 4.7vw, 5.25rem) clamp(2.5rem, 4vw, 4rem);
}
.festive-stage .hero-editorial { position: relative; z-index: 3; }
.festive-stage .hero-editorial > .eyebrow {
    gap: .7rem;
    padding: 0;
    border-radius: 0;
    color: var(--festive-gold);
    background: transparent;
    font: italic 500 clamp(2.1rem, 3.8vw, 3.75rem)/1.04 Georgia, "Times New Roman", serif;
    letter-spacing: -.055em;
}
.festive-stage .hero-editorial > .eyebrow i {
    width: .35em;
    height: .45em;
    background: var(--festive-gold);
}
.festive-stage .hero-editorial > .eyebrow::after {
    content: "";
    width: clamp(1.5rem, 3vw, 3rem);
    height: 1px;
    margin-left: .15rem;
    background: linear-gradient(to right, var(--festive-gold), transparent);
}
.festive-stage .hero-editorial h1 { color: var(--festive-cream); }
.festive-stage .hero-editorial h1 em { color: #ffac65; }
.festive-stage .hero-editorial > p,
.festive-stage .hero-signature { color: var(--festive-muted); }
.festive-stage .hero-signature strong { color: var(--festive-cream); }
.festive-stage .signature-mark {
    background: transparent;
    border: 1px solid #dcc89988;
    color: var(--festive-gold);
}
.festive-stage .hero-building, .festive-stage .hero-budget-tile, .festive-stage .hero-chat-tile {
    box-shadow: 0 0 0 1px #ffe6b04d, 0 10px 28px #0002;
}
.hero-santa {
    position: absolute;
    z-index: 1;
    right: max(3rem, 7%);
    bottom: -1rem;
    height: clamp(10.3rem, 16vw, 13.4rem);
    aspect-ratio: 320 / 368;
    pointer-events: none;
    filter: drop-shadow(0 3px 4px #15282170);
}
.hero-santa > img { display: block; width: 100%; height: 100%; }
/* Each arm pose covers the same 136 × 207 area of the 320 × 368 figure. */
.santa-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 42.5%;
    height: 56.25%;
    background: url("../images/seasons/papai-noel-aceno.webp") 50% 0 / 1700% 100% no-repeat;
}
@media (prefers-reduced-motion: no-preference) {
    .santa-wave { animation: santa-wave 3.3s linear infinite paused; }
    [data-motion-running] .santa-wave { animation-play-state: running; }
}
@keyframes santa-wave {
    0% { background-position-x: 50%; animation-timing-function: steps(8, end); }
    11%, 43% { background-position-x: 100%; animation-timing-function: steps(16, end); }
    27% { background-position-x: 0%; animation-timing-function: steps(16, end); }
    59% { background-position-x: 0%; animation-timing-function: steps(8, end); }
    70%, 100% { background-position-x: 50%; }
}
@media (min-width: 801px) and (max-width: 1220px), (max-width: 625px) {
    .hero-santa { right: 0; bottom: calc(100% + .5rem); height: clamp(8.4rem, 25vw, 10.9rem); }
}
.festive-stage :is(a, button):focus-visible { outline: 3px solid #ffdc9d; outline-offset: 4px; }
.festive-motion:not([hidden]) {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    min-height: 44px;
    margin-left: .75rem;
    padding: .35rem .22rem;
    border: 0;
    border-radius: .35rem;
    color: var(--festive-muted);
    background: transparent;
    vertical-align: middle;
    font-family: inherit;
    font-size: .75rem;
    font-weight: 550;
    line-height: 1.2;
    cursor: pointer;
}
.festive-motion:hover { color: var(--festive-gold); }
.festive-motion-icon { width: .55rem; height: .7rem; border-inline: 2px solid currentColor; }
.festive-motion[data-paused] .festive-motion-icon {
    height: 0;
    width: 0;
    border: solid transparent;
    border-width: .35rem 0 .35rem .55rem;
    border-left-color: currentColor;
}
@media (max-width: 800px) {
    .festive-stage .modern-hero { padding-top: 2.85rem; }
    .festive-trim { width: clamp(170px, 33vw, 260px); }
    [data-festive-stage="virada"] .festive-trim { width: clamp(185px, 38vw, 290px); }
}
@media (max-width: 540px) {
    .festive-stage { --festive-trim: url("../images/seasons/ramo-de-natal-sm.webp"); }
    .festive-stage[data-festive-stage="virada"] { --festive-trim: url("../images/seasons/fogos-da-virada-sm.webp"); }
    .festive-trim { width: clamp(132px, 39vw, 185px); }
    [data-festive-stage="virada"] .festive-trim { width: clamp(145px, 43vw, 205px); right: -16px; }
    .festive-stage .hero-editorial { padding-top: 1.15rem; }
    .festive-stage .hero-editorial > .eyebrow { font-size: clamp(1.85rem, 8vw, 2.4rem); gap: .4rem; }
    .festive-stage .hero-editorial > .eyebrow::after { width: 1.25rem; }
    .festive-motion:not([hidden]) { margin-left: .4rem; gap: .35rem; font-size: .7rem; }
}
