/*
Theme Name: DJ Madiss
Author: DJ Madiss
Description: Thème bloc sur mesure pour DJ Madiss — fond noir granuleux, Montserrat en capitales espacées, titres deux tons gris / ocre. Entièrement éditable dans Gutenberg.
Version: 1.0.7
Requires at least: 6.6
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: djmadiss
Tags: block-theme, full-site-editing, one-column, dark
*/

:root {
  --noir: #0b0b0b;
  --encre: #121212;
  --filet: #3a3a3a;
  --gris: #8e8e8e;
  --gris-clair: #b4b4b4;
  --blanc: #ededed;
  --ocre: #cc7722;
  --jaune: #f4c430;
  --sans: 'Montserrat', system-ui, sans-serif;
  --script: 'Mrs Saint Delafield', cursive;
}

/* ---------- socle ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--noir); color: var(--gris); font: 400 15px/1.9 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .07; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { text-wrap: balance; hyphens: none; }

/* Espacement automatique de Gutenberg : coupé dans theme.json (blockGap 0),
   filet de sécurité ici à spécificité nulle — jamais en .wp-block-group > *. */
:where(.wp-block-group) > :where(*), :where(.wp-block-buttons) { margin-block: 0; }
figure.wp-block-image { margin: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }
.wp-site-blocks { padding: 0; }

.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
.colonne { width: min(900px, 100% - 32px); margin-inline: auto; }

/* ---------- langues : variantes présentes dans la page, le script bascule la classe de <html> ---------- */
html:not(.langue-en) .lang-en,
html:not(.langue-pt) .lang-pt,
html.langue-en .lang-fr,
html.langue-pt .lang-fr { display: none !important; }

/* ---------- en-tête ---------- */
.entete { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 22px; padding: 24px 44px; transition: background .4s, padding .4s; }
.admin-bar .entete { top: 32px; }
.entete.colle { background: rgba(11, 11, 11, .94); padding-block: 14px; }
.logo { margin-right: auto; font-weight: 600; font-size: 26px; line-height: 1.2; letter-spacing: -.01em; color: #fff; }
.entete-icones { display: flex; gap: 14px; line-height: 1; }
.entete-icones a { display: block; width: 18px; height: 18px; font-size: 0; }
.entete-icones a::before { width: 18px; height: 18px; background: #fff; }
.langues { display: flex; gap: 8px; line-height: 1; }
.langues a { display: block; width: 22px; height: 15px; font-size: 0; opacity: .4; background: center / cover no-repeat; transition: opacity .2s; }
.langues a.actif, .langues a:hover { opacity: 1; }
.langues a[href="#fr"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2'%3E%3Cpath fill='%23002654' d='M0 0h1v2H0z'/%3E%3Cpath fill='%23fff' d='M1 0h1v2H1z'/%3E%3Cpath fill='%23ce1126' d='M2 0h1v2H2z'/%3E%3C/svg%3E"); }
.langues a[href="#en"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Cpath fill='%23012169' d='M0 0h60v40H0z'/%3E%3Cpath stroke='%23fff' stroke-width='8' d='m0 0 60 40M60 0 0 40'/%3E%3Cpath stroke='%23c8102e' stroke-width='3' d='m0 0 60 40M60 0 0 40'/%3E%3Cpath stroke='%23fff' stroke-width='12' d='M30 0v40M0 20h60'/%3E%3Cpath stroke='%23c8102e' stroke-width='7' d='M30 0v40M0 20h60'/%3E%3C/svg%3E"); }
.langues a[href="#pt"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20'%3E%3Cpath fill='%23060' d='M0 0h12v20H0z'/%3E%3Cpath fill='%23f00' d='M12 0h18v20H12z'/%3E%3Ccircle cx='12' cy='10' r='4' fill='%23ff0'/%3E%3Ccircle cx='12' cy='10' r='2.6' fill='%23f00'/%3E%3C/svg%3E"); }

/* menu : core/navigation en panneau plein écran */
.nav .wp-block-navigation__responsive-container-open { width: 26px; height: 26px; color: #fff; }
.nav .wp-block-navigation__responsive-container-open svg { width: 28px; height: 28px; }
.wp-block-navigation.nav .wp-block-navigation__responsive-container.is-menu-open {
  background-color: rgba(11, 11, 11, .97) !important; color: var(--gris-clair) !important;
}
.nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { align-items: center; justify-content: center; }
.nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { align-items: center; gap: 22px; }
.nav .wp-block-navigation__responsive-container-close { color: #fff; }
.nav .wp-block-navigation__responsive-container-close svg { width: 30px; height: 30px; }
.nav .wp-block-navigation-item__content { font-size: 28px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; transition: color .2s; }
.nav .wp-block-navigation-item__content:hover { color: var(--ocre); }
.nav .nav-page .wp-block-navigation-item__content { font-size: 14px; letter-spacing: .4em; color: var(--gris); }
.nav .nav-premiere { margin-top: 20px; }

/* ---------- icônes : masques CSS (aucun SVG dans le contenu) ---------- */
.reseaux a::before, .entete-icones a::before { content: ""; display: block; flex: none; -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; }
.reseaux a[href*="soundcloud"]::before, .entete-icones a[href*="soundcloud"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M2 21.5c0 1.4.6 2.5 1.5 3V18c-.9.6-1.5 2-1.5 3.5Zm3 3.4h1.2v-8H5v8Zm2.6 0h1.2V15.6H7.6v9.3Zm2.6 0h1.2V13.4h-1.2v11.5Zm2.6 0H14V11.6h-1.2v13.3Zm2.6 0h11.3a4.8 4.8 0 0 0 0-9.6c-.6 0-1.2.1-1.7.3A7.4 7.4 0 0 0 16 9.2c-.3 0-.5.1-.6.3v15.4Z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M2 21.5c0 1.4.6 2.5 1.5 3V18c-.9.6-1.5 2-1.5 3.5Zm3 3.4h1.2v-8H5v8Zm2.6 0h1.2V15.6H7.6v9.3Zm2.6 0h1.2V13.4h-1.2v11.5Zm2.6 0H14V11.6h-1.2v13.3Zm2.6 0h11.3a4.8 4.8 0 0 0 0-9.6c-.6 0-1.2.1-1.7.3A7.4 7.4 0 0 0 16 9.2c-.3 0-.5.1-.6.3v15.4Z'/%3E%3C/svg%3E"); }
.reseaux a[href*="instagram"]::before, .entete-icones a[href*="instagram"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 5.9c3.3 0 3.7 0 5 .1 3.3.1 4.9 1.7 5 5 .1 1.3.1 1.7.1 5s0 3.7-.1 5c-.1 3.3-1.7 4.9-5 5-1.3.1-1.7.1-5 .1s-3.7 0-5-.1c-3.3-.1-4.9-1.7-5-5-.1-1.3-.1-1.7-.1-5s0-3.7.1-5c.1-3.3 1.7-4.9 5-5 1.3-.1 1.7-.1 5-.1ZM16 4c-3.3 0-3.7 0-5 .1C6.6 4.3 4.3 6.6 4.1 11 4 12.3 4 12.700 4 16s0 3.7.1 5c.2 4.4 2.5 6.7 6.9 6.9 1.3.1 1.7.1 5 .1s3.7 0 5-.1c4.4-.2 6.7-2.5 6.9-6.9.1-1.3.1-1.7.1-5s0-3.7-.1-5C27.7 6.6 25.4 4.3 21 4.1 19.7 4 19.3 4 16 4Zm0 5.8a6.2 6.2 0 1 0 0 12.4 6.2 6.2 0 0 0 0-12.4Zm0 10.2a4 4 0 1 1 0-8 4 4 0 0 1 0 8Zm6.4-11.9a1.4 1.4 0 1 0 0 2.9 1.4 1.4 0 0 0 0-2.9Z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 5.9c3.3 0 3.7 0 5 .1 3.3.1 4.9 1.7 5 5 .1 1.3.1 1.7.1 5s0 3.7-.1 5c-.1 3.3-1.7 4.9-5 5-1.3.1-1.7.1-5 .1s-3.7 0-5-.1c-3.3-.1-4.9-1.7-5-5-.1-1.3-.1-1.7-.1-5s0-3.7.1-5c.1-3.3 1.7-4.9 5-5 1.3-.1 1.7-.1 5-.1ZM16 4c-3.3 0-3.7 0-5 .1C6.6 4.3 4.3 6.6 4.1 11 4 12.3 4 12.700 4 16s0 3.7.1 5c.2 4.4 2.5 6.7 6.9 6.9 1.3.1 1.7.1 5 .1s3.7 0 5-.1c4.4-.2 6.7-2.5 6.9-6.9.1-1.3.1-1.7.1-5s0-3.7-.1-5C27.7 6.6 25.4 4.3 21 4.1 19.7 4 19.3 4 16 4Zm0 5.8a6.2 6.2 0 1 0 0 12.4 6.2 6.2 0 0 0 0-12.4Zm0 10.2a4 4 0 1 1 0-8 4 4 0 0 1 0 8Zm6.4-11.9a1.4 1.4 0 1 0 0 2.9 1.4 1.4 0 0 0 0-2.9Z'/%3E%3C/svg%3E"); }
.reseaux a[href*="facebook"]::before, .entete-icones a[href*="facebook"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M28 16a12 12 0 1 0-13.9 11.9v-8.4h-3V16h3v-2.6c0-3 1.8-4.7 4.5-4.7 1.300 0 2.7.2 2.7.2v3h-1.5c-1.5 0-2 .9-2 1.9V16h3.3l-.5 3.5h-2.8v8.4A12 12 0 0 0 28 16Z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M28 16a12 12 0 1 0-13.9 11.9v-8.4h-3V16h3v-2.6c0-3 1.8-4.7 4.5-4.7 1.300 0 2.7.2 2.7.2v3h-1.5c-1.5 0-2 .9-2 1.9V16h3.3l-.5 3.5h-2.8v8.4A12 12 0 0 0 28 16Z'/%3E%3C/svg%3E"); }
.reseaux a[href*="youtube"]::before, .entete-icones a[href*="youtube"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M28.4 10.2a3.1 3.1 0 0 0-2.2-2.2C24.3 7.5 16 7.5 16 7.5s-8.3 0-10.2.5a3.1 3.1 0 0 0-2.2 2.2C3 12.1 3 16 3 16s0 3.9.6 5.8a3.1 3.1 0 0 0 2.2 2.2c1.9.5 10.2.5 10.2.5s8.3 0 10.2-.5a3.1 3.1 0 0 0 2.2-2.2c.6-1.9.6-5.8.6-5.8s0-3.9-.6-5.8ZM13.4 19.6v-7.2l6.9 3.6-6.9 3.6Z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M28.4 10.2a3.1 3.1 0 0 0-2.2-2.2C24.3 7.5 16 7.5 16 7.5s-8.3 0-10.2.5a3.1 3.1 0 0 0-2.2 2.2C3 12.1 3 16 3 16s0 3.9.6 5.8a3.1 3.1 0 0 0 2.2 2.2c1.9.5 10.2.5 10.2.5s8.3 0 10.2-.5a3.1 3.1 0 0 0 2.2-2.2c.6-1.9.6-5.8.6-5.8s0-3.9-.6-5.8ZM13.4 19.6v-7.2l6.9 3.6-6.9 3.6Z'/%3E%3C/svg%3E"); }

/* ---------- héros ---------- */
.heros { position: relative; height: 100svh; min-height: 640px; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; }
.heros-photo { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: min(100%, 1100px); height: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent); }
.heros-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 36%; filter: brightness(1.3) contrast(1.05); }
.heros::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 11, 11, .1) 0%, rgba(11, 11, 11, 0) 35%, rgba(11, 11, 11, .75) 75%, var(--noir) 100%); pointer-events: none; }
.heros-titre { position: relative; z-index: 2; margin: 0 0 12vh .2em; font-size: clamp(76px, 13vw, 200px); font-weight: 500; line-height: 1; letter-spacing: .2em; color: var(--ocre); }

/* ---------- réseaux ---------- */
.reseaux { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 50px; }
.reseaux a { display: inline-flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 500; letter-spacing: .18em; line-height: 1.9; text-transform: uppercase; color: var(--ocre); transition: color .2s; }
.reseaux a:hover { color: var(--jaune); }
.reseaux a::before { width: 20px; height: 20px; background: currentColor; }
.heros-reseaux { position: relative; z-index: 3; margin: -7vh auto 0; max-width: 560px; padding: 0 16px; }

/* ---------- sections, titres deux tons ---------- */
.section { padding: 150px 0 40px; }
.st { text-align: center; font-size: clamp(30px, 4vw, 44px); font-weight: 500; letter-spacing: .14em; line-height: 1.2; text-transform: uppercase; color: var(--gris-clair); margin-bottom: 90px; }
.st em, .bio-nom em { font-style: normal; color: var(--ocre); }
.st::after { content: ""; display: block; width: 18px; height: 2px; background: var(--gris-clair); margin: 34px auto 0; }

/* ---------- bio ---------- */
.bio-nom { text-align: center; font-size: clamp(40px, 5vw, 60px); font-weight: 500; line-height: 1.05; letter-spacing: .1em; text-transform: uppercase; color: var(--gris-clair); }
.bio-role { text-align: center; margin: 22px 0 60px; font-size: 14px; font-weight: 600; letter-spacing: .4em; text-transform: uppercase; color: var(--blanc); }
.bio-texte { max-width: 720px; margin-inline: auto; border-left: 1px dashed #4a4a4a; padding-left: 32px; }
.bio-texte p { text-transform: uppercase; font-size: 15px; line-height: 2.2; letter-spacing: .02em; }
.bio-texte p + p { margin-top: 18px; }
.bio-texte .lang-fr + .lang-en, .bio-texte .lang-en + .lang-pt, .bio-texte .lang-fr + .lang-pt { margin-top: 0; }
.bio-texte strong { color: var(--blanc); font-weight: 600; }

/* ---------- pochettes (singles, mixtapes) ---------- */
.pochettes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.pochette { position: relative; aspect-ratio: 1; overflow: hidden; background: #000; text-align: center; cursor: pointer; }
.pochette .wp-block-image { position: absolute; inset: 0; }
.pochette img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: transform 1s, opacity .4s; }
.pochette:hover img { transform: scale(1.05); opacity: .6; }
.pochette-titre { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); font-size: 20px; font-weight: 400; line-height: 1.9; letter-spacing: .6em; padding-left: .6em; text-transform: uppercase; color: rgba(255, 255, 255, .88); }
.pochette-genre, .pochette .wp-block-audio { display: none; }
.pochette::after {
  content: ""; position: absolute; left: 50%; bottom: 14%; transform: translateX(-50%); width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .6); opacity: 0; transition: opacity .3s, background-color .3s, border-color .3s;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23fff' d='M3 1.5v13l11-6.5z'/%3E%3C/svg%3E") 54% 50% / 14px no-repeat;
}
.pochette:hover::after, .pochette.en-cours::after { opacity: 1; }
.pochette.en-cours::after { background-color: var(--jaune); border-color: var(--jaune); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23111' d='M3 1.5h3.5v13H3zm6.5 0H13v13H9.5z'/%3E%3C/svg%3E"); background-position: 50% 50%; }
.mix-meta { margin-top: 16px; text-align: center; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; }
.mixes { row-gap: 64px; }

/* ---------- cartes à filet (actus, événements) ---------- */
.actus .wp-block-post-template, .dates { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.carte { border: 1px solid var(--filet); }
.carte-corps { padding: 38px 40px; }
.carte-date { font-size: 13px; color: var(--gris); }
.carte-date strong, .carte-jour { font-size: 30px; font-weight: 600; color: var(--ocre); margin-right: 8px; letter-spacing: .02em; }
.carte-date .wp-block-post-date { display: inline; }
.carte-mois { text-transform: capitalize; }
.carte h3, .carte .wp-block-post-title { margin-top: 4px; font-size: 30px; font-weight: 500; line-height: 1.25; letter-spacing: .1em; text-transform: uppercase; color: var(--ocre); }
.carte .wp-block-post-title a { color: inherit; }
.carte-lieu, .carte .wp-block-post-excerpt { margin-top: 8px; font-size: 14px; line-height: 1.7; color: var(--gris-clair); }
.carte .wp-block-post-excerpt__excerpt { margin: 0; }
.carte-boutons { display: flex; gap: 8px; margin-top: 46px; }
.actu { display: grid; grid-template-columns: 300px 1fr; }
.actu .wp-block-post-featured-image { margin: 0; }
.actu .wp-block-post-featured-image img { width: 100%; height: 230px; object-fit: cover; }
.actu .carte-corps { align-self: center; }
.actu .wp-block-post-title { font-size: 22px; }

/* ---------- boutons gris pleins ---------- */
.wp-block-button__link, .wpcf7-submit {
  display: inline-block; padding: 9px 22px; border: 0; border-radius: 0; background: #a3a3a3; color: #1d1d1d;
  font: 500 12px/1.9 var(--sans); letter-spacing: .04em; text-transform: uppercase; cursor: pointer; transition: background .25s;
}
.wp-block-button__link:hover, .wpcf7-submit:hover { background: var(--jaune); color: #1d1d1d; }

/* ---------- galerie : deux colonnes décalées ---------- */
.galerie { columns: 2; column-gap: 24px; max-width: 760px; margin-inline: auto; }
.galerie .wp-block-image { display: block; margin-bottom: 24px; break-inside: avoid; background: #000; overflow: hidden; }
.galerie img { width: 100%; transition: transform .8s, opacity .4s; }
.galerie .wp-block-image:hover img { transform: scale(1.03); opacity: .85; }
.galerie .wp-block-image:nth-child(4) { margin-top: 70px; }

/* ---------- contact (Contact Form 7) ---------- */
.contact-zone { position: relative; }
.contact-zone .wpcf7 form > p, .contact .wpcf7-form-control-wrap { display: block; margin: 0; }
.contact { display: grid; gap: 14px; }
.contact input:not([type=submit]), .contact textarea { display: block; width: 100%; padding: 16px 18px; background: transparent; border: 1px solid var(--filet); border-radius: 0; color: var(--blanc); font: 400 14px var(--sans); letter-spacing: .04em; outline: none; transition: border-color .25s; }
.contact input::placeholder, .contact textarea::placeholder { color: var(--gris); text-transform: uppercase; letter-spacing: .14em; font-size: 12px; }
.contact input:focus, .contact textarea:focus { border-color: var(--ocre); }
.contact textarea { resize: vertical; height: auto; }
.contact-pied { display: flex; align-items: center; gap: 20px; margin-top: 10px; }
.contact-mail { position: absolute; right: 0; bottom: 6px; font-size: 14px; letter-spacing: .12em; color: var(--ocre); }
.wpcf7-spinner { display: none; }
.wpcf7-not-valid-tip { color: var(--jaune); font-size: 12px; margin-top: 6px; }
.wpcf7 form .wpcf7-response-output { margin: 18px 0 0; padding: 12px 16px; border: 1px solid var(--filet); color: var(--blanc); font-size: 13px; }

/* ---------- final ---------- */
.final { margin-top: 150px; }
.final-photo img { width: 100%; height: 72vh; min-height: 420px; object-fit: cover; object-position: 50% 40%; filter: grayscale(1) brightness(.65) contrast(1.1); }
.final-merci { padding: 110px 16px 40px; text-align: center; }
.final-texte { font-size: 12px; letter-spacing: .6em; text-transform: uppercase; color: var(--gris); }
.signature { font-family: var(--script); font-size: clamp(110px, 13vw, 180px); line-height: 1.2; color: var(--gris-clair); }
.pied { padding: 60px 16px 120px; text-align: center; }
.pied-copie { margin-top: 90px; font-size: 12px; letter-spacing: .45em; text-transform: uppercase; color: var(--gris); }

/* ---------- pages internes ---------- */
.page-heros { height: 66svh; min-height: 460px; }
.page-heros .heros-photo img { object-position: 50% 50%; filter: brightness(.8) contrast(1.05); }
.page-heros .heros-titre { font-size: clamp(54px, 9vw, 140px); margin-bottom: 9vh; }
.page-intro { width: min(640px, 100% - 32px); margin: -2vh auto 0; position: relative; z-index: 3; text-align: center; font-size: 13px; line-height: 2; letter-spacing: .3em; text-transform: uppercase; color: var(--blanc); }
.page-sec { padding: 120px 0 40px; }
.page-simple { padding: 180px 0 80px; }

/* ---------- lecteur fixe ---------- */
.lecteur { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 260px 1fr auto; align-items: center; gap: 28px; padding: 12px 44px; background: rgba(8, 8, 8, .97); border-top: 1px solid #262626; transform: translateY(100%); transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.lecteur.visible { transform: none; }
.lecteur-titre { display: flex; align-items: center; gap: 14px; min-width: 0; }
.lecteur-cover { width: 48px; height: 48px; flex: none; background: #222 center / cover; }
.lecteur-nom { font-size: 13px; font-weight: 600; line-height: 1.5; letter-spacing: .2em; text-transform: uppercase; color: var(--blanc); white-space: nowrap; }
.lecteur-genre { font-size: 11px; line-height: 1.5; letter-spacing: .15em; text-transform: uppercase; }
.lecteur-piste { display: flex; align-items: center; gap: 14px; font-size: 11px; font-variant-numeric: tabular-nums; }
.lecteur-barre { flex: 1; height: 3px; background: linear-gradient(var(--jaune), var(--jaune)) 0 0 / var(--avance, 0%) 100% no-repeat, #333; cursor: pointer; }
.lecteur-cmd { display: flex; align-items: center; gap: 8px; }
.lecteur-cmd p { width: 36px; height: 36px; cursor: pointer; background: var(--gris-clair); -webkit-mask: center / 15px no-repeat; mask: center / 15px no-repeat; }
.lecteur-cmd .prec { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 2h2v12H2zm2.5 6L14 14V2z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 2h2v12H2zm2.5 6L14 14V2z'/%3E%3C/svg%3E"); }
.lecteur-cmd .suiv { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M12 2h2v12h-2zm-.5 6L2 14V2z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M12 2h2v12h-2zm-.5 6L2 14V2z'/%3E%3C/svg%3E"); }
.lecteur-cmd .lire { width: 44px; height: 44px; border-radius: 50%; -webkit-mask: none; mask: none; background: var(--jaune) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23111' d='M3 1.5v13l11-6.5z'/%3E%3C/svg%3E") 55% 50% / 15px no-repeat; }
.lecteur.joue .lecteur-cmd .lire { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23111' d='M3 1.5h3.5v13H3zm6.5 0H13v13H9.5z'/%3E%3C/svg%3E"); background-position: 50% 50%; }

/* ---------- chat / app ---------- */
.bulle { position: fixed; right: 26px; bottom: 26px; z-index: 70; width: 54px; height: 54px; border-radius: 50%; cursor: pointer; transition: bottom .45s, background-color .2s;
  background: var(--ocre) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23111' d='M4 3h16a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H9l-5 4v-4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2Zm3 6v2h10V9H7Zm0 4v2h7v-2H7Z'/%3E%3C/svg%3E") center / 22px no-repeat; }
.bulle:hover { background-color: var(--jaune); }
.lecteur-ouvert .bulle { bottom: 96px; }
.panneau { position: fixed; right: 26px; bottom: 94px; z-index: 70; width: 330px; max-height: calc(100vh - 120px); overflow: auto; background: var(--encre); border: 1px solid var(--filet); padding: 26px; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s, transform .3s, bottom .45s; }
.lecteur-ouvert .panneau { bottom: 164px; }
.panneau.ouvert { opacity: 1; transform: none; pointer-events: auto; }
.panneau-titre { font-size: 14px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--ocre); }
.panneau-texte { font-size: 13px; line-height: 1.7; margin: 8px 0 16px !important; }
.panneau .wpcf7 form > p, .panneau .wpcf7-form-control-wrap { display: block; margin: 0; }
.panneau input:not([type=submit]), .panneau textarea { display: block; width: 100%; background: var(--noir); border: 1px solid var(--filet); border-radius: 0; color: var(--blanc); font: 14px var(--sans); padding: 11px; margin-bottom: 8px; outline: none; }
.panneau textarea { height: 86px; resize: none; }
.panneau .wpcf7-submit { width: 100%; }
.panneau-app { display: flex; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--filet); }
.panneau-app p { flex: 1; padding: 9px 4px; text-align: center; cursor: pointer; font-size: 10px; font-weight: 600; line-height: 1.5; letter-spacing: .14em; text-transform: uppercase; color: var(--gris-clair); box-shadow: inset 0 0 0 1px #444; }
.panneau-app p:hover { color: var(--jaune); box-shadow: inset 0 0 0 1px var(--jaune); }

/* ---------- apparition (seulement si le script tourne) ---------- */
.js .apparait { opacity: 0; transform: translateY(36px); transition: opacity 1s, transform 1s cubic-bezier(.2, .8, .2, 1); }
.js .apparait.vu { opacity: 1; transform: none; }

:where(a, [role=button], input, textarea):focus-visible { outline: 2px solid var(--jaune); outline-offset: 3px; }

/* ---------- mobile ---------- */
@media (max-width: 782px) { .admin-bar .entete { top: 46px; } }
@media (max-width: 760px) {
  .entete { padding: 18px 16px; gap: 14px; }
  .logo { font-size: 22px; }
  .entete-icones { gap: 10px; }
  .entete-icones a, .entete-icones a::before { width: 15px; height: 15px; }
  .nav .wp-block-navigation-item__content { font-size: 22px; }
  .heros { min-height: 560px; height: 88svh; }
  .heros-titre { font-size: 16vw; letter-spacing: .14em; margin: 0 0 12vh .14em; }
  .heros-reseaux { gap: 14px 30px; }
  .reseaux a { font-size: 12px; gap: 10px; }
  .section { padding: 110px 0 20px; }
  .page-sec { padding-bottom: 20px; }
  .st { margin-bottom: 60px; }
  .bio-role { font-size: 11px; letter-spacing: .3em; }
  .bio-texte { padding-left: 18px; }
  .bio-texte p { font-size: 13px; }
  .pochettes { grid-template-columns: 1fr; gap: 40px; max-width: 340px; margin-inline: auto; }
  .pochette::after { opacity: 1; }
  .carte-corps { padding: 28px 18px; }
  .carte h3, .carte .wp-block-post-title { font-size: 22px; }
  .carte-boutons { margin-top: 34px; }
  .actu { grid-template-columns: 1fr; }
  .actu .wp-block-post-featured-image img { height: auto; aspect-ratio: 16/9; }
  .galerie { column-gap: 12px; }
  .galerie .wp-block-image { margin-bottom: 12px; }
  .galerie .wp-block-image:nth-child(4) { margin-top: 40px; }
  .contact-mail { position: static; margin-top: 18px; }
  .final { margin-top: 110px; }
  .final-photo img { height: 50vh; }
  .final-texte { letter-spacing: .4em; font-size: 10px; }
  .pied-copie { letter-spacing: .25em; font-size: 10px; }
  .page-heros { height: 52svh; min-height: 380px; }
  .page-heros .heros-titre { font-size: 13vw; }
  .page-intro { font-size: 11px; letter-spacing: .2em; }
  .lecteur { grid-template-columns: 1fr auto; padding: 10px 16px; gap: 10px 14px; }
  .lecteur-piste { grid-column: 1 / -1; order: 3; }
  .lecteur-cmd .prec, .lecteur-cmd .suiv { display: none; }
  .bulle { right: 16px; bottom: 16px; }
  .lecteur-ouvert .bulle { bottom: 128px; }
  .panneau { left: 16px; right: 16px; width: auto; bottom: 82px; }
  .lecteur-ouvert .panneau { bottom: 194px; }
}

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* ---------- articles et pages simples ---------- */
.article-image img { width: 100%; max-height: 520px; object-fit: cover; }
.article-date { margin: 30px 0 20px; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--ocre); }
.article-corps p { margin-bottom: 1.2em; color: var(--gris-clair); }
