/* ========================================
   MAZAL GROOVE - THEME "AI MUSIC UNIVERSE"
   Charge APRES style.css sur toutes les pages.
   Nuit profonde, lumieres de scene, ondes et notes.
   ======================================== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Righteous&display=swap');

:root {
    --nuit: #0a0618;
    --nuit-2: #140b2e;
    --magenta: #ff3ea5;
    --violet: #9b5cff;
    --cyan: #22d3ee;
    --or: #ffc857;

    --primary-color: #f3ecff;
    --secondary-color: #22d3ee;
    --accent-color: #ff3ea5;
    --text-color: #d6d0ee;
    --light-bg: rgba(255, 255, 255, 0.05);
    --gradient-primary: linear-gradient(135deg, #0d0626 0%, #1e0b45 55%, #2a0d52 100%);
    --gradient-accent: linear-gradient(135deg, #ff3ea5 0%, #9b5cff 100%);
    --gradient-neon: linear-gradient(90deg, #ff3ea5, #9b5cff 45%, #22d3ee);
    --font-primary: 'Outfit', 'Segoe UI', Tahoma, sans-serif;
    --font-heading: 'Righteous', 'Outfit', sans-serif;
    --verre: rgba(255, 255, 255, 0.045);
    --verre-bord: rgba(255, 255, 255, 0.09);
}

html { background: var(--nuit); }
body {
    background: var(--nuit);
    color: var(--text-color);
    position: relative;
    overflow-x: hidden;
}

/* Lumieres de scene fixes derriere tout le site */
body::before {
    content: '';
    position: fixed;
    inset: -20vmax;
    z-index: -2;
    background:
        radial-gradient(40vmax 40vmax at 15% 10%, rgba(155, 92, 255, 0.28), transparent 60%),
        radial-gradient(35vmax 35vmax at 90% 20%, rgba(255, 62, 165, 0.22), transparent 60%),
        radial-gradient(45vmax 45vmax at 70% 95%, rgba(34, 211, 238, 0.16), transparent 60%),
        var(--nuit);
    animation: mg-scene 28s ease-in-out infinite alternate;
}
/* Trame discrete facon circuit / reseau de neurones */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: .5;
    background-image:
        radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.4px);
    background-size: 34px 34px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), rgba(0,0,0,.25));
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), rgba(0,0,0,.25));
}
@keyframes mg-scene {
    0% { transform: translate3d(0, 0, 0) rotate(0deg); }
    100% { transform: translate3d(-3vmax, 2vmax, 0) rotate(8deg); }
}

/* ---------- Navigation ---------- */
header {
    background: rgba(10, 6, 24, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    border-image: var(--gradient-neon) 1;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.45);
}
.nav-links a { color: #f3ecff; font-weight: 500; letter-spacing: .2px; }
.nav-links a:hover,
.nav-links a:focus-visible {
    background: rgba(255, 62, 165, 0.12);
    color: #fff;
    text-shadow: 0 0 12px rgba(255, 62, 165, 0.8);
}
@media (max-width: 768px) {
    .nav-links { background: rgba(10, 6, 24, 0.97); border-bottom: 1px solid var(--verre-bord); }
}

/* ---------- Hero ---------- */
.hero {
    background:
        radial-gradient(60% 80% at 50% 0%, rgba(155, 92, 255, 0.35), transparent 70%),
        radial-gradient(40% 60% at 85% 60%, rgba(255, 62, 165, 0.25), transparent 70%),
        radial-gradient(40% 60% at 15% 70%, rgba(34, 211, 238, 0.18), transparent 70%),
        transparent;
    padding-bottom: 8rem;
}
.hero::before { display: none; }
.hero h1 {
    font-family: var(--font-heading);
    font-weight: 400;
    letter-spacing: .5px;
    background: linear-gradient(90deg, #fff 0%, #ffd1ec 35%, #c9b2ff 65%, #a5f3fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 0 18px rgba(255, 62, 165, 0.35));
}
.hero p { color: #ece6ff; }
.hero-logo {
    border-radius: 24px;
    filter: drop-shadow(0 0 40px rgba(155, 92, 255, 0.55)) drop-shadow(0 0 80px rgba(255, 62, 165, 0.25));
}

/* Egaliseur et onde injectes par theme.js */
.mg-eq {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 90px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 5px;
    padding: 0 2rem;
    opacity: .55;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
}
.mg-eq span {
    flex: 0 0 6px;
    height: 20%;
    border-radius: 3px 3px 0 0;
    background: var(--gradient-accent);
    animation: mg-eq 1.1s ease-in-out infinite alternate;
}
@keyframes mg-eq { from { height: 8%; } to { height: 100%; } }
.mg-onde {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 120px;
    pointer-events: none;
}
.mg-onde path { fill: none; stroke-width: 2; }

/* Notes de musique flottantes */
.mg-notes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.mg-note {
    position: absolute;
    bottom: -40px;
    font-size: 22px;
    color: rgba(255, 255, 255, 0.55);
    text-shadow: 0 0 12px rgba(255, 62, 165, 0.9);
    animation: mg-monte linear infinite;
}
@keyframes mg-monte {
    0% { transform: translateY(0) rotate(0deg); opacity: 0; }
    10% { opacity: .9; }
    100% { transform: translateY(-110vh) rotate(25deg); opacity: 0; }
}

/* ---------- Boutons ---------- */
.btn { font-family: var(--font-primary); letter-spacing: .3px; }
.btn-primary {
    background: var(--gradient-accent);
    color: #fff;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 8px 30px rgba(255, 62, 165, 0.35);
}
.btn-primary:hover { box-shadow: 0 0 0 1px rgba(255,255,255,.15), 0 12px 40px rgba(155, 92, 255, 0.55); }
.btn-secondary { color: #fff; border-color: rgba(255,255,255,.6); }
.btn-secondary:hover { background: #fff; color: #140b2e; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 3px;
}

/* ---------- Titres ---------- */
section h2 {
    font-family: var(--font-heading);
    font-weight: 400;
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
section h3 { color: var(--cyan); }
h4 { color: #f3ecff; }
a { color: var(--cyan); }
strong { color: #fff; }

/* ---------- Cartes en verre ---------- */
.artist-card, .video-item, .product-card, .album, .contact-form {
    background: var(--verre);
    border: 1px solid var(--verre-bord);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.artist-card:hover, .video-item:hover, .product-card:hover {
    box-shadow: 0 0 0 1px rgba(255, 62, 165, 0.45), 0 20px 50px rgba(155, 92, 255, 0.35);
}
.artist-card h3, .album h3, .product-info h3 { color: #fff; }
.download-notice { color: #a99fc9; }

/* Blocs ecrits en style en ligne dans les pages */
[style*="background: var(--white)"], [style*="background:var(--white)"] {
    background: var(--verre) !important;
    border: 1px solid var(--verre-bord);
    color: var(--text-color);
}
[style*="color: var(--white)"] { color: #fff !important; }

/* Grand bandeau d'appel (degrade) */
section[style*="var(--gradient-primary)"] {
    background:
        radial-gradient(80% 120% at 0% 0%, rgba(255, 62, 165, 0.35), transparent 60%),
        radial-gradient(80% 120% at 100% 100%, rgba(34, 211, 238, 0.25), transparent 60%),
        linear-gradient(135deg, #1a0a3d, #2b0d55) !important;
    border: 1px solid var(--verre-bord);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

/* ---------- Formulaires ---------- */
.form-group label { color: #f3ecff; }
.form-group input, .form-group select, .form-group textarea {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
}
.form-group select option { background: var(--nuit-2); color: #fff; }

/* ---------- Pied de page ---------- */
footer {
    background: linear-gradient(180deg, transparent, rgba(10, 6, 24, 0.9) 30%), var(--gradient-primary);
    border-top: 1px solid transparent;
    border-image: var(--gradient-neon) 1;
}
.footer-section h3 { color: var(--magenta); font-family: var(--font-heading); font-weight: 400; }
.footer-section a:hover { color: var(--cyan); }

/* ---------- Page Ecouter ---------- */
.outils { background: rgba(10, 6, 24, 0.92) !important; backdrop-filter: blur(10px); border-bottom-color: var(--verre-bord) !important; }
.recherche { background: rgba(255, 255, 255, 0.06) !important; color: #fff !important; border-color: var(--violet) !important; }
.puce { background: transparent !important; color: #f3ecff !important; border-color: rgba(255,255,255,.22) !important; }
.puce.actif { background: var(--gradient-accent) !important; border-color: transparent !important; color: #fff !important; }
.piste { border-bottom-color: rgba(255, 255, 255, 0.07) !important; }
.piste:hover { background: rgba(255, 255, 255, 0.05) !important; }
.piste.encours { background: linear-gradient(90deg, rgba(255,62,165,.18), rgba(155,92,255,.08)) !important; }
.piste.encours .piste-t { color: #fff !important; }
.piste-btn { background: var(--gradient-accent) !important; box-shadow: 0 0 14px rgba(255, 62, 165, 0.45); }
.album-tete { border-bottom-color: var(--violet) !important; }
.famille-titre { font-family: var(--font-heading); font-weight: 400; color: var(--magenta) !important; }
.lecteur { background: rgba(10, 6, 24, 0.96) !important; border-top: 1px solid transparent !important; border-image: var(--gradient-neon) 1; }

/* ---------- Mouvement reduit ---------- */
@media (prefers-reduced-motion: reduce) {
    body::before, .mg-eq span, .mg-note { animation: none !important; }
    .mg-notes { display: none; }
}
html.mg-calme body::before, html.mg-calme .mg-eq span { animation: none !important; }
html.mg-calme .mg-notes { display: none; }
.mg-calme-btn {
    position: fixed; right: 14px; bottom: 14px; z-index: 900;
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid var(--verre-bord); background: rgba(10, 6, 24, 0.8); color: #fff;
    cursor: pointer; font-size: 16px; backdrop-filter: blur(8px);
}
body.avec-lecteur .mg-calme-btn { bottom: 96px; }

/* Menu sur une seule ligne */
.nav-links { gap: .2rem; }
.nav-links a { white-space: nowrap; padding: .5rem .75rem; }
.logo img { border-radius: 8px; box-shadow: 0 0 18px rgba(155, 92, 255, 0.45); }
@media (min-width: 769px) and (max-width: 1100px) { .nav-links a { padding: .45rem .5rem; font-size: .92rem; } }

/* Titre en cours : le bouton pulse au rythme pendant la lecture */
body.mg-joue .piste.encours .piste-btn { animation: mg-pouls 0.9s ease-in-out infinite; }
@keyframes mg-pouls { 0%,100% { box-shadow: 0 0 10px rgba(255,62,165,.5); transform: scale(1); } 50% { box-shadow: 0 0 26px rgba(255,62,165,.95); transform: scale(1.08); } }
html.mg-calme body.mg-joue .piste.encours .piste-btn { animation: none; }
@media (prefers-reduced-motion: reduce) { body.mg-joue .piste.encours .piste-btn { animation: none; } }

/* Boutique : cartes et listes deroulantes en verre */
.product-card { background: var(--verre) !important; }
.product-image { background: rgba(255, 255, 255, 0.03) !important; }
.option-select { background: rgba(255, 255, 255, 0.06) !important; color: #fff !important; border-color: rgba(255,255,255,.2) !important; }
.option-select option { background: var(--nuit-2); color: #fff; }

/* ---------- Le Team (groupe.html) ---------- */
.team { text-align: center; }
.team h3 { text-align: center; font-family: var(--font-heading); font-weight: 400; }
.team .team-intro { text-align: center; max-width: 860px; margin: 0 auto 1.5rem; line-height: 1.8; }
.team-grille { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.3rem; margin: 2.5rem 0 1rem; }
.team-carte {
    flex: 0 1 230px;
    position: relative;
    padding: 2rem 1.2rem 1.6rem;
    border-radius: 18px;
    text-align: center;
    background:
        radial-gradient(120% 90% at 50% 0%, rgba(255, 62, 165, 0.22), transparent 60%),
        radial-gradient(120% 90% at 50% 120%, rgba(34, 211, 238, 0.16), transparent 60%),
        linear-gradient(160deg, #1c0d3d, #120826);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.4);
    transition: transform .3s ease, box-shadow .3s ease;
    overflow: hidden;
}
.team-carte::before {
    content: '';
    position: absolute; inset: 0; border-radius: inherit; padding: 1px;
    background: var(--gradient-neon);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    opacity: .55; pointer-events: none;
}
.team-carte:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(255, 62, 165, 0.4), 0 18px 46px rgba(155, 92, 255, 0.45); }
.team-icone {
    display: inline-flex; align-items: center; justify-content: center;
    width: 52px; height: 52px; margin-bottom: .9rem; border-radius: 50%;
    background: var(--gradient-accent); color: #fff; font-size: 1.15rem;
    box-shadow: 0 0 22px rgba(255, 62, 165, 0.55);
}
.team-carte h4 { margin: 0 0 .35rem; font-size: 1.2rem; color: #fff; font-family: var(--font-heading); font-weight: 400; letter-spacing: .3px; }
.team-carte p { margin: 0; text-align: center; color: #cfc6f0; font-size: .95rem; line-height: 1.55; }
.team-devise { margin-top: 3.5rem; text-align: center; }
.team-devise h3 { color: var(--magenta); font-size: 1.6rem; margin-bottom: 1rem; }
.team-devise p { text-align: center; font-size: 1.4rem; font-style: italic; color: var(--cyan); line-height: 1.6; }
.team-grille + .team-grille { margin-top: 1.3rem; }
@media (min-width: 1000px) { .team-son { flex-wrap: nowrap; } }
@media (min-width: 900px) { .team-devise p { white-space: nowrap; } }

/* ---------- Page Videos : mashups en format carre (pochettes) ---------- */
.clip-carre .clip-vignette { aspect-ratio: 1 / 1; }
.clip-carre .clip-media { width: 100%; aspect-ratio: 1 / 1; display: block; background: #000; object-fit: contain; }
.clip-audio { position: relative; aspect-ratio: 1 / 1; }
.clip-audio img { width: 100%; height: 100%; object-fit: cover; display: block; }
.clip-audio audio { position: absolute; left: 8px; right: 8px; bottom: 8px; width: calc(100% - 16px); }
.clip-duree { font-family: var(--font-primary) !important; letter-spacing: .5px; background: rgba(10, 6, 24, 0.85) !important; border: 1px solid rgba(255,255,255,.15); }

/* ---------- J'aime, vues / ecoutes, Partager ---------- */
.mg-social { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; margin-top: .8rem; }
.mg-social button, .mg-vues {
    display: inline-flex; align-items: center; gap: .4rem;
    font: 500 .85rem var(--font-primary); color: #e9e3ff;
    padding: .38rem .8rem; border-radius: 30px;
    background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14);
}
.mg-social button { cursor: pointer; transition: background .2s ease, border-color .2s ease, transform .15s ease; }
.mg-social button:hover { background: rgba(255, 62, 165, 0.16); border-color: rgba(255, 62, 165, 0.5); }
.mg-social button:active { transform: scale(.94); }
.mg-jaime.actif { color: #fff; background: rgba(255, 62, 165, 0.22); border-color: var(--magenta); }
.mg-jaime.actif i { color: var(--magenta); animation: mg-coeur .35s ease; }
@keyframes mg-coeur { 0% { transform: scale(1); } 50% { transform: scale(1.45); } 100% { transform: scale(1); } }
.mg-vues { background: transparent; border-color: transparent; color: #b9afdc; padding-left: .2rem; }
.mg-partager i { color: var(--cyan); }

/* Version compacte dans les lignes de la page Ecouter */
.mg-social-ligne { margin: 0 0 0 auto; flex-wrap: nowrap; gap: .3rem; flex-shrink: 0; }
.mg-social-ligne button, .mg-social-ligne .mg-vues { padding: .3rem .55rem; font-size: .78rem; }
.mg-social-ligne .mg-partager span { display: none; }
@media (max-width: 600px) {
    .mg-social-ligne .mg-vues { display: none; }
}
.piste.mg-cible { outline: 2px solid var(--magenta); outline-offset: 2px; background: rgba(255, 62, 165, 0.12) !important; }
.clip:target { outline: 2px solid var(--magenta); outline-offset: 4px; }

/* Menu de partage */
.mg-menu-partage {
    position: fixed; z-index: 2000; min-width: 210px; padding: .4rem;
    background: rgba(20, 11, 46, 0.97); border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55); backdrop-filter: blur(12px);
}
.mg-menu-partage a, .mg-menu-partage button {
    display: flex; align-items: center; gap: .65rem; width: 100%;
    padding: .6rem .8rem; border-radius: 9px; border: 0; background: transparent;
    color: #f3ecff; font: 500 .92rem var(--font-primary); text-decoration: none; cursor: pointer; text-align: left;
}
.mg-menu-partage a:hover, .mg-menu-partage button:hover, .mg-menu-partage a:focus-visible { background: rgba(255, 255, 255, 0.08); }
.mg-menu-partage .fa-whatsapp { color: #25d366; }
.mg-menu-partage .fa-facebook-f { color: #4c8dff; }
.mg-menu-partage i { width: 18px; text-align: center; }

/* Boutons Telecharger : passent a la ligne si besoin */
.clip-dl { flex-wrap: wrap; }

/* ---------- Le Team avec photos (groupe.html) ---------- */
.team-carte { flex: 0 1 270px; padding: 0; text-align: left; display: flex; flex-direction: column; }
.team-photo { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.team-carte:hover .team-photo img { transform: scale(1.04); }
.team-photo figcaption {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 3.2rem 1rem .9rem;
    background: linear-gradient(to top, rgba(10, 6, 24, 0.95) 0%, rgba(10, 6, 24, 0.75) 45%, transparent 100%);
    display: flex; flex-direction: column; gap: .15rem; text-align: center;
}
.team-nom { font-family: var(--font-heading); font-size: 1.3rem; color: #fff; letter-spacing: .3px; }
.team-surnom { font-style: italic; color: #ffb3dc; font-size: .95rem; }
.team-role {
    align-self: center; margin-top: .35rem; padding: .25rem .75rem; border-radius: 30px;
    background: var(--gradient-accent); color: #fff; font-size: .8rem; font-weight: 600; letter-spacing: .3px;
    box-shadow: 0 0 16px rgba(255, 62, 165, 0.45);
}
.team-carte > p { margin: 0; padding: 1rem 1.1rem 1.3rem; text-align: center; color: #d6cff0; font-size: .93rem; line-height: 1.6; }
@media (min-width: 1000px) { .team-son .team-carte { flex-basis: 250px; } }

/* Titres bleus de la page Le Groupe : centres, sur une ligne sur ordinateur */
.titre-ligne { text-align: center; }
@media (min-width: 900px) { .titre-ligne { white-space: nowrap; font-size: clamp(1.25rem, 2.2vw, 1.8rem); } }

/* Retour a la ligne reserve aux ordinateurs */
@media (max-width: 820px) { br.pc { display: none; } }
@media (min-width: 821px) { br.mob { display: none; } }

/* Sous-titre a l'interieur d'un album (page Videos) */
.sous-album { margin: 2.6rem 0 1.2rem; font-family: var(--font-heading); font-weight: 400; color: var(--cyan); font-size: 1.35rem; text-align: center; }

/* ---------- Commentaires : fenetre ---------- */
.mg-commenter i { color: var(--or); }
html.mg-modal-ouvert { overflow: hidden; }
.mg-modal { position: fixed; inset: 0; z-index: 3000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.mg-modal-fond { position: absolute; inset: 0; background: rgba(5, 3, 14, 0.78); backdrop-filter: blur(6px); }
.mg-modal-boite {
    position: relative; width: min(620px, 100%); max-height: calc(100vh - 32px); overflow: auto;
    padding: 1.6rem 1.5rem 1.4rem; border-radius: 20px; color: var(--text-color);
    background: radial-gradient(120% 70% at 50% 0%, rgba(255, 62, 165, 0.18), transparent 60%), linear-gradient(160deg, #1c0d3d, #0f0722);
    border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.mg-modal-fermer { position: absolute; top: 10px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.08); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.mg-modal-fermer:hover { background: rgba(255, 62, 165, 0.3); }
.mg-com-origine { margin: 0 0 .3rem; font-size: .82rem; letter-spacing: .5px; text-transform: uppercase; color: var(--cyan); }
.mg-modal-boite h2 { margin: 0 2.5rem 1.1rem 0; font-family: var(--font-heading); font-weight: 400; font-size: 1.4rem; color: #fff; text-align: left; background: none; -webkit-text-fill-color: #fff; }
.mg-com-liste { list-style: none; margin: 0 0 1.2rem; padding: 0; max-height: 40vh; overflow: auto; }
.mg-com { padding: .8rem .9rem; margin-bottom: .6rem; border-radius: 12px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.07); }
.mg-com-tete { display: flex; justify-content: space-between; gap: .8rem; flex-wrap: wrap; margin-bottom: .3rem; }
.mg-com-tete strong { color: #ffb3dc; }
.mg-com-tete span { font-size: .8rem; color: #a99fc9; }
.mg-com p { margin: 0; text-align: left; line-height: 1.55; overflow-wrap: anywhere; }
.mg-com-vide { padding: .8rem; color: #b9afdc; text-align: center; }
.mg-com-form label { display: block; margin-bottom: .8rem; font-weight: 600; color: #f3ecff; font-size: .92rem; }
.mg-com-form input, .mg-com-form textarea {
    display: block; width: 100%; margin-top: .35rem; padding: .7rem .85rem; border-radius: 10px;
    background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.18); color: #fff; font: 400 1rem var(--font-primary);
}
.mg-com-form textarea { resize: vertical; min-height: 96px; }
.mg-piege { position: absolute !important; left: -9999px !important; }
.mg-com-info { font-size: .8rem; color: #a99fc9; margin: 0 0 .5rem; text-align: left; }
.mg-com-msg { min-height: 1.2em; margin: 0 0 .7rem; color: var(--or); font-size: .9rem; text-align: left; }
@media (max-width: 600px) { .mg-social-ligne .mg-commenter span { display: none; } }

/* ---------- Notre demarche : bandeau d'accueil ---------- */
.demarche-bandeau {
    display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap;
    max-width: 880px; margin: 0 auto 4rem; padding: 1.1rem 1.4rem;
    border-radius: 18px; position: relative;
    background: radial-gradient(120% 140% at 0% 50%, rgba(155, 92, 255, 0.16), transparent 60%), rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
}
.demarche-bandeau::before {
    content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
    background: var(--gradient-neon); opacity: .45; pointer-events: none;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.demarche-bandeau-icone { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: var(--gradient-accent); font-size: 1.3rem; box-shadow: 0 0 18px rgba(255, 62, 165, 0.45); }
.demarche-bandeau-texte { flex: 1 1 260px; min-width: 0; }
.demarche-bandeau-texte strong { display: block; color: #fff; font-family: var(--font-heading); font-weight: 400; font-size: 1.12rem; letter-spacing: .2px; }
.demarche-bandeau-texte span { display: block; color: #c9c0e8; font-size: .93rem; line-height: 1.5; margin-top: .15rem; }
.demarche-bandeau-lien {
    flex: 0 0 auto; display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: .55rem 1.2rem;
    border-radius: 30px; border: 1.5px solid rgba(255, 255, 255, 0.35); color: #fff; font-weight: 600; text-decoration: none;
    transition: background .25s ease, border-color .25s ease;
}
.demarche-bandeau-lien:hover, .demarche-bandeau-lien:focus-visible { background: rgba(255, 62, 165, 0.18); border-color: var(--magenta); color: #fff; }
@media (max-width: 600px) { .demarche-bandeau { padding: 1rem; } .demarche-bandeau-lien { width: 100%; justify-content: center; } }

/* ---------- Notre demarche : le texte (page et fenetre) ---------- */
.demarche { color: var(--text-color); }
.demarche p { line-height: 1.8; margin: 0 0 1.05rem; text-align: left; }
.demarche-tete { text-align: center; margin-bottom: 1.8rem; }
.demarche .demarche-titre { font-family: var(--font-heading); font-weight: 400; font-size: clamp(1.5rem, 4vw, 2.1rem); margin: 0 0 .5rem;
    background: var(--gradient-neon); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.demarche .demarche-titre span { -webkit-text-fill-color: initial; }
.demarche .demarche-accroche { text-align: center; font-size: 1.12rem; font-style: italic; color: #f3ecff; margin: 0; }
.demarche-sous-titre { font-family: var(--font-heading); font-weight: 400; font-size: 1.35rem; color: #ffb3dc; margin: 2.2rem 0 1rem; text-align: left; }
.demarche-etapes { counter-reset: etape; list-style: none; margin: .4rem 0 1.4rem; padding: 0; display: grid; gap: .55rem; }
.demarche-etapes li { counter-increment: etape; position: relative; padding: .75rem .9rem .75rem 3.1rem; border-radius: 12px;
    background: rgba(255, 255, 255, 0.045); border: 1px solid rgba(255, 255, 255, 0.08); line-height: 1.55; }
.demarche-etapes li::before { content: counter(etape); position: absolute; left: .8rem; top: 50%; transform: translateY(-50%);
    width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--gradient-accent); color: #fff; font-weight: 700; font-size: .85rem;
    display: flex; align-items: center; justify-content: center; }
.demarche .demarche-credo-intro { margin-top: 2rem; text-align: center; color: #f3ecff; }
.demarche-credo { margin: 0 0 1.8rem; padding: 1.3rem 1.4rem; border-radius: 16px; text-align: center;
    background: radial-gradient(100% 120% at 50% 0%, rgba(255, 62, 165, 0.16), transparent 70%), rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09); }
.demarche-credo p { text-align: center; margin: 0 0 .6rem; font-size: 1.08rem; color: #fff; }
.demarche-credo p:last-child { margin: 0; color: var(--text-color); font-size: 1rem; }
.demarche-fin { text-align: center; }
.demarche-fin p { text-align: center; margin: 0 0 .4rem; }
.demarche .demarche-formule { font-family: var(--font-heading); font-size: 1.2rem; color: var(--cyan); letter-spacing: .3px; }
.demarche .demarche-verbes { font-weight: 600; letter-spacing: .5px; color: #ffb3dc; }

/* ---------- Notre demarche : la fenetre (reprend .mg-modal des commentaires) ---------- */
.mg-modal-demarche .mg-modal-boite { width: min(760px, 100%); padding: 2.2rem 1.8rem 1.8rem; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.mg-modal-demarche .mg-modal-fermer { position: sticky; top: 0; float: right; margin: -1rem -.6rem 0 0; z-index: 2; width: 44px; height: 44px; }
@media (max-width: 600px) { .mg-modal { padding: 8px; } .mg-modal-demarche .mg-modal-boite { padding: 1.6rem 1.1rem 1.4rem; max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); } }
.mg-modal-demarche .demarche-plus { text-align: center; margin: 1.4rem 0 0; font-size: .9rem; }

/* Lien discret du bas de page */
.footer-bottom .lien-demarche { white-space: nowrap; }
/* bouton Fermer bien visible et toujours a portee de doigt */
.mg-modal-demarche .mg-modal-fermer {
    top: .4rem; margin: -1.4rem -.8rem .2rem .6rem; width: 46px; height: 46px; font-size: 1.8rem;
    background: rgba(10, 6, 24, 0.9); border: 1.5px solid rgba(255, 255, 255, 0.45); color: #fff;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
}
.mg-modal-demarche .mg-modal-fermer:hover, .mg-modal-demarche .mg-modal-fermer:focus-visible { background: var(--magenta); border-color: var(--magenta); }
.mg-modal-demarche .demarche-tete { padding-top: .4rem; }

/* le titre ne passe jamais sous la croix */
.mg-modal-demarche .demarche-tete { padding: .4rem 2.9rem 0; }
@media (max-width: 600px) { .mg-modal-demarche .demarche-tete { padding: 2.6rem .2rem 0; } .mg-modal-demarche .mg-modal-fermer { margin-bottom: -2.4rem; } }

/* ---------- Page Videos : intro, recherche, chaine Remix ---------- */
.videos-intro { max-width: 900px; margin: -2.5rem auto 0; text-align: center; font-weight: 700; line-height: 1.75; font-size: 1.05rem; color: #f3ecff; }
.videos-intro p { text-align: center; margin: 0 0 .8rem; }
.videos-intro em { font-style: normal; color: var(--cyan); }
.visuellement-cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.videos-recherche { max-width: 640px; margin: 1.8rem auto .4rem; text-align: center; }
.videos-recherche input { width: 100%; padding: .9rem 1.3rem; border-radius: 30px; font: 400 1.05rem var(--font-primary);
    background: rgba(255, 255, 255, 0.06); border: 2px solid var(--violet); color: #fff; }
.videos-recherche input::placeholder { color: #b9afdc; }
.recherche-compte { margin: .5rem 0 0; font-size: .88rem; color: #b9afdc; text-align: center; min-height: 1.2em; }
.clip.cache-recherche, .album.cache-recherche { display: none !important; }
@media (min-width: 821px) { .album-desc.une-ligne { white-space: nowrap; max-width: none; font-size: .98rem; } }
.album-chaine { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; margin: 0 0 2rem; }
.album-chaine .album-lien { margin: 0; }
.btn-abonner { display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; padding: .45rem 1.1rem; border-radius: 30px;
    background: #ff0033; color: #fff !important; font-weight: 700; text-decoration: none; box-shadow: 0 0 16px rgba(255, 0, 51, 0.4); }
.btn-abonner:hover { filter: brightness(1.1); }

/* surnoms de la Team : jamais coupes en fin de ligne */
.insecable { white-space: nowrap; }
