/* Compactage mobile commun — toutes les pages Pink'Volume (éditions) */
@media (max-width: 640px) {
    .vol51-hero-title,
    .vol52-hero-title,
    .vol53-hero-title,
    .vol54-hero-title,
    .vol55-hero-title,
    .vol56-hero-title {
        font-size: clamp(1.35rem, 7.2vw, 1.85rem);
        letter-spacing: -0.01em;
    }

    section#home.min-h-screen,
    section#home {
        /* Pleine hauteur écran (svh = viewport mobile stable) */
        min-height: 100vh;
        min-height: 100dvh;
        min-height: 100svh;
        box-sizing: border-box;
        justify-content: center;
        align-items: center;
        /* nav fixe (~5rem) + marge — réserve l’espace sous le chrome fixe */
        padding-top: 7rem;
        padding-bottom: 2.25rem;
    }

    /*
     * Bandeau « événement terminé » en fixed top-20 :
     * - vol 51–53 : toujours visible (souvent 2 lignes sur mobile)
     * - vol 54+ : #event-ended-banner sans [hidden], ou html.event-ended
     */
    body:has(.fixed.top-20.z-40:not([hidden])) section#home,
    html.event-ended section#home {
        padding-top: 12rem;
    }

    #home .py-12 {
        padding-top: 0.75rem !important;
        padding-bottom: 1.5rem !important;
    }

    #home .mt-10 {
        margin-top: 1.35rem !important;
        gap: 0.65rem !important;
    }

    #home .mt-8 {
        margin-top: 1.1rem !important;
    }

    .winter-ribbon,
    .flower-ribbon,
    .gala-ribbon,
    .pois-ribbon,
    .xmas-ribbon,
    .bgold-ribbon {
        font-size: 0.68rem;
        padding: 0.32rem 0.8rem;
        letter-spacing: 0.05em;
        margin-bottom: 0.85rem !important;
    }

    .winter-hero-subtitle,
    .flower-hero-subtitle,
    .gala-hero-subtitle,
    .pois-hero-subtitle,
    .xmas-hero-subtitle,
    .bgold-hero-subtitle,
    #home > div > p.text-xl,
    #home p.text-xl {
        font-size: 1.05rem !important;
        margin-bottom: 0.25rem !important;
    }

    .winter-hero-tagline,
    .flower-hero-tagline,
    .gala-hero-tagline,
    .pois-hero-tagline,
    .xmas-hero-tagline,
    .bgold-hero-tagline {
        font-size: 0.9rem !important;
    }

    .winter-date-card,
    .flower-date-card,
    .gala-date-card,
    .pois-date-card,
    .xmas-date-card,
    .bgold-date-card,
    #home .flower-card.inline-block {
        padding: 0.55rem 0.95rem !important;
        max-width: 100%;
    }

    .winter-date-card p,
    .flower-date-card p,
    .gala-date-card p,
    .pois-date-card p,
    .xmas-date-card p,
    .bgold-date-card p,
    #home .flower-card.inline-block p,
    .winter-date-card .winter-text,
    .gala-date-card .gala-text,
    .pois-date-card .pois-text,
    .xmas-date-card .xmas-text,
    .bgold-date-card .bgold-text {
        font-size: 0.88rem !important;
        line-height: 1.3;
    }

    .winter-hero-btn-primary,
    .winter-hero-btn-secondary,
    .flower-hero-btn-primary,
    .flower-hero-btn-secondary,
    .gala-hero-btn-primary,
    .gala-hero-btn-secondary,
    .pois-hero-btn-primary,
    .pois-hero-btn-secondary,
    .xmas-hero-btn-primary,
    .xmas-hero-btn-secondary,
    .bgold-hero-btn-primary,
    .bgold-hero-btn-secondary {
        padding: 0.65rem 1.15rem !important;
        font-size: 0.875rem;
        width: 100%;
        max-width: 15.5rem;
        justify-content: center;
    }

    .winter-hero-btn-primary svg,
    .winter-hero-btn-secondary svg,
    .flower-hero-btn-primary svg,
    .flower-hero-btn-secondary svg,
    .gala-hero-btn-primary svg,
    .gala-hero-btn-secondary svg,
    .pois-hero-btn-primary svg,
    .pois-hero-btn-secondary svg,
    .xmas-hero-btn-primary svg,
    .xmas-hero-btn-secondary svg,
    .bgold-hero-btn-primary svg,
    .bgold-hero-btn-secondary svg {
        width: 1rem;
        height: 1rem;
    }

    .bgold-dust {
        width: min(68vw, 260px);
        height: min(68vw, 260px);
        opacity: 0.9;
    }

    .bgold-lines {
        width: min(46vw, 220px);
        height: min(46vw, 220px);
    }

    main section.py-20 {
        padding-top: 2.75rem !important;
        padding-bottom: 2.75rem !important;
    }

    main .mb-12 {
        margin-bottom: 1.75rem !important;
    }

    main .text-4xl {
        font-size: 1.55rem !important;
        line-height: 1.25 !important;
    }

    main .text-3xl {
        font-size: 1.3rem !important;
        line-height: 1.3 !important;
    }

    main .text-2xl {
        font-size: 1.15rem !important;
        line-height: 1.3 !important;
    }

    main .text-xl {
        font-size: 1rem !important;
    }

    main .text-lg {
        font-size: 0.95rem !important;
        line-height: 1.55 !important;
    }

    main .p-8 {
        padding: 1.15rem !important;
    }

    main .p-6 {
        padding: 1rem !important;
    }

    .bgold-day-badge {
        width: 3.35rem;
        height: 3.35rem;
        font-size: 0.8rem;
        margin-bottom: 0.6rem;
    }

    /* Badges jour type vol-51 (S / D) */
    #planning .w-20.h-20.rounded-full {
        width: 3.35rem;
        height: 3.35rem;
        font-size: 0.95rem !important;
        margin-bottom: 0.6rem;
    }

    .flower-dj-ring-inner,
    .flower-dj-ring-inner img,
    .gala-dj-ring-inner,
    .gala-dj-ring-inner img,
    .pois-dj-ring-inner,
    .pois-dj-ring-inner img,
    .xmas-dj-ring-inner,
    .xmas-dj-ring-inner img,
    .bgold-dj-ring-inner,
    .bgold-dj-ring-inner img {
        width: 132px;
        height: 132px;
    }

    .winter-card,
    .flower-card,
    .gala-card,
    .pois-card,
    .xmas-card,
    .bgold-card {
        border-radius: 1.15rem;
    }

    /* Page « prochaine » */
    .vol-next-hero {
        min-height: 100vh;
        min-height: 100dvh;
        min-height: 100svh;
        box-sizing: border-box;
        padding-top: 7rem;
        padding-bottom: 2.25rem;
    }

    .vol-next-hero h1 {
        font-size: clamp(1.35rem, 7.2vw, 1.85rem);
    }

    .vol-next-actions {
        flex-direction: column;
        gap: 0.65rem;
    }

    .vol-next-btn {
        width: 100%;
        max-width: 15.5rem;
        padding: 0.65rem 1.15rem;
        font-size: 0.875rem;
        justify-content: center;
    }
}
