/* ========================================
   CALENDRIER DE PÂQUES 2026 — JARDIN ENCHANTÉ
   ======================================== */

:root {
    --pink:     #FFB3C6;
    --peach:    #FFD7BA;
    --yellow:   #FFF3A3;
    --mint:     #B8F0C8;
    --lavender: #D4B8F0;
    --sky:      #A8DCFF;
    --coral:    #FFAD9F;
    --lilac:    #EEC1F5;
    --lime:     #C8EE90;
    --butter:   #FFE499;
    --grass:    #5aba2f;
    --grass-dk: #3d8a1e;
    --text:     #3d2200;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ---- FOND : ciel → horizon → herbe ---- */
body {
    font-family: 'Nunito', sans-serif;
    min-height: 100vh;
    background: linear-gradient(
        180deg,
        #87CEEB 0%,
        #C5EAF8 45%,
        #d6f5b0 68%,
        #7bc93a 82%,
        #4a9e1e 100%
    );
    background-attachment: fixed;
    color: var(--text);
    text-align: center;
    position: relative;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

/* ========================================
   DÉCORS DU CIEL (positionnés en fixed)
   ======================================== */
.sky-deco {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

/* Soleil */
.sun {
    position: absolute;
    top: 1.5rem;
    right: 2.5rem;
    font-size: 4rem;
    animation: sunSpin 25s linear infinite;
    filter: drop-shadow(0 0 18px #FFD700);
}
@keyframes sunSpin {
    to { transform: rotate(360deg); }
}

/* Nuages */
.cloud {
    position: absolute;
    animation: floatCloud linear infinite;
    opacity: 0.88;
}
.cloud-1 { top: 4%;  font-size: 4rem;   animation-duration: 28s; animation-delay: 0s; }
.cloud-2 { top: 11%; font-size: 2.8rem; animation-duration: 38s; animation-delay: -13s; }
.cloud-3 { top: 7%;  font-size: 3.5rem; animation-duration: 33s; animation-delay: -20s; }
@keyframes floatCloud {
    from { transform: translateX(-250px); }
    to   { transform: translateX(calc(100vw + 250px)); }
}

/* Papillons */
.butterfly {
    position: absolute;
    animation: flyButterfly ease-in-out infinite;
}
.bf-1 { font-size: 2rem;   top: 30%; left: 8%;  animation-duration: 6s;  animation-delay: 0s; }
.bf-2 { font-size: 1.6rem; top: 22%; right: 12%; animation-duration: 9s;  animation-delay: -4s; }
.bf-3 { font-size: 1.4rem; top: 42%; left: 20%; animation-duration: 7s;  animation-delay: -2s; }
@keyframes flyButterfly {
    0%,100% { transform: translate(0,   0)   rotate(-10deg); }
    25%     { transform: translate(25px, -18px) rotate(10deg); }
    50%     { transform: translate(55px,  8px)  rotate(-5deg); }
    75%     { transform: translate(25px, -28px) rotate(15deg); }
}

/* Oiseau */
.bird-1 {
    position: absolute;
    top: 16%;
    font-size: 1.6rem;
    animation: birdFly 18s linear infinite;
}
@keyframes birdFly {
    from { left: -6%; }
    to   { left: 110%; }
}

/* Étincelles */
.sparkle {
    position: absolute;
    animation: twinkle 3s ease-in-out infinite;
}
.sp-1 { font-size: 1.6rem; top: 20%; left: 50%;  animation-delay: 0s; }
.sp-2 { font-size: 1.2rem; top: 8%;  left: 30%;  animation-delay: 1s; }
.sp-3 { font-size: 1.4rem; top: 35%; right: 25%; animation-delay: 2s; }
@keyframes twinkle {
    0%, 100% { opacity: 0.2; transform: scale(0.8) rotate(0deg); }
    50%      { opacity: 1;   transform: scale(1.3) rotate(20deg); }
}

/* ========================================
   HEADER
   ======================================== */
header {
    position: relative;
    z-index: 10;
    padding: 2rem 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    border-bottom: 3px solid rgba(255, 255, 255, 0.45);
}

.header-eggs {
    font-size: 2.2rem;
    margin-bottom: 0.6rem;
}
.egg-deco {
    display: inline-block;
    margin: 0 0.3rem;
    animation: eggWiggle 2.5s ease-in-out infinite;
}
.egg-deco:nth-child(2) { animation-delay: 0.4s; }
.egg-deco:nth-child(3) { animation-delay: 0.8s; }
@keyframes eggWiggle {
    0%, 100% { transform: rotate(-12deg) scale(1); }
    50%      { transform: rotate(12deg)  scale(1.2); }
}

header h1 {
    font-family: 'Fredoka One', cursive;
    font-size: 3rem;
    color: #fff;
    text-shadow:
        2px 3px 0 #c07000,
        0 0 25px rgba(255, 190, 50, 0.7);
    margin-bottom: 0.5rem;
    animation: titleGlow 4s ease-in-out infinite;
}
@keyframes titleGlow {
    0%, 100% { filter: drop-shadow(0 0 8px rgba(255,220,50,0.4)); }
    50%      { filter: drop-shadow(0 0 22px rgba(255,220,50,0.9)); }
}

header p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 700;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.25);
}

/* ========================================
   MAIN — SCÈNE
   ======================================== */
main {
    position: relative;
    z-index: 10;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 2.5rem 1rem 0;
}

.scene-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 1rem;
    padding-bottom: 0;
    max-width: 920px;
    width: 100%;
    margin: 0 auto;
}

/* ---- Lapins & fleurs : pos absolue dans le vide sous le calendrier ---- */
.side-scene {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 160px;
}
.left-scene  { left:  0; }
.right-scene { right: 0; }

/* Lapins : milieu vertical du vide sous le calendrier (~65% de la hauteur) */
.rabbit {
    position: absolute;
    font-size: 4.5rem;
    filter: drop-shadow(2px 5px 8px rgba(0,0,0,0.2));
    cursor: default;
    animation: rabbitBounce 2.2s ease-in-out infinite;
    top: 62%;
}
.left-scene  .rabbit { left:  30px; }
.right-scene .rabbit { right: 30px; }
.rabbit-right { animation-delay: -1.1s; }
@keyframes rabbitBounce {
    0%, 100% { transform: translateY(0)    rotate(-4deg); }
    45%      { transform: translateY(-16px) rotate(4deg); }
}

/* Fleurs : dispersées individuellement autour des lapins */
.side-flowers {
    position: absolute;
    inset: 0;
}
.side-flowers span {
    position: absolute;
    display: inline-block;
    font-size: 2rem;
    animation: flowerSway 3.5s ease-in-out infinite;
    filter: drop-shadow(1px 3px 4px rgba(0,0,0,0.15));
}

/* Gauche : 3 fleurs réparties sur toute la hauteur */
.left-scene .side-flowers span:nth-child(1) { top:  12%; left: 18px; font-size: 2.3rem; animation-delay: 0s; }
.left-scene .side-flowers span:nth-child(2) { top:  48%; left: 60px; font-size: 1.9rem; animation-delay: -1s; }
.left-scene .side-flowers span:nth-child(3) { bottom: 12%; left: 25px; font-size: 2.1rem; animation-delay: -0.5s; }

/* Droite : 3 fleurs réparties sur toute la hauteur */
.right-scene .side-flowers span:nth-child(1) { top:  18%; right: 22px; font-size: 2rem;   animation-delay: -1.2s; }
.right-scene .side-flowers span:nth-child(2) { top:  52%; right: 55px; font-size: 2.2rem; animation-delay: -0.3s; }
.right-scene .side-flowers span:nth-child(3) { bottom:  9%; right: 20px; font-size: 1.9rem; animation-delay: -1.8s; }

@keyframes flowerSway {
    0%, 100% { transform: rotate(-9deg); }
    50%      { transform: rotate(9deg);  }
}

/* ---- Décos sous le calendrier ---- */
.under-cal {
    position: absolute;
    font-size: 2.2rem;
    filter: drop-shadow(1px 3px 5px rgba(0,0,0,0.15));
    animation: flowerSway 3.5s ease-in-out infinite;
    pointer-events: none;
    z-index: -2;
}
.uc-1 { bottom: 28%; left:  22%; font-size: 2rem;   animation-delay: -0.4s; }
.uc-2 { bottom: 18%; left:  33%; font-size: 2rem;   animation-name: eggWiggle; animation-delay: -1.2s; }
.uc-3 { bottom: 10%; left:  40%; font-size: 2.3rem; animation-delay: -0.8s; }
.uc-4 { bottom: 16%; left:  62%; font-size: 2.1rem; animation-delay: -2s; }
.uc-5 { bottom: 26%; left:  74%; font-size: 1.9rem; animation-delay: -1.5s; }

/* ========================================
   CALENDRIER
   ======================================== */
.calendar-container {
    position: relative;
    margin-top: -50px;
    background: rgba(255, 255, 255, 0.52);
    backdrop-filter: blur(12px);
    border-radius: 32px;
    padding: 2rem 2rem 2.2rem;
    box-shadow:
        0 22px 65px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255,255,255,0.85),
        0 0 0 3px rgba(255,255,255,0.55);
    border: 2px solid rgba(255, 255, 255, 0.65);
}

.above-cal-flower {
    position: absolute;
    font-size: 2.4rem;
    pointer-events: none;
    animation: flowerSway 3.5s ease-in-out infinite;
    filter: drop-shadow(1px 3px 6px rgba(0,0,0,0.18));
    z-index: 5;
}
.afc-1 { top: -1.9rem; left:  18%; animation-delay: -0.6s; }
.afc-2 { top: -1.9rem; right: 18%; animation-delay: -1.8s; }

.calendar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.calendar-row {
    display: flex;
    gap: 0.9rem;
    justify-content: center;
}

/* -- ŒUFS de Pâques -- */
.calendar-day {
    width: 88px;
    height: 106px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow:
        0 6px 22px rgba(0,0,0,0.14),
        inset 0 -5px 0 rgba(0,0,0,0.1),
        inset 0 2px 0 rgba(255,255,255,0.65);
    border: 3px solid rgba(255,255,255,0.7);
}

/* Couleurs pastel individuelles (10 uniques) */
.calendar-day.col-pink     { background: var(--pink); }
.calendar-day.col-peach    { background: var(--peach); }
.calendar-day.col-yellow   { background: var(--yellow); }
.calendar-day.col-mint     { background: var(--mint); }
.calendar-day.col-lavender { background: var(--lavender); }
.calendar-day.col-sky      { background: var(--sky); }
.calendar-day.col-coral    { background: var(--coral); }
.calendar-day.col-lilac    { background: var(--lilac); }
.calendar-day.col-lime     { background: var(--lime); }
.calendar-day.col-butter   { background: var(--butter); }

/* Reflet brillant sur l'œuf */
.calendar-day::after {
    content: '';
    position: absolute;
    width: 55%;
    height: 52%;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    top: 8%;
    left: 22%;
    pointer-events: none;
}

/* Ligne décorative horizontale */
.calendar-day::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.55);
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
}

/* Hover */
.calendar-day:hover {
    transform: translateY(-12px) scale(1.12);
    box-shadow:
        0 18px 40px rgba(0,0,0,0.22),
        0 0 0 4px rgba(255,255,255,0.9),
        inset 0 2px 0 rgba(255,255,255,0.9);
    filter: brightness(1.08) saturate(1.25);
}
.calendar-day:hover .day-icon {
    opacity: 1;
    transform: scale(1.4);
}

.day-number {
    font-family: 'Fredoka One', cursive;
    font-size: 1.9rem;
    color: rgba(70, 35, 0, 0.8);
    text-shadow: 1px 1px 0 rgba(255,255,255,0.7);
    position: relative;
    z-index: 2;
}

.day-icon {
    font-size: 1.25rem;
    opacity: 0;
    transition: all 0.3s ease;
    position: absolute;
    bottom: 13px;
    z-index: 2;
}

/* ========================================
   BANDE HERBE
   ======================================== */
.grass-strip {
    position: relative;
    z-index: 5;
    width: 100%;
    height: 90px;
    background-image: url('../images/herbe.png');
    background-repeat: repeat-x;
    background-position: bottom center;
    background-size: auto 100%;
    flex-shrink: 0;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    position: relative;
    z-index: 10;
    background: rgba(40, 100, 10, 0.246);
    color: #d2fcb3;
    padding: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 700px) {
    .side-scene { display: none; }
    header h1    { font-size: 1.9rem; }
    .calendar-day { width: 62px; height: 76px; }
    .day-number   { font-size: 1.4rem; }
    .calendar-row { gap: 0.5rem; }
    .calendar-container { padding: 1.2rem; }
    .scene-wrapper { padding: 1rem; }
}
@media (max-width: 400px) {
    .calendar-day { width: 52px; height: 63px; }
    .calendar-row { gap: 0.3rem; }
    header h1     { font-size: 1.5rem; }
}


/* ========================================
   BOUTON CTA JOUR 10
   ======================================== */
.day10-cta-wrap {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    padding: .8rem 1rem 1rem;
}
.day10-cta {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: 'Fredoka One', cursive;
    font-size: 1.25rem;
    color: #fff;
    text-decoration: none;
    border: none;
    outline: none;
    background: linear-gradient(135deg, #FF8C00, #e65c00);
    padding: .75rem 2.2rem;
    border-radius: 99px;
    box-shadow: 0 6px 24px rgba(230, 92, 0, .45);
    text-shadow: 1px 1px 0 rgba(0,0,0,.2);
    transition: transform .2s, box-shadow .2s;
    animation: ctaPulse 2s ease-in-out infinite;
}
.day10-cta:hover {
    transform: scale(1.07);
    box-shadow: 0 10px 32px rgba(230, 92, 0, .6);
    animation: none;
}
@keyframes ctaPulse {
    0%, 100% { box-shadow: 0 6px 24px rgba(230,92,0,.4); }
    50%       { box-shadow: 0 10px 34px rgba(230,92,0,.75); transform: scale(1.04); }
}

/* ========================================
   MODAL ANNONCE — JOUR 10 DÉCORE TON SUP
   ======================================== */
.announce-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.52);
    backdrop-filter: blur(6px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.announce-overlay.show { display: flex; }

.announce-box {
    background: linear-gradient(145deg, #fff9f0 0%, #fdf0ff 100%);
    border-radius: 28px;
    border: 3px solid rgba(255, 200, 100, 0.55);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
    padding: 2.2rem 2rem 1.8rem;
    max-width: 480px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    animation: announceIn .45s cubic-bezier(.34, 1.56, .64, 1) both;
}
@keyframes announceIn {
    from { transform: scale(.6) translateY(40px); opacity: 0; }
    to   { transform: scale(1) translateY(0);     opacity: 1; }
}

.announce-deco {
    font-size: 2.4rem;
    letter-spacing: .3rem;
    animation: decoWiggle 2.4s ease-in-out infinite;
}
@keyframes decoWiggle {
    0%, 100% { transform: rotate(-4deg) scale(1);    }
    50%       { transform: rotate(4deg)  scale(1.07); }
}

.announce-title {
    font-family: 'Fredoka One', cursive;
    font-size: 1.85rem;
    color: #e65c00;
    text-shadow: 2px 2px 0 rgba(255, 140, 0, .18);
    line-height: 1.1;
}

.announce-body {
    font-family: 'Nunito', sans-serif;
    font-size: .98rem;
    color: #4a2d00;
    line-height: 1.7;
    max-width: 380px;
}
.announce-body strong { color: #c84d00; }

.announce-eggs {
    font-size: 1.6rem;
    letter-spacing: .2rem;
}

.announce-btn {
    font-family: 'Fredoka One', cursive;
    font-size: 1.15rem;
    padding: .65rem 1.8rem;
    border-radius: 99px;
    border: none;
    background: linear-gradient(135deg, #FFD700, #FF8C00);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 6px 22px rgba(255, 140, 0, .45);
    text-shadow: 1px 1px 0 rgba(0,0,0,.18);
    transition: transform .2s, box-shadow .2s;
    animation: announcePulse 1.8s ease-in-out infinite;
}
.announce-btn:hover {
    transform: scale(1.07);
    animation: none;
    box-shadow: 0 8px 28px rgba(255, 140, 0, .6);
}
@keyframes announcePulse {
    0%, 100% { box-shadow: 0 6px 22px rgba(255,140,0,.4); }
    50%       { box-shadow: 0 8px 30px rgba(255,140,0,.75); transform: scale(1.04); }
}

/* ======================================== */

.lien-retour {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.4rem 0.8rem;
    background: var(--sky);
    color: #fff;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 700;
    box-shadow:
        0 4px 12px rgba(0,0,0,0.15),
        inset 0 -2px 0 rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 8px rgba(0,0,0,0.1));
    
}
