/* Habillage des fêtes pour l’accueil, sans incidence sur les autres pages. */
body.atc-noel-home {
    --noel-sapin: #102f28;
    --noel-papier: #faf4e8;
    --noel-or: #e8bf77;
    --noel-rouge: #842c3d;
    background: var(--noel-papier);
}
.atc-noel-home > header {
    background: #fcf4e3;
    border-bottom: 1px solid #e1cda8;
}
.atc-noel-home .atc-home {
    background:
        radial-gradient(ellipse at 6% 5%, #f0dcc733, transparent 42rem),
        radial-gradient(ellipse at 100% 60%, #d9e8d8a0, transparent 48rem),
        radial-gradient(ellipse at 0% 90%, #efd9cf85, transparent 43rem),
        var(--noel-papier);
}
.atc-noel-home .hero.atc-opening {
    position: relative;
    isolation: isolate;
    box-sizing: border-box;
    width: min(calc(100% - 2.5rem), 1320px);
    max-width: none;
    margin: clamp(1rem, 2vw, 1.8rem) auto 0;
    padding: clamp(1.4rem, 5vw, 4.6rem);
    gap: clamp(1.4rem, 4vw, 4rem);
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    align-items: center;
    overflow: hidden;
    border: 1px solid #365e44;
    border-radius: clamp(1.2rem, 3vw, 2.4rem);
    background:
        radial-gradient(ellipse at 90% 20%, #57714765, transparent 45%),
        radial-gradient(ellipse at 5% 100%, #6f354477, transparent 40%),
        linear-gradient(135deg, #143b31, #0f2b24 68%, #1e3a2a);
    color: #fff8ea;
    box-shadow: 0 24px 52px #39241422;
}
.atc-noel-home .hero.atc-opening::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    content: "";
    opacity: .8;
    background-image:
        radial-gradient(circle, #fff0c7 1px, transparent 2px),
        radial-gradient(circle, #e8bf77 1px, transparent 3px),
        radial-gradient(circle, #fff6dc 1px, transparent 2px);
    background-size: 103px 118px, 149px 130px, 211px 179px;
    background-position: 17px 4px, 72px 43px, 4px 59px;
    mask-image: linear-gradient(#000, #0006 35%, #0002 70%, #000);
}
.atc-noel-home .hero.atc-opening h1 { color: #fff8ea; font-size: clamp(2.5rem, 4.6vw, 5rem); line-height: 1.03; }
.atc-noel-home .hero.atc-opening h1 em { color: #f0cb86; }
.atc-noel-home .hero.atc-opening .hero-copy > p:not(.noel-edition),
.atc-noel-home .hero.atc-opening .hero-notes { color: #f4e8cd; }
.atc-noel-home .hero.atc-opening .hero-copy > p:not(.noel-edition) { max-width: 36ch; }
.atc-noel-home .noel-edition {
    display: inline-block;
    margin: 0 0 .9rem;
    padding: .3rem .7rem;
    border: 1px solid #ebc98588;
    border-radius: 999px;
    color: #ffe2a6;
    font-weight: 700;
    letter-spacing: .08em;
    font-size: .75rem;
    text-transform: uppercase;
}
.atc-noel-home .hero.atc-opening .actions { gap: .8rem 1.3rem; flex-wrap: wrap; }
.atc-noel-home .hero.atc-opening .actions .button {
    background: #f4d296;
    border-color: #f4d296;
    color: #1b3328;
    box-shadow: 0 8px 22px #061b1670;
}
.atc-noel-home .hero.atc-opening .actions .button:hover { background: #fff0c5; }
.atc-noel-home .hero.atc-opening .actions .text-link { color: #fff1d1; }
.atc-noel-home .hero.atc-opening .atc-studio-photo {
    position: relative;
    margin: 0;
    min-width: 0;
    max-width: none;
    background: #662d37;
    border: 1px solid #e8bf77a8;
    border-radius: clamp(.95rem, 2vw, 1.7rem);
    box-shadow: 0 19px 42px #061b1680;
}
.atc-noel-home .hero.atc-opening .atc-studio-photo img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 1.28;
    object-fit: cover;
    object-position: 51% center;
    border-radius: inherit;
}
.atc-noel-home .atc-studio-photo .noel-figure-label {
    position: absolute;
    right: clamp(.7rem, 1.6vw, 1.15rem);
    bottom: clamp(.7rem, 1.6vw, 1.15rem);
    width: auto;
    margin: 0;
    padding: .42rem .75rem;
    border: 1px solid #f9dc9f80;
    border-radius: .55rem;
    background: #163329f5;
    color: #fff4d8;
    font-size: .8rem;
    font-weight: 650;
}
.atc-noel-home .noel-garland {
    width: min(calc(100% - 4rem), 1200px);
    height: 1.15rem;
    margin: 1rem auto .1rem;
    background:
        radial-gradient(circle, #a13549 2px, transparent 4px) 0 38% / 76px 16px repeat-x,
        radial-gradient(circle, #b98736 2px, transparent 5px) 38px 65% / 76px 16px repeat-x,
        linear-gradient(transparent 46%, #44634a 46% 54%, transparent 54%);
    opacity: .75;
}
.atc-noel-home #modeles, .atc-noel-home #etiquettes-noel,
.atc-noel-home #atelier, .atc-noel-home #communaute, .atc-noel-home #guides {
    position: relative;
    border-top: 1px solid #bb9e6a88;
}
.atc-noel-home #modeles::before, .atc-noel-home #etiquettes-noel::before,
.atc-noel-home #atelier::before, .atc-noel-home #communaute::before,
.atc-noel-home #guides::before {
    content: "";
    position: absolute;
    top: -3px;
    left: 0;
    width: min(10rem, 36%);
    height: 5px;
    border-radius: 999px;
    background: linear-gradient(90deg, #843648 0 29%, #e4ba6e 29% 36%, #365e44 36% 100%);
}
.atc-noel-home #etiquettes-noel {
    background: linear-gradient(140deg, #fff5de, #f6e2db 60%, #eedbcb);
    outline: 1px solid #d8b69088;
}
.atc-noel-home #etiquettes-noel h2 { color: #752838; }
.atc-noel-home #atelier .workshop-head,
.atc-noel-home #modeles .section-head { border-color: #d9a764; }
.atc-noel-home .end-note {
    background: linear-gradient(116deg, #ecddbc, #f6ebd7 52%, #ead8c8);
    border-color: #d9b989;
}
.atc-noel-home > footer {
    background: #14372c;
    color: #fff5dd;
    border-top: 3px solid #d3a957;
}
.atc-noel-home > footer a, .atc-noel-home > footer p, .atc-noel-home > footer small,
.atc-noel-home > footer span { color: #fff1d3; }
.atc-noel-home .hero a:focus-visible, .atc-noel-home footer a:focus-visible {
    outline: 3px solid #fff1bc;
    outline-offset: 4px;
}
@media (max-width: 760px) {
    .atc-noel-home .hero.atc-opening {
        width: calc(100% - 1.2rem);
        grid-template-columns: minmax(0, 1fr);
        padding: clamp(1.15rem, 4.5vw, 2rem);
    }
    .atc-noel-home .hero.atc-opening .atc-studio-photo img { aspect-ratio: 1.45; }
}
@media (prefers-reduced-motion: reduce) {
    .atc-noel-home .hero.atc-opening *, .atc-noel-home .noel-garland { animation: none !important; }
}

[data-fetes-home][hidden] { display:none !important; }
