﻿/* DiFuz V2 : thème commun. Les couleurs viennent du pays (--c1, --c2, --c3, --fond), voir _DF_Tete.cshtml. */
:root {
    --texte: #F4F5F3;
    --texte-2: #B4BBB6;
    --texte-3: #7F8783;
    --surface: rgba(255, 255, 255, .055);
    --surface-2: rgba(255, 255, 255, .1);
    --trait: rgba(255, 255, 255, .11);
    --rayon: 14px;
    --largeur: 1640px;
    --gouttiere: clamp(16px, 4vw, 40px);
    --titre: Sora, "Segoe UI", sans-serif;
    --corps: Manrope, "Segoe UI", Arial, sans-serif;
}

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

html body.dz-page {
    margin: 0;
    min-height: 100vh;
    float: none;
    width: 100%;
    padding: 0;
    overflow-x: clip;
    background: var(--fond);
    background-image: none;
    color: var(--texte);
    font-family: var(--corps);
    font-size: 16px;
    line-height: 1.5;
}

.dz-page *, .dz-page *::before, .dz-page *::after { box-sizing: border-box; }
.dz-page a { color: inherit; text-decoration: none; }
.dz-page :focus-visible { outline: 2px solid var(--c1); outline-offset: 2px; }

/* Bandeau tricolore */
.dz-tricolore { display: flex; height: 4px; }
.dz-tricolore span { flex: 1; }
.dz-tricolore span:nth-child(1) { background: var(--c1); }
.dz-tricolore span:nth-child(2) { background: var(--c2); }
.dz-tricolore span:nth-child(3) { background: var(--c3); }

/* En-tête */
.dz-entete {
    position: sticky; top: 0; z-index: 1000;
    background: color-mix(in srgb, var(--fond) 88%, transparent);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--trait);
}
.dz-barre {
    display: flex; align-items: center; gap: 20px;
    max-width: var(--largeur); margin: 0 auto;
    padding: 8px var(--gouttiere); min-height: 72px;
}
.dz-logo { flex: none; display: block; }
.dz-logo img { display: block; height: 58px; width: auto; }
.dz-nav { display: flex; gap: 4px; }
.dz-nav a {
    padding: 8px 13px; border-radius: 999px; white-space: nowrap;
    color: var(--texte-2); font-size: 15px; font-weight: 600;
    transition: color .15s, background-color .15s;
}
.dz-nav a:hover { color: var(--texte); background: var(--surface); }
.dz-nav a.actif { color: var(--sur-c1); background: var(--c1); }
.dz-espace { flex: 1; color: var(--texte-2); font-weight: 600; }

.dz-recherche {
    display: flex; flex: 1; min-width: 150px; max-width: 340px; margin: 0 0 0 auto; padding: 0;
    background: var(--surface); border: 1px solid var(--trait); border-radius: 999px;
}
.dz-recherche:focus-within { border-color: var(--c1); }
.dz-page .dz-recherche input {
    flex: 1; min-width: 0; width: auto; height: 40px; margin: 0; padding: 0 4px 0 18px;
    background: none; border: 0; outline: 0; box-shadow: none; color: var(--texte); font: 500 15px var(--corps);
}
.dz-recherche input::placeholder { color: var(--texte-3); }
.dz-recherche button { width: 44px; border: 0; background: none; color: var(--texte-2); cursor: pointer; display: grid; place-items: center; }

/* Pays et profil */
.dz-pays, .dz-profil { position: relative; flex: none; }
.dz-pays summary, .dz-profil summary {
    display: flex; align-items: center; gap: 8px; list-style: none; cursor: pointer;
    height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--trait);
    font-size: 14px; font-weight: 700;
}
.dz-pays summary::-webkit-details-marker, .dz-profil summary::-webkit-details-marker { display: none; }
.dz-pays summary:hover, .dz-profil summary:hover { background: var(--surface); }
.dz-profil summary img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.dz-profil summary span { max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dz-pays-liste {
    position: absolute; right: 0; top: 48px; min-width: 200px; padding: 6px; z-index: 5;
    background: #1B2120; border: 1px solid var(--trait); border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .5);
}
.dz-pays-liste a { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 8px; font-size: 15px; font-weight: 600; }
.dz-pays-liste a:hover { background: var(--surface-2); }
.dz-pays-liste a.actif { color: var(--c1); }
.pays-gn .dz-pays-liste a.actif { color: var(--c2); }
.dz-drapeau {
    display: inline-block; flex: none; width: 24px; height: 16px; border-radius: 3px;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .22);
}

.dz-compte { display: flex; align-items: center; gap: 14px; flex: none; font-size: 15px; font-weight: 600; }
.dz-lien { color: var(--texte-2); }
.dz-lien:hover { color: var(--texte); }

.dz-page .dz-bouton {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 40px; padding: 8px 18px; border-radius: 999px; border: 1.5px solid transparent;
    background: var(--c1); color: var(--sur-c1); font: 700 15px var(--corps); white-space: nowrap; cursor: pointer;
    transition: transform .12s, filter .15s;
}
.dz-page .dz-bouton:hover { filter: brightness(1.1); transform: translateY(-1px); }
.dz-page .dz-bouton-fort { min-height: 50px; padding: 12px 30px; font-size: 16px; }
.dz-page .dz-bouton-contour { min-height: 50px; padding: 12px 30px; background: none; border-color: var(--texte); color: var(--texte); font-size: 16px; }
.dz-page .dz-bouton-discret { background: var(--surface); color: var(--texte); border-color: var(--trait); }

.dz-menu-case { position: absolute; opacity: 0; pointer-events: none; }
.dz-menu-bouton { display: none; }

/* Héros */
.dz-hero { position: relative; overflow: hidden; isolation: isolate; }
.dz-hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(60% 90% at 0% 10%, color-mix(in srgb, var(--c1) 38%, transparent), transparent 70%),
        radial-gradient(50% 80% at 100% 100%, color-mix(in srgb, var(--c3) 34%, transparent), transparent 70%),
        linear-gradient(180deg, transparent 55%, var(--fond));
}
.dz-hero-fond {
    position: absolute; inset: -40px; z-index: -2; opacity: .24;
    background-size: cover; background-position: center;
    filter: blur(34px) saturate(1.3); transition: background-image .8s;
}
.dz-hero-contenu {
    display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center;
    max-width: var(--largeur); margin: 0 auto; padding: clamp(36px, 6vw, 76px) var(--gouttiere);
}
.dz-surtitre { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 15px; font-weight: 700; color: var(--texte-2); }
.dz-hero h1 { margin: 0; font: 800 clamp(42px, 6.6vw, 82px)/1.03 var(--titre); letter-spacing: -.03em; color: var(--texte); }
.dz-hero h1 em { font-style: normal; color: var(--c1); }
.dz-hero-accroche { max-width: 34em; margin: 22px 0 28px; color: var(--texte-2); font-size: clamp(16px, 1.6vw, 19px); }
.dz-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.dz-hero-affiches { position: relative; aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, .55), 0 0 0 1px var(--trait); background: #000; }
.dz-hero-affiches img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s; }
.dz-hero-affiches img.actif { opacity: 1; }

/* Genres */
.dz-genres {
    display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
    max-width: var(--largeur); margin: 0 auto; padding: 4px var(--gouttiere) 8px;
}
.dz-genres::-webkit-scrollbar { display: none; }
.dz-genres a {
    flex: none; padding: 8px 15px; border-radius: 999px; font-size: 14px; font-weight: 600;
    background: var(--surface); border: 1px solid var(--trait); color: var(--texte-2);
}
.dz-genres a:hover { color: var(--texte); background: var(--surface-2); }
.dz-genres a.actif { background: var(--c1); border-color: var(--c1); color: var(--sur-c1); }
.dz-genres-page { flex-wrap: wrap; overflow: visible; padding-left: 0; padding-right: 0; }

/* Contenu */
.dz-contenu { max-width: var(--largeur); margin: 0 auto; padding: 18px var(--gouttiere) 56px; }
.dz-section { margin-top: 36px; min-width: 0; }
.dz-section > header { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.dz-section h2 { margin: 0; font: 700 clamp(22px, 2.4vw, 28px) var(--titre); letter-spacing: -.02em; color: var(--texte); }
.dz-section > header a { color: var(--texte-2); font-size: 15px; font-weight: 700; white-space: nowrap; }
.dz-section > header a:hover { color: var(--c1); }
.dz-titre-page { margin: 18px 0 16px; }
.dz-titre-page h1 { margin: 0; font: 800 clamp(32px, 4vw, 46px) var(--titre); letter-spacing: -.025em; color: var(--texte); }
.dz-titre-page p { margin: 2px 0 0; color: var(--texte-2); }
.dz-vide { color: var(--texte-2); padding: 40px 0; text-align: center; }
.dz-plus { display: flex; justify-content: center; margin-top: 28px; }

.dz-annonce {
    display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 24px; padding: 20px 24px;
    border-radius: var(--rayon); border: 1px solid var(--trait); border-left: 4px solid var(--c2);
    background: var(--surface);
}
.dz-annonce strong { font: 700 19px var(--titre); }
.dz-annonce p { margin: 4px 0 0; color: var(--texte-2); }

.dz-grille { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px 18px; }
.dz-carte { display: block; min-width: 0; }
.dz-carte-image {
    position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--rayon);
    background: linear-gradient(135deg, var(--surface-2), var(--surface));
}
.dz-carte-film .dz-carte-image { aspect-ratio: 16 / 10; }
.dz-carte-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.dz-carte:hover .dz-carte-image img { transform: scale(1.06); }
.dz-lecture {
    position: absolute; right: 10px; bottom: 10px; width: 44px; height: 44px; display: grid; place-items: center;
    border-radius: 50%; background: var(--c1); color: var(--sur-c1);
    opacity: 0; transform: translateY(8px); transition: opacity .18s, transform .18s; box-shadow: 0 6px 18px rgba(0, 0, 0, .45);
}
.dz-carte:hover .dz-lecture, .dz-carte:focus-visible .dz-lecture { opacity: 1; transform: none; }
.dz-carte strong { display: block; margin-top: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15.5px; font-weight: 700; color: var(--texte); }
.dz-carte small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--texte-3); font-size: 14px; }

.dz-duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; }
.dz-radios { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.dz-radios a { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: var(--rayon); overflow: hidden; background: var(--surface); }
.dz-radios img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dz-radios span { position: absolute; inset: auto 0 0 0; padding: 26px 12px 9px; font-weight: 700; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); }
.dz-agenda { display: grid; gap: 10px; }
.dz-agenda article { display: flex; align-items: center; gap: 16px; padding: 12px 14px; border-radius: var(--rayon); background: var(--surface); }
.dz-agenda time { flex: none; width: 62px; text-align: center; line-height: 1.1; }
.dz-agenda b { display: block; font: 800 24px var(--titre); color: var(--c1); }
.pays-gn .dz-agenda b { color: var(--c2); }
.dz-agenda time span { display: block; font-size: 13px; font-weight: 700; }
.dz-agenda small { color: var(--texte-3); font-size: 13px; }
.dz-agenda p { margin: 0; color: var(--texte-2); }
.dz-actus { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.dz-actus article { overflow: hidden; border-radius: var(--rayon); background: var(--surface); }
.dz-actus img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.dz-actus div { padding: 12px 14px 16px; }
.dz-actus h3 { margin: 0 0 4px; font: 700 16px var(--titre); color: var(--texte); }
.dz-actus p { margin: 0; color: var(--texte-2); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.dz-message { max-width: 560px; margin: 8vh auto; padding: 36px; text-align: center; border-radius: 20px; background: var(--surface); }
.dz-message h1 { margin: 0 0 10px; font: 800 30px var(--titre); color: var(--texte); }
.dz-message p { margin: 0 0 24px; color: var(--texte-2); }

/* Pied de page */
.dz-pied { background: rgba(0, 0, 0, .28); color: var(--texte-2); clear: both; }
.dz-pied-grille { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 32px; max-width: var(--largeur); margin: 0 auto; padding: 40px var(--gouttiere) 28px; }
.dz-pied-marque img { display: block; height: 96px; margin-bottom: 10px; }
.dz-pied h3 { margin: 0 0 10px; color: var(--texte); font: 700 16px var(--titre); }
.dz-pied p { margin: 0 0 10px; font-size: 15px; }
.dz-pied a { display: block; padding: 3px 0; font-size: 15px; }
.dz-pied a:hover { color: var(--c1); }
.dz-pied-bas { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 20px; max-width: var(--largeur); margin: 0 auto; padding: 14px var(--gouttiere) 22px; border-top: 1px solid var(--trait); font-size: 14px; color: var(--texte-3); }

/* Pages héritées : mêmes classes qu'en V1, habillées aux couleurs du pays */
.dz-page .topHeaderStyle, .dz-page .headerMenuStyle { background: none; box-shadow: none; border: 0; height: auto; position: static; width: 100%; float: none; }
.dz-page .mainDiv { float: none; width: auto; max-width: var(--largeur); margin: 0 auto; background: none; padding-left: var(--gouttiere); padding-right: var(--gouttiere); color: var(--texte); }
.dz-page .mainDiv::after { content: ""; display: table; clear: both; }
.dz-page .belowHeaderBlock { position: static; top: auto; margin-top: 0; padding-top: 22px; padding-bottom: 40px; }
.dz-page .footerMainBlock { position: static; top: auto; float: none; width: auto; opacity: 1; background: none; margin: 0; padding: 0; clear: both; }
.dz-page .leftDiv { background: var(--surface); border: 0; border-radius: var(--rayon); }
.dz-page .contentDiv, .dz-page .rightDiv { background: none; border: 0; color: var(--texte); }
.dz-page .licategory, .dz-page .music-menuList li, .dz-page .music-menuList a { color: var(--texte-2); }
.dz-page input[type="button"], .dz-page input[type="submit"], .dz-page .button-blue {
    background: var(--c1); color: var(--sur-c1); border: 0; border-radius: 999px; padding: 9px 20px; box-shadow: none; font-family: var(--corps); font-weight: 700; cursor: pointer;
}
.dz-page input[type="text"], .dz-page input[type="password"], .dz-page input[type="email"], .dz-page select, .dz-page textarea {
    color: #111; background: #fff; border: 1px solid #C9CED2; border-radius: 8px; padding: 9px 11px; font-family: var(--corps); font-size: 15px;
}

/* Pages héritées : police, marges et blocs de l'ancien site */
.dz-page .topHeaderStyle { padding: 0; }
.dz-page .mainDiv, .dz-page .contentDiv, .dz-page .leftDiv, .dz-page .completeDiv, .dz-page .category-details { font-family: var(--corps); }
.dz-page .leftDiv { min-height: 0; }
.dz-page .rightDiv { display: none; }
.dz-page .completeDiv { position: static !important; top: auto !important; min-height: 0 !important; background: var(--surface) !important; border-radius: 20px; margin: 28px 0 40px; padding-bottom: 28px; }
.dz-page .contentDiv { background: none; }
.dz-logo img { height: 64px; }

/* Page d'inscription */
.dz-rejoindre-titre { text-align: center; margin-top: clamp(16px, 4vw, 44px); }
.dz-profils { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 880px; margin: 28px auto 0; padding: 0; }
.dz-page .dz-profil-carte {
    display: flex; flex-direction: column; align-items: flex-start; gap: 6px; width: 100%; padding: 28px; text-align: left;
    color: var(--texte); background: var(--surface); border: 1.5px solid var(--trait); border-radius: 18px;
    font-family: var(--corps); cursor: pointer; transition: transform .14s, border-color .14s, background-color .14s;
}
.dz-page .dz-profil-carte:hover { transform: translateY(-3px); border-color: var(--c1); background: var(--surface-2); }
.dz-profil-icone { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 10px; border-radius: 50%; background: var(--c1); color: var(--sur-c1); }
.dz-profil-pro .dz-profil-icone { background: var(--c3); color: #fff; }
.dz-profil-carte strong { font: 700 22px var(--titre); letter-spacing: -.01em; }
.dz-profil-carte small { color: var(--texte-2); font-size: 15px; }
.dz-profil-action { margin-top: 14px; font-size: 15px; font-weight: 700; color: var(--texte); }
.dz-applis { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 880px; margin: 20px auto 0; padding: 20px 28px; border-radius: 18px; background: var(--surface); }
.dz-applis h2 { margin: 0; font: 700 19px var(--titre); color: var(--texte); }
.dz-applis p { margin: 4px 0 0; color: var(--texte-2); font-size: 15px; }
.dz-rejoindre-compte { margin: 24px 0 0; text-align: center; color: var(--texte-2); }
.dz-page .dz-rejoindre-compte a { color: var(--texte); font-weight: 700; text-decoration: underline; }

/* Connexion et formulaires */
.dz-panneau { width: min(100%, 440px); margin: clamp(16px, 5vh, 56px) auto; padding: clamp(24px, 4vw, 36px); border-radius: 20px; background: var(--surface); border: 1px solid var(--trait); }
.dz-panneau-logo { display: block; height: 92px; margin: 0 auto 16px; }
.dz-panneau h1 { margin: 0; text-align: center; font: 800 28px var(--titre); letter-spacing: -.02em; color: var(--texte); }
.dz-panneau-sous { margin: 6px 0 22px; text-align: center; color: var(--texte-2); }
.dz-formulaire { display: grid; gap: 7px; margin: 0; }
.dz-formulaire label { font-size: 15px; font-weight: 600; color: var(--texte); }
.dz-page .dz-formulaire input {
    width: 100%; height: 48px; margin: 0 0 11px; padding: 0 14px; color: var(--texte); font: 500 16px var(--corps);
    background: rgba(0, 0, 0, .28); border: 1px solid var(--trait); border-radius: 10px; box-shadow: none;
}
.dz-page .dz-formulaire select { width: 100%; height: 48px; margin: 0 0 11px; padding: 0 12px; color: var(--texte); font: 500 16px var(--corps); background: #1B2120; border: 1px solid var(--trait); border-radius: 10px; }
.dz-page .dz-formulaire input::placeholder { color: var(--texte-3); }
.dz-page .dz-formulaire select:focus, .dz-page .dz-formulaire input:focus { outline: 2px solid var(--c1); outline-offset: 0; border-color: transparent; }
.dz-formulaire-ligne { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.dz-formulaire-ligne a { color: var(--texte-2); font-size: 14px; }
.dz-formulaire-ligne a:hover { color: var(--texte); text-decoration: underline; }
.dz-formulaire .dz-bouton { width: 100%; margin-top: 6px; }
.dz-erreur { margin: 0 0 16px; padding: 10px 14px; border-radius: 10px; color: #FFD9D6; background: rgba(206, 17, 38, .22); border: 1px solid rgba(255, 120, 110, .45); font-size: 15px; }
.dz-panneau-bas { margin: 20px 0 0; text-align: center; color: var(--texte-2); }
.dz-page .dz-panneau-bas a { color: var(--texte); font-weight: 700; text-decoration: underline; }

/* Formulaire d'inscription hérité */
.dz-page .mainDiv > .contentDiv { width: 100% !important; margin: 0 !important; padding: 0 !important; }
.dz-page .mainDiv > .leftDiv { width: 190px !important; max-width: none; }
.dz-page .mainDiv > .leftDiv ~ .contentDiv { float: right; width: calc(100% - 214px) !important; }
.dz-page .mainDiv > .leftDiv ~ .contentDiv > div:first-child { width: 100% !important; }
.dz-page .completeDiv { height: auto !important; margin-top: 28px !important; }
.dz-page .signUp { margin-top: 0 !important; padding-top: 24px !important; }
.dz-page .SaveContinue { background: var(--c1) !important; color: var(--sur-c1); border: 0; border-radius: 999px; padding: 11px 28px; font: 700 15px var(--corps); cursor: pointer; color: var(--sur-c1) !important; }

/* Espace artiste */
.dz-studio { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 32px; align-items: start; max-width: var(--largeur); margin: 0 auto; padding: 24px var(--gouttiere) 56px; }
.dz-studio aside { position: sticky; top: 104px; min-width: 0; }
.dz-page .dz-studio-menu { float: none; width: auto; padding: 14px; background: var(--surface); border: 1px solid var(--trait); border-radius: 18px; }
.dz-studio-pays { display: flex; align-items: center; gap: 12px; padding: 4px 6px 14px; margin-bottom: 10px; border-bottom: 1px solid var(--trait); }
.dz-studio-pays img { flex: none; width: 46px; height: 46px; padding: 4px; object-fit: contain; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--c1); }
.dz-studio-pays strong { display: block; font: 700 16px var(--titre); color: var(--texte); }
.dz-studio-pays span { color: var(--texte-2); font-size: 14px; }
.dz-studio-menu nav { display: grid; gap: 3px; }
.dz-page .dz-studio-menu nav a { display: flex; align-items: center; gap: 11px; padding: 10px 11px; border-radius: 10px; color: var(--texte-2); font-size: 15px; font-weight: 600; }
.dz-page .dz-studio-menu nav a:hover { color: var(--texte); background: var(--surface); }
.dz-page .dz-studio-menu nav a.actif { color: var(--sur-c1); background: var(--c1); }
.dz-studio-menu svg, .dz-studio-actions svg { flex: none; width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dz-studio-corps { min-width: 0; }
.dz-studio-entete { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.dz-studio-entete h1 { margin: 0; font: 800 clamp(28px, 3.4vw, 40px) var(--titre); letter-spacing: -.025em; color: var(--texte); }
.dz-studio-entete p { margin: 3px 0 0; color: var(--texte-2); }
.dz-page .dz-retour { display: inline-block; margin-bottom: 12px; color: var(--texte-2); font-size: 15px; font-weight: 600; }
.dz-page .dz-retour:hover { color: var(--texte); }
.dz-studio-vide { padding: clamp(32px, 6vw, 64px) 24px; text-align: center; border: 1.5px dashed var(--trait); border-radius: 18px; }
.dz-studio-vide h2 { margin: 0 0 6px; font: 700 24px var(--titre); color: var(--texte); }
.dz-studio-vide p { margin: 0 0 20px; color: var(--texte-2); }
.dz-studio-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 20px 16px; }
.dz-studio-carte { min-width: 0; }
.dz-studio-image { display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--rayon); background: linear-gradient(135deg, color-mix(in srgb, var(--c1) 55%, var(--fond)), color-mix(in srgb, var(--c3) 55%, var(--fond))); }
.dz-studio-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.dz-studio-image:hover img { transform: scale(1.05); }
.dz-studio-sans-image { display: grid; place-items: center; height: 100%; font: 800 64px var(--titre); color: rgba(255, 255, 255, .85); }
.dz-studio-infos { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-top: 9px; }
.dz-studio-infos > div:first-child { min-width: 0; }
.dz-studio-infos strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--texte); }
.dz-studio-infos small, .dz-studio-liste small { color: var(--texte-3); font-size: 14px; }
.dz-studio-actions { display: flex; flex: none; gap: 2px; }
.dz-page .dz-studio-actions a, .dz-page .dz-studio-actions button { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; color: var(--texte-2); background: none; border: 0; border-radius: 8px; cursor: pointer; }
.dz-page .dz-studio-actions a:hover, .dz-page .dz-studio-actions button:hover { color: var(--texte); background: var(--surface-2); }
.dz-studio-liste { display: grid; gap: 8px; }
.dz-studio-liste article { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 10px; border-radius: var(--rayon); background: var(--surface); }
.dz-page .dz-studio-ligne { display: flex; flex: 1; align-items: center; gap: 14px; min-width: 0; }
.dz-studio-ligne img { flex: none; width: 58px; height: 58px; object-fit: cover; border-radius: 9px; background: var(--surface-2); }
.dz-studio-ligne span { min-width: 0; }
.dz-studio-ligne strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--texte); }
.dz-succes { margin: 0 0 16px; padding: 11px 15px; border-radius: 10px; color: #C9F5DF; background: rgba(0, 158, 96, .2); border: 1px solid rgba(70, 210, 150, .4); }
.dz-avis { margin: 0 0 16px; padding: 11px 15px; border-radius: 10px; color: var(--texte); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); font-size: 15px; }
.dz-studio-form { max-width: 640px; padding: clamp(20px, 3vw, 30px); border-radius: 18px; background: var(--surface); }
.dz-page .dz-formulaire textarea { width: 100%; margin: 0 0 11px; padding: 11px 14px; color: var(--texte); font: 500 16px var(--corps); background: rgba(0, 0, 0, .28); border: 1px solid var(--trait); border-radius: 10px; resize: vertical; }
.dz-page .dz-formulaire textarea:focus { outline: 2px solid var(--c1); outline-offset: 0; border-color: transparent; }
.dz-studio-boutons { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }
.dz-page .dz-formulaire .dz-studio-boutons .dz-bouton { width: auto; margin: 0; min-height: 50px; }

/* Envoi d'un titre ou d'un film */
.dz-envoi { max-width: 900px; padding: clamp(18px, 3vw, 28px); border-radius: 18px; background: var(--surface); }
.dz-envoi-fichiers { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 14px; margin-bottom: 20px; }
.dz-envoi-medias { display: grid; gap: 14px; }
.dz-depot { position: relative; display: flex; align-items: center; min-height: 108px; padding: 16px 18px; overflow: hidden; cursor: pointer; border: 1.5px dashed var(--trait); border-radius: 14px; background: rgba(0, 0, 0, .2); transition: border-color .15s, background-color .15s; }
.dz-depot:hover, .dz-depot:focus-within { border-color: var(--c1); }
.dz-depot-pret { border-style: solid; border-color: var(--c3); }
.dz-depot-manque { border-color: #FF7A6E; background: rgba(206, 17, 38, .14); }
.dz-page .dz-formulaire .dz-depot input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.dz-depot-image { justify-content: center; aspect-ratio: 1; padding: 0; text-align: center; }
.dz-depot-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dz-depot-image img + .dz-depot-texte { align-self: flex-end; width: 100%; padding: 26px 10px 9px; background: linear-gradient(transparent, rgba(0, 0, 0, .78)); position: relative; pointer-events: none; }
.dz-depot-texte { pointer-events: none; min-width: 0; }
.dz-depot-texte strong { display: block; font: 700 17px var(--titre); color: var(--texte); }
.dz-depot-texte small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--texte-2); font-size: 14px; }
.dz-depot-progres { position: absolute; inset: auto 0 0 0; height: 5px; }
.dz-depot-progres span { display: block; width: 0; height: 100%; background: var(--c3); transition: width .2s; }
.dz-page .dz-extrait-auto { margin: 0; padding: 14px 18px; border-radius: 14px; background: color-mix(in srgb, var(--c3) 16%, transparent); border: 1px solid color-mix(in srgb, var(--c3) 45%, transparent); }
.dz-extrait-auto strong { display: block; font: 700 16px var(--titre); color: var(--texte); }
.dz-extrait-auto small { color: var(--texte-2); font-size: 14px; }
.dz-envoi-grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px 16px; }
.dz-envoi-grille > div { display: grid; gap: 7px; align-content: start; min-width: 0; }
.dz-envoi-large { grid-column: 1 / -1; }

/* Étapes d'inscription */
.dz-panneau-large { width: min(100%, 620px); }
.dz-etapes { display: flex; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; counter-reset: etape; }
.dz-etapes li { flex: 1; padding-top: 9px; border-top: 4px solid var(--trait); color: var(--texte-3); font-size: 14px; font-weight: 700; }
.dz-etapes li.fait { border-color: var(--c3); color: var(--texte-2); }
.dz-etapes li.actif { border-color: var(--c1); color: var(--texte); }
.dz-formulaire-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px 14px; }
.dz-formulaire-duo > div { display: grid; gap: 7px; align-content: start; min-width: 0; }
.dz-formulaire-titre { margin: 12px 0 4px; font: 700 18px var(--titre); color: var(--texte); }
.dz-page .dz-formulaire .dz-photo { position: relative; display: flex; align-items: center; gap: 14px; margin-bottom: 12px; padding: 12px 14px; cursor: pointer; border: 1.5px dashed var(--trait); border-radius: 12px; }
.dz-page .dz-formulaire .dz-photo input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.dz-photo img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; }
.dz-photo strong, .dz-photo small { display: block; }
.dz-photo small { color: var(--texte-2); font-weight: 500; }
.dz-page .dz-formulaire .dz-case { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 8px; color: var(--texte-2); font-weight: 500; }
.dz-page .dz-formulaire .dz-case input { flex: none; width: 19px; height: 19px; margin: 3px 0 0; accent-color: var(--c1); }
.dz-page .dz-case a { color: var(--texte); text-decoration: underline; }

/* Tableaux de bord et profil hérités de la V1 */
.dz-page .mediaMenu { min-height: 0 !important; height: auto !important; }
.dz-page .mainDiv { color: var(--texte) !important; }
.dz-page .contentDiv { background: transparent !important; }
.dz-page .contentDiv [style*="background:"], .dz-page .contentDiv [style*="background-color"], .dz-page .completeDiv { background: transparent !important; }
.dz-page .contentDiv :not(input):not(select):not(textarea):not(button):not(option):not(svg):not(path) { color: var(--texte-2) !important; }
.dz-page .contentDiv .dz-studio-pays strong { color: var(--texte) !important; }
.dz-page .contentDiv .dz-studio-menu nav a.actif, .dz-page .contentDiv .dz-studio-menu nav a.actif * { color: var(--sur-c1) !important; }
.dz-page .contentDiv div, .dz-page .contentDiv ul, .dz-page .contentDiv li, .dz-page .contentDiv table, .dz-page .contentDiv tr, .dz-page .contentDiv th, .dz-page .contentDiv td { background-color: transparent !important; }
.dz-page .contentDiv .dz-studio-menu { background-color: var(--surface) !important; }
.dz-page .contentDiv input[type=text], .dz-page .contentDiv input[type=password], .dz-page .contentDiv select, .dz-page .contentDiv textarea { background: #fff !important; color: #111 !important; }
.dz-page .contentDiv a, .dz-page .contentDiv a * { background-color: transparent !important; }
.dz-page .contentDiv .dz-studio-menu nav a.actif { background-color: var(--c1) !important; }
.dz-page .contentDiv th, .dz-page .contentDiv [class*="Head"] { color: var(--texte) !important; }
.dz-page .contentDiv .albumHome li, .dz-page .contentDiv .albumHome li div { background-color: transparent; border-color: var(--trait) !important; }
.dz-page .contentDiv .albumHome li { background: var(--surface); border-radius: var(--rayon); overflow: hidden; }
.dz-page .contentDiv table { border-collapse: collapse; }
.dz-page .contentDiv th, .dz-page .contentDiv td { border-color: var(--trait) !important; }
.dz-page .logInButton { background: var(--c1); color: var(--sur-c1); border: 0; border-radius: 999px; padding: 10px 24px; font: 700 15px var(--corps); cursor: pointer; }
.dz-page .contentDiv input[type=button], .dz-page .contentDiv input[type=submit], .dz-page .contentDiv button { background: var(--c1) !important; color: var(--sur-c1) !important; border: 0; border-radius: 999px; }

/* Espace d'administration, de partenaire et Burida */
.dz-page .dz-admin-entete { position: sticky; top: 0; z-index: 1000; }
.dz-admin { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; padding: 24px 0 56px; }
.dz-admin-cote { position: sticky; top: 104px; min-width: 0; }
.dz-page .dz-admin > div:not(.dz-admin-cote) { float: none !important; width: auto !important; min-width: 0; }
.dz-menu-rubrique { margin: 12px 0 4px; padding: 0 11px; color: var(--texte-3); font-size: 13px; font-weight: 700; }
.dz-page .dz-admin { background: transparent !important; }
.dz-page .dz-admin [style*="background:"], .dz-page .dz-admin [style*="background-color"], .dz-page .completeDiv { background: transparent !important; }
.dz-page .dz-admin :not(input):not(select):not(textarea):not(button):not(option):not(svg):not(path) { color: var(--texte-2) !important; }
.dz-page .dz-admin .dz-studio-pays strong { color: var(--texte) !important; }
.dz-page .dz-admin .dz-studio-menu nav a.actif, .dz-page .dz-admin .dz-studio-menu nav a.actif * { color: var(--sur-c1) !important; }
.dz-page .dz-admin div, .dz-page .dz-admin ul, .dz-page .dz-admin li, .dz-page .dz-admin table, .dz-page .dz-admin tr, .dz-page .dz-admin th, .dz-page .dz-admin td { background-color: transparent !important; }
.dz-page .dz-admin .dz-studio-menu { background-color: var(--surface) !important; }
.dz-page .dz-admin input[type=text], .dz-page .dz-admin input[type=password], .dz-page .dz-admin select, .dz-page .dz-admin textarea { background: #fff !important; color: #111 !important; }
.dz-page .dz-admin a, .dz-page .dz-admin a * { background-color: transparent !important; }
.dz-page .dz-admin .dz-studio-menu nav a.actif { background-color: var(--c1) !important; }
.dz-page .dz-admin th, .dz-page .dz-admin [class*="Head"] { color: var(--texte) !important; }
.dz-page .dz-admin .albumHome li, .dz-page .dz-admin .albumHome li div { background-color: transparent; border-color: var(--trait) !important; }
.dz-page .dz-admin .albumHome li { background: var(--surface); border-radius: var(--rayon); overflow: hidden; }
.dz-page .dz-admin table { border-collapse: collapse; }
.dz-page .dz-admin th, .dz-page .dz-admin td { border-color: var(--trait) !important; }
.dz-page .dz-admin input[type=button], .dz-page .dz-admin input[type=submit], .dz-page .dz-admin button { background: var(--c1) !important; color: var(--sur-c1) !important; border: 0; border-radius: 999px; }
.dz-page .dz-admin [class*="progress-bar"], .dz-page .contentDiv [class*="progress-bar"] { background-color: var(--c3) !important; }
.dz-page .dz-admin .dz-studio-menu nav a.actif, .dz-page .dz-admin .dz-studio-menu nav a.actif * { color: var(--sur-c1) !important; background-color: var(--c1); }
.dz-page .dz-admin .dz-studio-menu nav a.actif svg { background: none; }
.dz-page .dz-admin ul, .dz-page .dz-admin li { list-style: none; }
.dz-page .dz-admin .tableHeaderColor, .dz-page .dz-admin .user-search-ul { border-bottom: 1px solid var(--trait); }
.dz-page .dz-admin .tableHeaderColor *, .dz-page .dz-admin .user-search-ul:first-of-type * { font-weight: 700; color: var(--texte) !important; }
.dz-page .dz-admin img { max-width: 100%; }
.dz-page .dz-admin .CMSlist, .dz-page .dz-admin .CMSdetails { border-radius: var(--rayon); background-color: var(--surface) !important; }

/* Finitions de l'administration */
.dz-admin-titre { grid-column: 2; margin: 0; font: 800 clamp(26px, 3vw, 36px) var(--titre); letter-spacing: -.02em; color: var(--texte); }
.dz-admin-cote { grid-row: 1 / span 2; }
.dz-page .dz-admin, .dz-page .dz-admin * { font-family: var(--corps); }
.dz-page .dz-admin input[type=button], .dz-page .dz-admin input[type=submit], .dz-page .dz-admin button { width: auto !important; min-width: 0; height: auto !important; padding: 9px 20px !important; font: 700 14px var(--corps) !important; line-height: 1.3 !important; white-space: nowrap; cursor: pointer; }
.dz-page .dz-admin .dz-recherche button { padding: 0 !important; }
.dz-page .dz-admin input[type=text], .dz-page .dz-admin textarea, .dz-page .dz-admin select { background: rgba(0, 0, 0, .28) !important; color: var(--texte) !important; border: 1px solid var(--trait) !important; border-radius: 10px; box-shadow: none !important; font-size: 15px !important; }
.dz-page .dz-admin select option { background: #1B2120; color: var(--texte); }
.dz-page .dz-admin input[type=text]::placeholder, .dz-page .dz-admin textarea::placeholder { color: var(--texte-3); }
.dz-page .dz-admin input[readonly], .dz-page .dz-admin textarea[readonly] { background: none !important; border-color: transparent !important; padding-left: 0 !important; resize: none; }
.dz-page .dz-admin .CMSlist { border: 1px solid var(--trait) !important; }
.dz-page .dz-admin .CMSlist input { min-width: 74px; }
.dz-page .dz-admin .CMSdetails { padding: 18px; border: 0 !important; }
.dz-page .dz-admin .CMSdetails ul, .dz-page .dz-admin .thumbNailUl, .dz-page .dz-admin .mediaUl { border-color: var(--trait) !important; border-radius: 10px; }
.dz-page .dz-admin .user-search-ul { display: flex; align-items: center; padding: 11px 0 !important; }
.dz-page .dz-admin .user-search-ul li { float: none !important; min-height: 1.4em; padding: 0 6px; overflow: hidden; text-overflow: ellipsis; }
.dz-page .dz-admin [style*="#dd0021"] { border-bottom-color: var(--c1) !important; }

.dz-page .dz-admin .dz-admin-titre { color: var(--texte) !important; }
.dz-page .dz-admin li:has(> .SaveContinue), .dz-page .dz-admin .buttonDiv, .dz-page .dz-admin .buttonDiv * { width: auto !important; overflow: visible !important; }

/* Emblème national et tendances */
.dz-hero-embleme { justify-self: center; display: grid; place-items: center; width: min(100%, 360px); aspect-ratio: 1; padding: 34px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 8px var(--c1), 0 0 0 16px var(--c2), 0 0 0 24px var(--c3), 0 30px 70px rgba(0, 0, 0, .5); }
.dz-hero-embleme img { width: 100%; height: 100%; object-fit: contain; }
.dz-sceau { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.dz-sceau > img { flex: none; width: 76px; height: 76px; object-fit: contain; padding: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px var(--c1), 0 0 0 6px var(--c3); }
.dz-sceau .dz-surtitre { margin: 0; }
.dz-tendances-corps { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 32px; align-items: center; padding: 18px 22px; border-radius: var(--rayon); background: var(--surface); }
.dz-tendances ol { margin: 0; padding: 0; list-style: none; counter-reset: rang; }
.dz-tendances li { counter-increment: rang; border-bottom: 1px solid var(--trait); }
.dz-tendances li:last-child { border-bottom: 0; }
.dz-tendances li a { display: flex; align-items: center; gap: 14px; padding: 9px 0; }
.dz-tendances li a::before { content: counter(rang); flex: none; width: 34px; text-align: center; font: 800 26px var(--titre); color: var(--c1); }
.pays-gn .dz-tendances li a::before { color: var(--c2); }
.dz-tendances li img { flex: none; width: 52px; height: 52px; object-fit: cover; border-radius: 8px; }
.dz-tendances li span { min-width: 0; }
.dz-tendances li strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dz-tendances li small { color: var(--texte-3); font-size: 14px; }
.dz-tendances-embleme { width: 100%; padding: 16px; border-radius: var(--rayon); background: #fff; }

@media (max-width: 1120px) {
    .dz-grille { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .dz-compte .dz-lien { display: none; }
    .dz-actus { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dz-pied-grille { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px) {
    .dz-barre { flex-wrap: wrap; gap: 10px; min-height: 0; }
    .dz-logo img { height: 48px; }
    .dz-menu-bouton {
        order: 3; display: grid; gap: 4px; align-content: center; justify-items: center;
        width: 42px; height: 40px; border-radius: 10px; border: 1px solid var(--trait); cursor: pointer;
    }
    .dz-menu-bouton span { width: 20px; height: 2px; border-radius: 2px; background: var(--texte); }
    .dz-pays { order: 2; margin-left: auto; }
    .dz-compte { order: 2; }
    .dz-recherche { order: 4; flex-basis: 100%; max-width: none; margin: 0; }
    .dz-nav { order: 5; display: none; flex-basis: 100%; flex-direction: column; }
    .dz-menu-case:checked ~ .dz-nav { display: flex; }
    .dz-nav a { padding: 11px 14px; }
    .dz-hero-contenu { grid-template-columns: minmax(0, 1fr); }
    .dz-tendances-corps { grid-template-columns: minmax(0, 1fr); }
    .dz-profils { grid-template-columns: minmax(0, 1fr); }
    .dz-studio, .dz-admin { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .dz-admin-cote { position: static; grid-row: auto; }
    .dz-admin-titre { grid-column: 1; }
    .dz-studio aside { position: static; }
    .dz-studio-menu nav { display: flex; overflow-x: auto; scrollbar-width: none; }
    .dz-page .dz-studio-menu nav a { flex: none; }
    .dz-studio-entete { align-items: flex-start; flex-direction: column; }
    .dz-envoi-fichiers { grid-template-columns: minmax(0, 1fr); }
    .dz-depot-image { width: 200px; justify-self: center; }
    .dz-applis { flex-direction: column; align-items: flex-start; }
    .dz-tendances-embleme { display: none; }
    .dz-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .dz-duo { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .dz-annonce { flex-direction: column; align-items: flex-start; }
    .dz-page .leftDiv, .dz-page .contentDiv, .dz-page .rightDiv, .dz-page .mainDiv > .leftDiv, .dz-page .mainDiv > .leftDiv ~ .contentDiv { float: none !important; width: 100% !important; }
}

@media (max-width: 520px) {
    .dz-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
    .dz-compte .dz-bouton { padding: 7px 12px; font-size: 14px; }
    .dz-actus { grid-template-columns: minmax(0, 1fr); }
    .dz-envoi-grille, .dz-formulaire-duo { grid-template-columns: minmax(0, 1fr); }
    .dz-studio-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dz-pied-grille { grid-template-columns: minmax(0, 1fr); }
    .dz-hero-actions .dz-bouton { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .dz-page * { transition: none !important; scroll-behavior: auto !important; }
}

/* Lecteur natif des extraits */
.dz-page video.dz-lecteur { display: block; width: 100%; max-width: 720px; aspect-ratio: 16 / 9; background: #000; border-radius: var(--rayon); }
.dz-page .contentDiv:has(video.dz-lecteur) { position: static !important; display: flow-root; min-height: 0 !important; padding-top: 32px !important; }
.dz-page .contentDiv:has(video.dz-lecteur) > div { float: none !important; min-height: 0 !important; }
.dz-page .contentDiv:has(video.dz-lecteur) video.dz-lecteur { margin: 0 auto; }
.dz-page .contentDiv:has(video.dz-lecteur) div:has(> video.dz-lecteur) { margin: 0 !important; }
/* Achat à l'unité sous le lecteur */
.dz-page .dz-achat { max-width: 720px; margin: 16px auto 0; display: grid; gap: 10px; justify-items: start; }
.dz-page .dz-achat-formulaire { margin: 0; }
.dz-page .dz-achat-aide { margin: 0; font-size: .9rem; opacity: .75; }
.dz-page .dz-achat-fait { margin: 0; color: var(--c3); font-weight: 600; }
.dz-page .footerMainBlock { clear: both; }

/* Première ligne réservée : toujours une seule ligne, quel que soit le nombre de colonnes */
.dz-pub { position: absolute; left: 8px; top: 8px; padding: 3px 8px; border-radius: 6px; background: rgba(0, 0, 0, .78); color: #fff; font-size: 12px; font-weight: 700; }
.dz-une-message { padding: 10px 14px; border: 1px solid var(--trait); border-left: 4px solid var(--c2); border-radius: 10px; }
@media (max-width: 1120px) { .dz-grille-une .dz-carte:nth-child(n+5) { display: none; } }
@media (max-width: 880px) { .dz-grille-une .dz-carte:nth-child(n+4) { display: none; } }
@media (max-width: 520px) { .dz-grille-une .dz-carte:nth-child(n+3) { display: none; } }

/* Détail des ventes */
.dz-ventes-filtres { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 20px; }
.dz-ventes-filtres label { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.dz-page .dz-ventes-filtres input[type=text] { width: 124px; margin: 0; }
.dz-ventes-totaux { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0 0 0 auto; }
.dz-ventes-liste { overflow-x: auto; }
.dz-ventes-liste table { width: 100%; min-width: 640px; border-collapse: collapse; }
.dz-ventes-liste th, .dz-ventes-liste td { padding: 12px 8px; text-align: left; border-bottom: 1px solid var(--trait); }
.dz-ventes-liste .dz-ventes-montant { text-align: right; white-space: nowrap; }
.dz-ventes-liste .dz-ventes-vide { padding: 28px 8px; text-align: center; }
@media (max-width: 700px) { .dz-ventes-totaux { width: 100%; margin-left: 0; } }

/* Abonnement */
.dz-abonnement { max-width: 1120px; margin: 0 auto; padding: 32px 0 56px; }
.dz-abonnement h1 { margin: 0; font: 800 clamp(28px, 4vw, 42px) var(--titre); letter-spacing: -.02em; text-align: center; }
.dz-abonnement-intro { margin: 10px 0 24px; color: var(--texte-2); text-align: center; }
.dz-formules { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin-top: 20px; }
.dz-formule { display: flex; flex-direction: column; gap: 6px; padding: 22px 18px; border: 1px solid var(--trait); border-radius: var(--rayon); background: var(--surface); text-align: center; }
.dz-formule h2 { margin: 0; font: 700 18px var(--titre); }
.dz-formule-prix { margin: 8px 0 0; font: 800 24px var(--titre); overflow-wrap: anywhere; }
.dz-formule-detail { flex: 1; margin: 0 0 12px; color: var(--texte-2); font-size: 14px; }
.dz-formule .dz-bouton { width: 100%; box-sizing: border-box; }
.dz-abonnement-sur { margin: 0 0 8px; color: var(--c1); font: 700 14px var(--corps); letter-spacing: .08em; text-transform: uppercase; text-align: center; }
.dz-abonnement h1 { max-width: 760px; margin: 0 auto; }
.dz-abonnement-intro { max-width: 620px; margin-left: auto; margin-right: auto; }
.dz-avantages { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin: 0 0 26px; padding: 0; list-style: none; color: var(--texte-2); font-size: 15px; }
.dz-avantages li { display: flex; align-items: center; gap: 8px; }
.dz-avantages span { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--c3); color: #fff; font-size: 13px; font-weight: 800; }
.dz-abonnement-annonce { max-width: 720px; margin: 0 auto 12px; }
.dz-formule { position: relative; }
.dz-formule-vedette { border-color: var(--c1); background: var(--surface-2); box-shadow: 0 0 0 1px var(--c1) inset; }
.dz-formule-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); padding: 3px 12px; border-radius: 999px; background: var(--c1); color: var(--sur-c1); font: 800 12px var(--corps); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.dz-formule-detail { margin-bottom: 0; }
.dz-formule-remise { margin: 0 0 14px; color: var(--c3); font-size: 14px; font-weight: 700; filter: brightness(1.35); }
.dz-page .dz-bouton-inactif { cursor: not-allowed; opacity: .7; }
.dz-abonnement-questions { max-width: 760px; margin: 48px auto 0; }
.dz-abonnement-questions h2 { margin: 0 0 14px; font: 700 22px var(--titre); text-align: center; }
.dz-abonnement-questions details { border-bottom: 1px solid var(--trait); }
.dz-abonnement-questions summary { padding: 14px 4px; font-weight: 700; cursor: pointer; }
.dz-abonnement-questions details p { margin: 0 4px 16px; color: var(--texte-2); }
@media (max-width: 520px) { .dz-avantages { flex-direction: column; align-items: flex-start; max-width: 340px; margin-left: auto; margin-right: auto; } }

/* Espace artiste et releves */
.dz-periode { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin: 10px 0 16px; }
.dz-periode label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.dz-periode input { width: 96px; }

/* Cartes cadeaux : la carte imprimée (format carte bancaire), partagée par l'aperçu et la feuille d'impression */
.dz-carte-imprimee {
    position: relative; box-sizing: border-box; width: 85.6mm; height: 54mm; padding: 3.6mm 4.6mm 3.2mm 7mm;
    display: flex; flex-direction: column; overflow: hidden; border-radius: 3.2mm; color: #fff;
    background: radial-gradient(120% 140% at 100% 0%, rgba(255, 255, 255, .1), transparent 55%), linear-gradient(150deg, var(--fond) 45%, #000 135%);
    font-family: Manrope, "Segoe UI", sans-serif; -webkit-print-color-adjust: exact; print-color-adjust: exact; text-align: left;
}
.dz-carte-imprimee p { margin: 0; }
.dz-ci-bande { position: absolute; top: 0; bottom: 0; left: 0; display: flex; flex-direction: column; width: 2.2mm; }
.dz-ci-bande span { flex: 1; }
.dz-ci-bande span:nth-child(1) { background: var(--c1); }
.dz-ci-bande span:nth-child(2) { background: var(--c2); }
.dz-ci-bande span:nth-child(3) { background: var(--c3); }
.dz-ci-haut { display: flex; justify-content: space-between; align-items: flex-start; gap: 3mm; height: 11mm; }
.dz-ci-difuz { display: block; height: 10.5mm; width: auto; }
.dz-ci-logo { display: flex; align-items: center; justify-content: center; height: 11mm; max-width: 32mm; padding: 1mm 1.8mm; box-sizing: border-box; border-radius: 1.6mm; background: #fff; }
.dz-ci-logo[hidden] { display: none; }
.dz-ci-logo img { display: block; max-width: 28mm; max-height: 9mm; object-fit: contain; }
.dz-carte-imprimee .dz-ci-titre { margin-top: 1.6mm; color: var(--c1); font: 800 2.3mm Manrope, sans-serif; letter-spacing: .22em; text-transform: uppercase; }
.dz-carte-imprimee .dz-ci-valeur { font: 800 7.6mm/1.1 Sora, "Segoe UI", sans-serif; letter-spacing: -.01em; }
.dz-carte-imprimee .dz-ci-offerte { margin-top: .4mm; overflow: hidden; color: rgba(255, 255, 255, .78); font-size: 2.6mm; white-space: nowrap; text-overflow: ellipsis; }
.dz-carte-imprimee .dz-ci-code { align-self: flex-start; margin-top: auto; padding: .9mm 2.2mm; border: .25mm solid rgba(255, 255, 255, .4); border-radius: 1.4mm; background: rgba(255, 255, 255, .12); font: 700 3.5mm Consolas, "Courier New", monospace; letter-spacing: .12em; }
.dz-carte-imprimee .dz-ci-mode { margin-top: 1.1mm; color: rgba(255, 255, 255, .7); font-size: 1.95mm; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Cartes cadeaux : production et activation */
.dz-cartes-creation { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 32px; align-items: start; margin: 8px 0 32px; }
.dz-cartes-champs { display: grid; gap: 14px; max-width: 520px; }
.dz-cartes-champs > label { display: grid; gap: 6px; font-weight: 600; }
.dz-cartes-champs small { color: var(--texte-2); font-weight: 400; font-size: 13px; }
.dz-page .dz-cartes-champs input[type=text], .dz-page .dz-cartes-champs input[type=number], .dz-page .dz-cartes-champs select { width: 100%; margin: 0; }
.dz-cartes-valeurs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.dz-cartes-valeurs legend { margin-bottom: 6px; padding: 0; font-weight: 600; }
.dz-cartes-valeur[hidden] { display: none; }
.dz-cartes-valeur input { position: absolute; opacity: 0; }
.dz-cartes-valeur span { display: inline-block; padding: 9px 16px; border: 1.5px solid var(--trait); border-radius: 999px; background: var(--surface); font-weight: 700; cursor: pointer; }
.dz-cartes-valeur input:checked + span { border-color: var(--c1); background: var(--c1); color: var(--sur-c1); }
.dz-cartes-valeur input:focus-visible + span { outline: 2px solid var(--c1); outline-offset: 2px; }
.dz-cartes-apercu { position: sticky; top: 110px; }
.dz-cartes-apercu > p { margin: 0 0 8px; color: var(--texte-2); font-size: 14px; }
.dz-cartes-apercu .dz-carte-imprimee { box-shadow: 0 14px 40px rgba(0, 0, 0, .45); }
.dz-cartes-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.dz-cartes-actions form { margin: 0; }
.dz-page .dz-cartes-actions .dz-bouton { min-height: 34px; padding: 4px 14px; font-size: 14px; }
.dz-carte-suite { width: 100%; margin: 0 0 16px; }
.dz-page .dz-formulaire .dz-code-carte { font: 700 20px Consolas, "Courier New", monospace; letter-spacing: .14em; text-align: center; text-transform: uppercase; }
.dz-carte-soldes { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--trait); }
.dz-carte-soldes h2 { margin: 0 0 8px; font: 700 18px var(--titre); }
.dz-carte-soldes p { display: flex; justify-content: space-between; margin: 0; padding: 6px 0; }
.dz-abonnement-solde { margin: 0 auto 14px; text-align: center; color: var(--texte-2); }
.dz-abonnement-solde strong { color: var(--texte); }
.dz-page .dz-abonnement-solde a, .dz-page .dz-abonnement-annonce a { color: var(--texte); font-weight: 700; text-decoration: underline; }
@media (max-width: 900px) { .dz-cartes-creation { grid-template-columns: minmax(0, 1fr); } .dz-cartes-apercu { position: static; order: -1; } }
.dz-page .dz-admin input[type=number], .dz-page .dz-admin input[type=email] { height: 44px; padding: 0 12px; background: rgba(0, 0, 0, .28) !important; color: var(--texte) !important; border: 1px solid var(--trait) !important; border-radius: 10px; box-shadow: none !important; font: 500 15px var(--corps) !important; }
.dz-page .dz-admin .dz-cartes-champs input[type=text], .dz-page .dz-admin .dz-cartes-champs select { height: 44px; }
.dz-page .dz-admin button.dz-bouton-discret { background: var(--surface) !important; color: var(--texte) !important; border: 1.5px solid var(--trait) !important; }
.dz-page .dz-admin .dz-cartes-actions button.dz-bouton-discret { min-height: 34px; padding: 4px 14px !important; }
.dz-page .dz-admin button.dz-bouton-fort { min-height: 50px; padding: 12px 30px !important; font-size: 16px !important; }

/* Carte cadeau : QR code à la place du code, lu par l'application DiFuz */
.dz-carte-imprimee .dz-ci-qr { position: absolute; right: 4.6mm; bottom: 3.6mm; width: 21mm; height: 21mm; overflow: hidden; border-radius: 1.4mm; background: #fff; }
.dz-carte-imprimee .dz-ci-qr svg { display: block; width: 100%; height: 100%; }
.dz-carte-imprimee.dz-ci-avec-qr .dz-ci-offerte, .dz-carte-imprimee.dz-ci-avec-qr .dz-ci-accroche, .dz-carte-imprimee.dz-ci-avec-qr .dz-ci-mode { max-width: 48mm; }
.dz-carte-imprimee .dz-ci-accroche { margin-top: auto; font: 800 2.9mm Manrope, sans-serif; }
.dz-carte-imprimee.dz-ci-avec-qr .dz-ci-mode { white-space: normal; line-height: 1.3; }
.dz-cartes-format { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.dz-cartes-format legend { margin-bottom: 6px; padding: 0; font-weight: 600; }
.dz-cartes-format label { display: flex; gap: 10px; align-items: flex-start; flex: 1 1 220px; padding: 12px 14px; border: 1.5px solid var(--trait); border-radius: 12px; background: var(--surface); cursor: pointer; }
.dz-cartes-format label:has(input:checked) { border-color: var(--c1); }
.dz-cartes-format input { margin-top: 4px; accent-color: var(--c1); }
.dz-cartes-format small { display: block; color: var(--texte-2); font-weight: 400; }
.dz-page .dz-admin .dz-cartes-champs textarea { width: 100%; min-height: 140px; padding: 10px 12px; font: 500 14px/1.5 Consolas, "Courier New", monospace !important; }
.dz-cartes-champs [hidden] { display: none !important; }
.dz-cadeau .dz-cadeau-carte { margin: 0 auto 22px; box-shadow: 0 14px 40px rgba(0, 0, 0, .45); }
.dz-cadeau h1 { font-size: 24px; }
.dz-envoi-bilan { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 6px 0 12px; color: var(--texte-2); }
.dz-envoi-bilan strong { color: var(--texte); font-size: 18px; }
@media (max-width: 400px) { .dz-cadeau .dz-cadeau-carte { transform: scale(.9); transform-origin: top center; margin-bottom: 10px; } }

.dz-carte-etapes { margin: 0 0 20px; padding-left: 22px; color: var(--texte-2); }
.dz-carte-etapes li { margin: 6px 0; }
.dz-carte-etapes strong { color: var(--texte); }
