/* ==========================================================
   PAGE PUSH ZONE : hero + à la une + cartes "tableau d'affichage"
   Aucune bibliothèque. Icônes dessinées à la main qui se
   tracent toutes seules au survol (ou au focus clavier).
   ========================================================== */

.pz-page {
    --pz-pink: #e36ca5;
    --pz-cyan: #00cdfb;
    --pz-mint: #55FFD1;
    --pz-red: #fb2980;
    --pz-hand: inherit;

    position: relative;
    box-sizing: border-box;
    width: 100%;
    padding: 56px clamp(16px, 4vw, 48px) 64px;
    border-radius: 20px;
    overflow: hidden;
    color: #f2f3f7;
    background:
        linear-gradient(rgba(12, 13, 18, 0.9), rgba(12, 13, 18, 0.94)),
        url("/templates/Moon_Music_2024_Dark/images/MM24/RAINBOW-TWIRL.webp") center / cover no-repeat #12131a;
}
.pz-page *, .pz-page *::before, .pz-page *::after { box-sizing: border-box; }

/* Protection contre les styles du template */
.pz-page a, .pz-page a:hover, .pz-page a:focus { text-decoration: none !important; color: inherit; border: 0 !important; }
.pz-page p, .pz-page h2, .pz-page ul, .pz-page li { margin: 0; padding: 0; list-style: none; }
.pz-page img { display: block; margin: 0 !important; padding: 0 !important; border: 0 !important; max-width: none; box-shadow: none; }
.pz-page svg { display: block; }

/* ---------------- HERO ---------------- */
.pz-hero { position: relative; text-align: center; max-width: 820px; margin: 0 auto 56px; }

.pz-kicker {
    display: block;
    font-family: var(--pz-hand);
    font-size: 18px;
    color: var(--pz-mint);
    transform: rotate(-3deg);
    margin-bottom: 6px;
}

.pz-page .pz-title {
    position: relative;
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 6px !important;
    padding: 0 !important;
    font-size: clamp(44px, 10vw, 92px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    border: 0 !important;
    color: var(--pz-mint);
}
.pz-title > span {
    background: linear-gradient(100deg, var(--pz-mint) 0%, var(--pz-cyan) 45%, var(--pz-pink) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.pz-underline {
    position: absolute;
    left: 2%;
    bottom: -14px;
    width: 96%;
    height: 14px;
    color: var(--pz-pink);
    overflow: visible;
}
.pz-underline path, .pz-scribble path {
    stroke-dasharray: 1 2;
    stroke-dashoffset: 1;
}
.pz-underline path { animation: pz-draw 1.1s 0.3s ease forwards; }

.pz-tagline {
    margin-top: 22px !important;
    font-size: clamp(17px, 2.6vw, 22px);
    font-weight: 600;
    color: #fff;
}
.pz-intro { margin-top: 18px; display: grid; gap: 12px; }
.pz-intro p { font-size: clamp(15px, 2vw, 17px); line-height: 1.65; color: #c9ccd8; }

.pz-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px !important; }
.pz-page .pz-chips li {
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 14px;
    color: #dfe2ec;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
}
.pz-chips strong { color: var(--pz-mint); font-weight: 800; }

/* Gribouillis décoratifs */
.pz-doodle { position: absolute; width: 38px; height: auto; opacity: 0.35; pointer-events: none; animation: pz-float 6s ease-in-out infinite; }
.pz-doodle--a { top: 8px; left: 2%; color: var(--pz-cyan); transform: rotate(-12deg); }
.pz-doodle--b { top: 70px; right: 3%; color: var(--pz-pink); width: 30px; animation-delay: -3s; }
@media (max-width: 560px) { .pz-page .pz-doodle { display: none; } }

/* ---------------- SECTIONS ---------------- */
.pz-section { max-width: 1180px; margin: 0 auto 56px; }
.pz-label { display: block; margin: 0 0 22px; text-align: left; }
.pz-label > span {
    display: inline-block;
    font-family: var(--pz-hand);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: .02em;
    color: #fff;
    padding: 2px 10px 4px;
    background: linear-gradient(transparent 58%, rgba(227, 108, 165, 0.55) 58%);
    transform: rotate(-1.5deg);
}

.pz-empty { text-align: center; color: #c9ccd8; font-size: 17px; padding: 20px 0; }

/* ---------------- CARTES ---------------- */
.pz-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px 26px;
}

.pz-page .pz-card {
    --r: -1deg;
    position: relative;
    display: block;
    margin: 0 !important;
    padding: 10px 10px 0;
    border-radius: 6px;
    background: #1b1c25;
    color: #fff;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
    transform: rotate(var(--r));
    content-visibility: auto;
    contain-intrinsic-size: auto 340px;
    transition: transform 0.35s cubic-bezier(.2, .9, .3, 1.3), box-shadow 0.35s ease;
    -webkit-tap-highlight-color: transparent;
}
.pz-card[hidden] { display: none !important; }
.pz-grid > .pz-card:nth-child(4n+2) { --r: 0.9deg; }
.pz-grid > .pz-card:nth-child(4n+3) { --r: -0.6deg; }
.pz-grid > .pz-card:nth-child(4n+4) { --r: 1.2deg; }


.pz-card:hover, .pz-card:focus-visible {
    z-index: 2;
    transform: rotate(0deg) translateY(-8px);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.55), 0 0 0 2px var(--c), 0 0 22px rgba(255,255,255,.08);
    outline: none;
}

/* Photo */
.pz-photo { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 3px; background: #0d0e13; }
.pz-photo img { width: 100% !important; height: 100% !important; max-width: 100% !important; object-fit: cover; filter: grayscale(0.85) contrast(1.05); transition: transform 0.6s ease, filter 0.5s ease; }
.pz-tint { position: absolute; inset: 0; background: var(--c); --t: .38; opacity: 0; transition: opacity 0.4s ease; }
.pz-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 10, 16, 0.05) 40%, rgba(10, 10, 16, 0.6) 100%);
    opacity: 0.6;
    transition: opacity 0.4s ease;
}
.pz-card:hover .pz-photo img, .pz-card:focus-visible .pz-photo img { transform: scale(1.08); filter: grayscale(0) contrast(1.05); }
.pz-card:hover .pz-tint, .pz-card:focus-visible .pz-tint { opacity: 0.32; }
.pz-card:hover .pz-photo::after, .pz-card:focus-visible .pz-photo::after { opacity: 1; }

/* Numéro #32 avec gribouillis */
.pz-num {
    position: absolute;
    z-index: 2;
    top: 10px;
    left: 10px;
    padding: 3px 10px 6px;
    border-radius: 6px;
    background: rgba(12, 13, 18, 0.88);
    font-family: var(--pz-hand);
    font-size: 17px;
    line-height: 1.1;
    color: #fff;
    transform: rotate(-3deg);
}
.pz-num > span { display: block; }
.pz-scribble { position: absolute; left: 6px; right: 6px; bottom: 1px; width: calc(100% - 12px); height: 5px; color: var(--c); overflow: visible; }
.pz-scribble path { transition: stroke-dashoffset 0.6s ease 0.1s; }
.pz-card:hover .pz-scribble path, .pz-card:focus-visible .pz-scribble path { stroke-dashoffset: 0; }

/* Icône dessinée : apparaît, se trace, s'agite doucement */
.pz-ico {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    width: 112px;
    height: 112px;
    margin: -56px 0 0 -56px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0;
    transform: scale(0.7) rotate(-8deg);
    transition: opacity 0.3s ease, transform 0.45s cubic-bezier(.2, .9, .3, 1.4);
    filter: drop-shadow(0 0 8px var(--c)) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
    pointer-events: none;
}
.pz-ico svg { width: 80px; height: 80px; position: relative; stroke-width: 3; }
.pz-ico path { stroke-dasharray: 1 2; stroke-dashoffset: 1; }
.pz-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px dashed var(--c);
    background: rgba(12, 13, 18, 0.7);
}

.pz-card:hover .pz-ico, .pz-card:focus-visible .pz-ico { opacity: 1; transform: scale(1) rotate(0deg); animation: pz-wobble 2.4s ease-in-out 0.9s infinite; }
.pz-card:hover .pz-ico path, .pz-card:focus-visible .pz-ico path { animation: pz-draw 0.7s ease forwards; }
.pz-card:hover .pz-ico path:nth-child(2), .pz-card:focus-visible .pz-ico path:nth-child(2) { animation-delay: 0.12s; }
.pz-card:hover .pz-ico path:nth-child(3), .pz-card:focus-visible .pz-ico path:nth-child(3) { animation-delay: 0.24s; }
.pz-card:hover .pz-ico path:nth-child(4), .pz-card:focus-visible .pz-ico path:nth-child(4) { animation-delay: 0.36s; }
.pz-card:hover .pz-ico path:nth-child(5), .pz-card:focus-visible .pz-ico path:nth-child(5) { animation-delay: 0.48s; }
.pz-card:hover .pz-ring, .pz-card:focus-visible .pz-ring { animation: pz-spin 9s linear infinite; }

/* Texte */
.pz-info { display: block; padding: 14px 6px 14px; }
.pz-name {
    display: block;
    font-size: 19px;
    line-height: 1.25;
    font-weight: 800;
    color: #fff;
    overflow-wrap: anywhere;
}
.pz-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; font-size: 13px; }
.pz-date { color: #9ea3b5; }
.pz-go { display: inline-flex; align-items: center; gap: 8px; color: var(--c); font-weight: 700; }
.pz-arr { display: inline-block; width: 22px; transition: transform 0.3s ease; }
.pz-arr svg { width: 100%; height: auto; }
.pz-card:hover .pz-arr, .pz-card:focus-visible .pz-arr { transform: translateX(6px); }

/* ---------------- À LA UNE ---------------- */
.pz-page .pz-card--feature { --r: -0.6deg; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 0 28px; padding: 14px 14px 14px; }
.pz-card--feature .pz-photo { aspect-ratio: 16 / 10; }
.pz-card--feature .pz-info { display: flex; flex-direction: column; justify-content: center; padding: 10px 10px 10px 4px; }
.pz-card--feature .pz-info::before {
    content: "Dernière interview";
    display: block;
    margin-bottom: 14px;
    font-family: var(--pz-hand);
    font-size: 17px;
    color: var(--c);
    transform: rotate(-2deg);
    transform-origin: left center;
}
.pz-card--feature .pz-name { font-size: clamp(26px, 3.6vw, 42px); line-height: 1.12; }
.pz-card--feature .pz-meta { margin-top: 18px; font-size: 15px; flex-wrap: wrap; justify-content: flex-start; gap: 14px 22px; }
.pz-card--feature .pz-go {
    padding: 10px 18px;
    border-radius: 999px;
    color: #12131a;
    background: var(--c);
}
.pz-card--feature .pz-ico { width: 140px; height: 140px; margin: -70px 0 0 -70px; }
.pz-card--feature .pz-ico svg { width: 92px; height: 92px; }
.pz-card--feature .pz-num { font-size: 22px; top: 14px; left: 14px; }

/* ---------------- BOUTON ---------------- */
.pz-morewrap { text-align: center; margin-top: 40px; }
.pz-page .pz-more,
.pz-page .pz-more:hover,
.pz-page .pz-more:focus,
.pz-page .pz-more:active {
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto !important;
    min-height: 0 !important;
    margin: 0;
    padding: 14px 30px !important;
    border: 2px solid var(--pz-mint) !important;
    border-radius: 999px;
    outline: 0 !important;
    box-shadow: none !important;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    line-height: 1 !important;
    text-align: center;
    text-transform: none;
    text-shadow: none !important;
    letter-spacing: .01em;
    color: var(--pz-mint) !important;
    background: transparent !important;
    transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}
.pz-page .pz-more:hover,
.pz-page .pz-more:focus-visible {
    color: #fff !important;
    background: rgba(85, 255, 209, 0.16) !important;
    border-color: var(--pz-mint) !important;
    transform: translateY(-2px);
}

/* ---------------- ANIMATIONS ---------------- */
@keyframes pz-draw { to { stroke-dashoffset: 0; } }
@keyframes pz-spin { to { transform: rotate(360deg); } }
@keyframes pz-wobble { 0%, 100% { transform: scale(1) rotate(-2deg); } 50% { transform: scale(1.04) rotate(2.5deg); } }
@keyframes pz-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 960px) {
    .pz-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 20px; }
}
@media (max-width: 760px) {
    .pz-page { padding-top: 40px; padding-bottom: 48px; border-radius: 14px; }
    .pz-page .pz-card--feature { grid-template-columns: minmax(0, 1fr); }
    .pz-card--feature .pz-info { padding: 14px 6px 8px; }
}
@media (max-width: 560px) {
    .pz-grid { gap: 26px 14px; }
    .pz-name { font-size: 16px; }
    .pz-meta { flex-direction: column; align-items: flex-start; gap: 6px; }
    .pz-arr { width: 18px; }
    .pz-num { font-size: 14px; top: 6px; left: 6px; padding: 2px 8px 5px; }
    .pz-card { padding: 7px 7px 0; }
    .pz-info { padding: 10px 4px 12px; }
}
@media (max-width: 360px) {
    .pz-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Tactile : pas de survol, donc l'icône est visible en petit badge, déjà dessinée */
@media (hover: none) {
    .pz-card { transform: rotate(var(--r)); }
    .pz-card:hover { transform: rotate(var(--r)); box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4); }
    .pz-photo img, .pz-card:hover .pz-photo img { filter: grayscale(0.2); transform: none; }
    .pz-ico, .pz-card:hover .pz-ico {
        top: auto; left: auto; right: 8px; bottom: 8px;
        width: 46px; height: 46px; margin: 0;
        opacity: 1; transform: none; animation: none;
    }
    .pz-ico svg { width: 28px; height: 28px; }
    .pz-card--feature .pz-ico { width: 60px; height: 60px; margin: 0; }
    .pz-card--feature .pz-ico svg { width: 38px; height: 38px; }
    .pz-ico path, .pz-card:hover .pz-ico path { stroke-dashoffset: 0; animation: none; }
    .pz-ring, .pz-card:hover .pz-ring { animation: none; }
    .pz-scribble path { stroke-dashoffset: 0; }
    .pz-arr, .pz-card:hover .pz-arr { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .pz-page *, .pz-page *::before, .pz-page *::after { animation: none !important; transition: none !important; }
    .pz-underline path, .pz-scribble path { stroke-dashoffset: 0; }
    .pz-card, .pz-card:hover, .pz-card:focus-visible { transform: none; }
}