/* Fnan.ma | فنان — feuille de style unique. Mobile d'abord ; propriétés logiques (inline-start / end)
   pour que la mise en page se retourne d'elle-même en arabe (dir="rtl"). */

:root {
  --fond: #F6F3EE;
  --surface: #FFFFFF;
  --surface-2: #EEE9E1;
  --encre: #17140F;
  --encre-2: #5C554B;
  --encre-3: #8B8378;
  --ligne: #E2DCD2;
  --ligne-forte: #CFC7BA;
  --accent: #E0452B;          /* vermillon « révélateur » */
  --accent-fonce: #B5321B;
  --accent-pale: #FBE6E1;
  --or: #A47B22;
  --or-pale: #F6EBD3;
  --photographe: #2F56D9;
  --peintre: #C2691A;
  --acteur: #A3264A;
  --whatsapp: #128C4A;
  --ok: #17794A;
  --rayon: 16px;
  --rayon-m: 12px;
  --rayon-s: 8px;
  --ombre: 0 1px 2px rgb(23 20 15 / .05), 0 10px 30px -14px rgb(23 20 15 / .22);
  --ombre-forte: 0 2px 4px rgb(23 20 15 / .06), 0 24px 48px -20px rgb(23 20 15 / .35);
  --police: 'Readex Pro', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --entete: 64px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--entete) + 12px); }
body { margin: 0; background: var(--fond); color: var(--encre); font: 400 16px/1.55 var(--police); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
[dir="rtl"] body { line-height: 1.7; }
img, svg, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.022em; text-wrap: balance; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: 0; line-height: 1.35; }
h1 { font-size: clamp(2rem, 1.3rem + 3.2vw, 3.6rem); }
h2 { font-size: clamp(1.35rem, 1.1rem + 1.2vw, 2rem); }
h3 { font-size: 1.08rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--accent); color: #fff; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.saut { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--encre); color: #fff; padding: 10px 14px; border-radius: var(--rayon-s); z-index: 100; }
.saut:focus { top: 10px; }
.enveloppe { width: 100%; max-width: 1220px; margin-inline: auto; padding-inline: 20px; }
.enveloppe--etroite { max-width: 720px; }
.enveloppe--moyenne { max-width: 900px; }
.section { padding-block: 40px; }
@media (min-width: 900px) { .section { padding-block: 64px; } .enveloppe { padding-inline: 32px; } }
.section--teinte { background: var(--surface-2); }
.section--sombre { background: var(--encre); color: #F3EEE6; }
.section--sombre .chapo { color: #BDB4A7; }
.section-tete { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.section-tete h2 { margin: 0; }
.section-tete--centre { flex-direction: column; align-items: center; text-align: center; }
.centre { text-align: center; }
.surtitre { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--encre-2); margin-bottom: 10px; }
[dir="rtl"] .surtitre { letter-spacing: 0; text-transform: none; font-size: .9rem; }
.surtitre--marque { text-transform: none; letter-spacing: .02em; font-size: .92rem; color: var(--encre); }
.chapo { font-size: clamp(1.02rem, .95rem + .4vw, 1.2rem); color: var(--encre-2); max-width: 62ch; }

/* ---------- Icônes ---------- */
.ic { width: 1.15em; height: 1.15em; flex: none; }
.ic--retour { transform: scaleX(-1); }
[dir="rtl"] .ic-fleche { transform: scaleX(-1); }
[dir="rtl"] .ic--retour { transform: none; }

/* ---------- Boutons ---------- */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--encre); background: var(--encre); color: #fff; font-weight: 500; font-size: .95rem; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; white-space: nowrap; }
.bouton:hover { background: #33302A; border-color: #33302A; }
.bouton:active { transform: translateY(1px); }
.bouton--plein { background: var(--accent); border-color: var(--accent); }
.bouton--plein:hover { background: var(--accent-fonce); border-color: var(--accent-fonce); }
.bouton--contour { background: transparent; color: var(--encre); border-color: var(--ligne-forte); }
.bouton--contour:hover { background: var(--surface); border-color: var(--encre); }
.bouton--petit { min-height: 36px; padding: 6px 14px; font-size: .88rem; }
.bouton--grand { min-height: 52px; padding: 12px 24px; font-size: 1.02rem; }
.bouton--large { width: 100%; }
.bouton--whatsapp { background: var(--whatsapp); border-color: var(--whatsapp); }
.bouton--whatsapp:hover { background: #0D703B; border-color: #0D703B; }
.section--sombre .bouton--contour { color: #fff; border-color: #5A544B; }
.section--sombre .bouton--contour:hover { background: #fff; color: var(--encre); }
.bouton-icone { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; border: 1px solid transparent; background: transparent; cursor: pointer; text-decoration: none; font-size: 1.05rem; }
.bouton-icone:hover { background: var(--surface-2); }
.bouton-icone--danger { color: var(--accent-fonce); }
.lien-discret { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; color: var(--encre-2); cursor: pointer; padding: 8px 0; }
.lien-discret:hover { color: var(--encre); text-decoration: underline; }
.lien-fleche { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none; }
.lien-fleche:hover { text-decoration: underline; }
.lien-fleche--clair { color: #fff; }
.retour { display: inline-flex; align-items: center; gap: 6px; color: var(--encre-2); text-decoration: none; font-size: .92rem; margin-block: 20px 14px; }
.retour:hover { color: var(--encre); }

/* ---------- En-tête ---------- */
.entete { position: sticky; top: 0; z-index: 40; background: rgb(246 243 238 / .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--ligne); }
.entete-ligne { display: flex; align-items: center; gap: 16px; height: var(--entete); }
.logo { text-decoration: none; color: var(--encre); flex: none; }
/* Marque « Fnan.ma | فنان » : toujours dans ce sens de lecture, même sur les pages en arabe. */
.marque { display: inline-flex; align-items: center; gap: .36em; direction: ltr; unicode-bidi: isolate; font-weight: 700; font-size: 1.3rem; line-height: 1; letter-spacing: -.03em; white-space: nowrap; color: inherit; }
.marque .symbole { width: 1.32em; height: 1.32em; flex: none; color: currentColor; }
.marque-ma { color: var(--encre-3); font-weight: 400; }
.marque-sep { width: 1.5px; height: 1.05em; background: currentColor; opacity: .32; margin-inline: .1em; }
.marque-arabe { height: 1.18em; width: auto; margin-top: -.18em; }
.symbole { color: var(--encre); }
.nav-principale { display: none; }
.entete-actions { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; }
.bascule-langue { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--ligne-forte); text-decoration: none; font-size: .9rem; font-weight: 500; }
.bascule-langue:hover { background: var(--surface); border-color: var(--encre); }
.bascule-langue[lang="ar"] { font-size: .98rem; }
.lien-connexion, .entete-actions > .bouton { display: none; }
.compte { position: relative; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; padding: 3px; border-radius: 999px; }
.compte-nom { display: none; font-weight: 500; font-size: .92rem; padding-inline-end: 8px; }
.pastille-notif { position: absolute; top: -2px; inset-inline-end: -2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: #fff; font-size: .7rem; font-weight: 600; display: grid; place-items: center; }
.menu-mobile { position: relative; }
.menu-mobile > summary { list-style: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 999px; cursor: pointer; }
.menu-mobile > summary::-webkit-details-marker { display: none; }
.menu-mobile > summary:hover { background: var(--surface-2); }
.menu-tiroir { position: fixed; inset: var(--entete) 0 auto 0; background: var(--fond); border-bottom: 1px solid var(--ligne); padding: 12px 20px 22px; box-shadow: var(--ombre-forte); max-height: calc(100dvh - var(--entete)); overflow: auto; }
.nav-mobile { display: grid; gap: 2px; }
.nav-mobile a { display: flex; align-items: center; gap: 12px; padding: 14px 8px; text-decoration: none; font-size: 1.08rem; font-weight: 500; border-bottom: 1px solid var(--ligne); }
.nav-mobile a[aria-current] { color: var(--accent-fonce); }
.menu-pied { display: grid; gap: 10px; margin-top: 18px; }
@media (min-width: 640px) {
  .lien-connexion { display: inline-flex; white-space: nowrap; padding: 8px 10px; text-decoration: none; font-weight: 500; font-size: .92rem; }
  .entete-actions > .bouton { display: inline-flex; }
}
@media (min-width: 1240px) {
  .nav-principale { display: flex; gap: 2px; margin-inline-start: 18px; }
  .nav-principale a { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; padding: 8px 12px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .93rem; color: var(--encre-2); }
  .nav-principale a:hover { background: var(--surface); color: var(--encre); }
  .nav-principale a[aria-current] { color: var(--encre); background: var(--surface); box-shadow: inset 0 0 0 1px var(--ligne); }
  .nav-principale .ic { width: 1.05em; height: 1.05em; opacity: .7; }
  .menu-mobile { display: none; }
  .compte-nom { display: inline; }
}

/* ---------- Pied ---------- */
.pied { background: var(--encre); color: #CFC7BB; margin-top: 40px; padding-block: 48px 26px; }
.pied .logo { color: #fff; }
.pied .marque { font-size: 1.45rem; --lettre: var(--encre); }
.pied .marque-ma { color: #8E8579; }
.pied-grille { display: grid; gap: 30px; grid-template-columns: 1fr 1fr; }
.pied-marque { grid-column: 1 / -1; }
.pied-marque p { margin-top: 12px; max-width: 40ch; color: #A69D90; }
.pied-grille > div:not(.pied-marque) { display: grid; gap: 8px; align-content: start; }
.pied-grille a { text-decoration: none; }
.pied-grille a:hover { color: #fff; text-decoration: underline; }
.pied-titre { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: #8E8579; margin-bottom: 4px; font-weight: 500; }
.pied .bascule-langue { border-color: #4A443C; justify-self: start; }
.pied-bas { margin-top: 36px; padding-top: 18px; border-top: 1px solid #2E2A24; font-size: .85rem; color: #8E8579; }
@media (min-width: 800px) { .pied-grille { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .pied-marque { grid-column: auto; } }

/* ---------- Avatars, badges ---------- */
.avatar { border-radius: 50%; object-fit: cover; flex: none; background: var(--surface-2); }
.avatar--mini { width: 34px; height: 34px; }
.avatar--petit { width: 42px; height: 42px; }
.avatar--moyen { width: 56px; height: 56px; }
.avatar--grand { width: 112px; height: 112px; border: 4px solid var(--fond); }
.avatar--lettres { display: inline-grid; place-items: center; background: var(--teinte); color: #fff; font-weight: 600; letter-spacing: .02em; }
.avatar--mini.avatar--lettres { font-size: .78rem; }
.avatar--petit.avatar--lettres { font-size: .9rem; }
.avatar--grand.avatar--lettres { font-size: 2.2rem; }
.certifie { display: inline-flex; vertical-align: -.12em; color: var(--photographe); }
.certifie .ic { width: 1.05em; height: 1.05em; fill: currentColor; stroke: #fff; }
.mention-certifie { font-size: .82rem; color: var(--photographe); font-weight: 500; }
.puce-univers { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 500; padding: 3px 10px 3px 8px; border-radius: 999px; background: color-mix(in srgb, var(--couleur) 10%, white); color: color-mix(in srgb, var(--couleur) 85%, black); }
.puce-univers--photographe { --couleur: var(--photographe); }
.puce-univers--peintre { --couleur: var(--peintre); }
.puce-univers--acteur { --couleur: var(--acteur); }
.etiquette-avant, .etiquette-demo, .etiquette-vendu, .etiquette-avant-premiere { display: inline-block; font-size: .72rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; letter-spacing: .02em; }
.etiquette-avant { position: absolute; top: 10px; inset-inline-start: 10px; background: rgb(23 20 15 / .78); color: #F6EBD3; backdrop-filter: blur(6px); }
.etiquette-demo { background: var(--surface-2); color: var(--encre-2); border: 1px dashed var(--ligne-forte); }
.etiquette-vendu { position: absolute; top: 10px; inset-inline-end: 10px; background: var(--encre); color: #fff; }
.etiquette-avant-premiere { position: absolute; top: -10px; inset-inline-end: 14px; z-index: 2; background: var(--or); color: #fff; }
.statut { display: inline-block; font-size: .8rem; font-weight: 500; padding: 2px 10px; border-radius: 999px; background: var(--surface-2); color: var(--encre-2); }
.statut--disponible, .statut--valide { background: #E2F3EA; color: var(--ok); }
.statut--vendu, .statut--refuse { background: var(--accent-pale); color: var(--accent-fonce); }
.statut--en_attente { background: var(--or-pale); color: #7A5A12; }
.compteur { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 600; margin-inline-start: auto; }

/* ---------- Grilles et cartes ---------- */
.grille { display: grid; gap: 16px; }
.grille--artistes { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.grille--book { grid-template-columns: repeat(auto-fill, minmax(min(46%, 210px), 1fr)); }
.grille--opp { grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
.grille--oeuvres { grid-template-columns: repeat(auto-fill, minmax(min(46%, 230px), 1fr)); gap: 22px 16px; }
.grille--matos { grid-template-columns: repeat(auto-fill, minmax(min(46%, 220px), 1fr)); }
.grille--videos { grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); }
.carte-lien { display: block; height: 100%; text-decoration: none; color: inherit; }
.carte-artiste, .carte-opp, .carte-matos { background: var(--surface); border: 1px solid var(--ligne); border-radius: var(--rayon); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.carte-artiste:hover, .carte-opp:hover, .carte-matos:hover { transform: translateY(-2px); box-shadow: var(--ombre); border-color: var(--ligne-forte); }
.carte-couv { position: relative; aspect-ratio: 4 / 3; background: var(--surface-2); overflow: hidden; }
.carte-couv--portrait { aspect-ratio: 4 / 5; }
.carte-couv img, .matos-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.carte-artiste:hover .carte-couv img, .carte-matos:hover .matos-photo img { transform: scale(1.03); }
.couv-vide { display: grid; place-items: center; width: 100%; height: 100%; min-height: 64px; color: var(--encre-3); background: var(--surface-2); }
.couv-vide .ic { width: 30px; height: 30px; }
.carte-corps { display: flex; gap: 12px; align-items: center; padding: 14px; }
.carte-corps--colonne { display: block; }
.carte-titre { font-size: 1rem; margin: 0 0 2px; font-weight: 600; letter-spacing: -.01em; }
.carte-meta { margin: 0; color: var(--encre-2); font-size: .86rem; line-height: 1.45; }
.carte-meta .ic { display: inline-block; width: .95em; height: .95em; vertical-align: -.14em; margin-inline-end: 3px; }
.carte-artiste .avatar { margin-top: -34px; border: 3px solid var(--surface); width: 52px; height: 52px; }
.grille--book .carte-artiste .avatar { display: none; }

.carte-opp { position: relative; border-top: 3px solid var(--couleur, var(--encre)); }
.carte-opp--photographe { --couleur: var(--photographe); }
.carte-opp--peintre { --couleur: var(--peintre); }
.carte-opp--acteur { --couleur: var(--acteur); }
.carte-opp .carte-lien { display: flex; flex-direction: column; padding: 16px 16px 14px; gap: 8px; }
.opp-haut { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.opp-type { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; font-weight: 500; color: var(--encre-2); padding: 3px 9px; border: 1px solid var(--ligne); border-radius: 999px; }
.opp-titre { font-size: 1.06rem; margin: 2px 0 0; line-height: 1.3; }
.opp-meta, .opp-casting { color: var(--encre-2); font-size: .88rem; margin: 0; }
.opp-casting { color: var(--acteur); font-weight: 500; }
.opp-bas { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--ligne); }
.opp-date { color: var(--encre-3); font-size: .84rem; }
.opp-verrou { margin-inline-start: auto; color: var(--encre-3); display: inline-flex; }
.opp-cellule { position: relative; }
.rebours { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .84rem; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); color: var(--encre); }
.rebours--urgent { background: var(--accent); color: #fff; }
.rebours--proche { background: var(--accent-pale); color: var(--accent-fonce); }
.rebours--fini { background: var(--surface-2); color: var(--encre-3); text-decoration: line-through; }

.carte-oeuvre .carte-lien { display: grid; gap: 10px; }
.oeuvre-cadre { position: relative; background: #fff; padding: 10px; border-radius: 4px; box-shadow: 0 1px 2px rgb(0 0 0 / .08), 0 14px 26px -18px rgb(0 0 0 / .45); aspect-ratio: 4 / 5; transition: transform .25s, box-shadow .25s; }
.oeuvre-cadre img { width: 100%; height: 100%; object-fit: cover; }
.carte-oeuvre:hover .oeuvre-cadre { transform: translateY(-3px); box-shadow: 0 1px 2px rgb(0 0 0 / .08), 0 22px 34px -18px rgb(0 0 0 / .5); }
.oeuvre-prix { margin: 4px 0 0; font-weight: 600; }
.prix { font-variant-numeric: tabular-nums; white-space: nowrap; }
.devise { font-weight: 400; color: var(--encre-2); font-size: .9em; }
.matos-photo { position: relative; aspect-ratio: 1; background: var(--surface-2); overflow: hidden; }
.matos-prix { margin: 6px 0 0; font-weight: 600; font-size: 1.05rem; }

/* ---------- Bandeaux de page ---------- */
.bandeau-page { padding-block: 34px 26px; border-bottom: 1px solid var(--ligne); background: linear-gradient(180deg, color-mix(in srgb, var(--couleur, var(--encre)) 7%, var(--fond)), var(--fond)); }
.bandeau-page--photographe { --couleur: var(--photographe); }
.bandeau-page--peintre { --couleur: var(--peintre); }
.bandeau-page--acteur { --couleur: var(--acteur); }
.bandeau-page--concours { --couleur: var(--accent); }
.bandeau-page--centre { text-align: center; }
.bandeau-page--centre .chapo { margin-inline: auto; }
.bandeau-page .surtitre { color: color-mix(in srgb, var(--couleur, var(--encre)) 80%, black); }
@media (min-width: 900px) { .bandeau-page { padding-block: 54px 34px; } }

.sous-nav, .onglets { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-top: 20px; padding-bottom: 2px; }
.sous-nav::-webkit-scrollbar, .onglets::-webkit-scrollbar { display: none; }
.sous-nav a, .onglets a { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--ligne-forte); text-decoration: none; font-size: .92rem; font-weight: 500; background: var(--surface); }
.sous-nav a:hover, .onglets a:hover { border-color: var(--encre); }
.sous-nav a[aria-current], .onglets a[aria-current] { background: var(--encre); color: #fff; border-color: var(--encre); }
.onglets--petits { margin: 0 0 16px; }
.onglets--petits a { padding: 6px 13px; font-size: .86rem; }
.sous-nav--admin { align-items: center; margin-bottom: 18px; }
.sous-nav--admin form { margin-inline-start: auto; }

/* ---------- Filtres et moteur ---------- */
.mise-en-page-annuaire { display: grid; gap: 20px; padding-block: 24px 40px; }
@media (min-width: 1000px) { .mise-en-page-annuaire { grid-template-columns: 270px 1fr; align-items: start; gap: 32px; } .bloc-filtres { position: sticky; top: calc(var(--entete) + 16px); } }
.bloc-filtres { background: var(--surface); border: 1px solid var(--ligne); border-radius: var(--rayon); }
.bloc-filtres > summary { display: flex; align-items: center; gap: 10px; padding: 14px 16px; cursor: pointer; font-weight: 600; list-style: none; }
.bloc-filtres > summary::-webkit-details-marker { display: none; }
.bloc-filtres .filtres { padding: 0 16px 16px; }
@media (min-width: 1000px) { .bloc-filtres > summary { pointer-events: none; } .bloc-filtres:not([open]) > .filtres { display: grid; } }
.filtres { display: grid; gap: 12px; }
.filtres--ligne { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; margin-block: 22px 8px; }
.filtre { display: grid; gap: 5px; font-size: .84rem; color: var(--encre-2); min-width: 150px; flex: 1 1 150px; }
.filtre select, .filtre input, .filtre-recherche input, .moteur-champ select, .moteur-champ input, .champ input, .champ select, .champ textarea {
  width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--ligne-forte); border-radius: var(--rayon-m); background: var(--surface); color: var(--encre); font-size: 1rem; }
.filtre select:focus, .filtre input:focus, .filtre-recherche input:focus, .moteur-champ select:focus, .moteur-champ input:focus, .champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--encre); box-shadow: 0 0 0 3px rgb(23 20 15 / .08); }
.filtre-recherche { position: relative; display: block; flex: 2 1 220px; }
.filtres--ligne > select { flex: 1 1 160px; min-height: 46px; padding: 10px 14px; border: 1px solid var(--ligne-forte); border-radius: var(--rayon-m); background: var(--surface); font-size: 1rem; }
@media (max-width: 640px) { .filtres--ligne > * { flex: 1 1 100%; } .filtres--ligne > .bouton { width: 100%; } }
.filtre-recherche .ic { position: absolute; inset-inline-start: 13px; top: 50%; transform: translateY(-50%); color: var(--encre-3); }
.filtre-recherche input { padding-inline-start: 40px; }
.filtres-actions { display: flex; align-items: center; gap: 14px; }
.filtres-actions a { font-size: .9rem; color: var(--encre-2); }
.ligne-infos { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--encre-2); margin-block: 14px; font-size: .94rem; }
.ligne-infos p { margin: 0; }
.case { display: inline-flex; align-items: center; gap: 9px; font-size: .94rem; cursor: pointer; min-height: 44px; }
.case input { width: 20px; height: 20px; accent-color: var(--accent); }
.moteur { display: grid; gap: 10px; background: var(--surface); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 10px; box-shadow: var(--ombre); margin-top: 20px; }
.moteur-champ { position: relative; display: block; }
.moteur-champ--texte .ic { position: absolute; inset-inline-start: 13px; top: 50%; transform: translateY(-50%); color: var(--encre-3); }
.moteur-champ--texte input { padding-inline-start: 40px; }
.moteur .bouton { min-height: 46px; }
@media (min-width: 760px) { .moteur { grid-template-columns: 1fr 1fr 1.4fr auto; padding: 8px; border-radius: 999px; } .moteur-champ select, .moteur-champ input { border-color: transparent; background: var(--fond); border-radius: 999px; } .moteur .bouton { padding-inline: 26px; } }
.moteur--accueil { margin-top: 34px; }

/* ---------- Formulaires ---------- */
.formulaire { display: grid; gap: 16px; }
.carte-formulaire { background: var(--surface); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 20px; margin-block: 18px; }
.carte-formulaire h2 { font-size: 1.16rem; display: flex; align-items: center; gap: 10px; }
@media (min-width: 700px) { .carte-formulaire { padding: 26px; } }
.champ { display: grid; gap: 6px; margin: 0; min-width: 0; border: 0; padding: 0; }
.champ label, .champ > span, .champ legend { font-weight: 500; font-size: .93rem; }
.champ textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.champ--compact { gap: 3px; }
.champ--compact span { font-size: .8rem; color: var(--encre-2); font-weight: 400; }
.champ--compact input, .champ--compact select { min-height: 40px; padding: 7px 11px; font-size: .94rem; }
.facultatif { color: var(--encre-3); font-weight: 400; font-size: .85em; }
.champ-aide { color: var(--encre-3); font-size: .85rem; margin: 0; }
.champ-erreur { color: var(--accent-fonce); font-size: .87rem; font-weight: 500; margin: 0; }
.champ--erreur input, .champ--erreur select, .champ--erreur textarea { border-color: var(--accent); background: #FFF8F6; }
.champ-prefixe { display: flex; align-items: stretch; border: 1px solid var(--ligne-forte); border-radius: var(--rayon-m); background: var(--surface); overflow: hidden; }
.champ-prefixe:focus-within { border-color: var(--encre); box-shadow: 0 0 0 3px rgb(23 20 15 / .08); }
.champ-prefixe span { display: grid; place-items: center; padding-inline: 14px; background: var(--surface-2); color: var(--encre-2); font-size: .95rem; border-inline-end: 1px solid var(--ligne); }
.champ-prefixe input { border: 0 !important; box-shadow: none !important; border-radius: 0; }
.deux-colonnes, .trois-colonnes { display: grid; gap: 16px; }
@media (min-width: 640px) { .deux-colonnes { grid-template-columns: 1fr 1fr; } .trois-colonnes { grid-template-columns: repeat(3, 1fr); } }
.pastilles legend { margin-bottom: 8px; }
.pastilles-liste { display: flex; flex-wrap: wrap; gap: 8px; }
.pastille { position: relative; cursor: pointer; }
.pastille input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pastille span { display: inline-flex; align-items: center; min-height: 40px; padding: 7px 15px; border-radius: 999px; border: 1px solid var(--ligne-forte); background: var(--surface); font-size: .92rem; transition: background .15s, border-color .15s; }
.pastille input:checked + span { background: var(--encre); border-color: var(--encre); color: #fff; }
.pastille input:focus-visible + span { outline: 2.5px solid var(--accent); outline-offset: 2px; }
.formulaire--ligne { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
.formulaire--ligne .champ { flex: 1 1 220px; }
.bloc-casting { border: 1px dashed var(--ligne-forte); border-radius: var(--rayon-m); padding: 14px 16px; }
.bloc-casting legend { font-weight: 600; padding-inline: 6px; }
.note { display: flex; gap: 9px; align-items: flex-start; color: var(--encre-2); font-size: .88rem; margin: 10px 0; }
.note .ic { margin-top: .2em; color: var(--encre-3); }
.note--centre { justify-content: center; text-align: center; }
.note--petite { font-size: .8rem; margin: 0; align-self: end; }
.note--classement { margin-top: 26px; font-size: .82rem; }
.bandeau { display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-radius: var(--rayon-m); margin-block: 14px; font-weight: 500; }
.bandeau--ok { background: #E2F3EA; color: #0F5C37; }
.bandeau--err { background: var(--accent-pale); color: var(--accent-fonce); }
.bandeau a { margin-inline-start: auto; font-weight: 600; }
.encart { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; padding: 16px 18px; border-radius: var(--rayon); background: var(--surface); border: 1px solid var(--ligne); margin-block: 16px; }
.encart > .ic { width: 26px; height: 26px; color: var(--encre-2); }
.encart > div { flex: 1 1 260px; }
.encart p { margin: 2px 0 0; color: var(--encre-2); font-size: .92rem; }
.encart--pro { background: linear-gradient(120deg, var(--surface), var(--accent-pale)); border-color: #F2C9BF; }
.encart--vip { background: var(--or-pale); border-color: #E7D3A6; }
.encart--vip p { color: #6B5013; margin: 0; }
.vide { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 50px 20px; color: var(--encre-2); background: var(--surface); border: 1px dashed var(--ligne-forte); border-radius: var(--rayon); }
.vide .ic { width: 30px; height: 30px; color: var(--encre-3); }
.vide-court { color: var(--encre-3); font-size: .95rem; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 28px; color: var(--encre-2); }
.pagination a { font-weight: 500; }

/* ---------- Accueil ---------- */
.ouverture { padding-block: 34px 10px; overflow: hidden; }
.ouverture-grille { display: grid; gap: 34px; align-items: center; }
.ouverture h1 { font-size: clamp(2.2rem, 1.25rem + 3.4vw, 3.9rem); line-height: 1.04; letter-spacing: -.035em; margin-bottom: 18px; }
[dir="rtl"] .ouverture h1 { line-height: 1.25; letter-spacing: 0; }
.ouverture h1 em { font-style: normal; color: var(--accent); }
.ouverture-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.ouverture-preuve { display: flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--encre-2); font-size: .92rem; }
.mosaique { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: clamp(340px, 62vw, 520px); }
.mosaique-carte { position: relative; display: block; border-radius: var(--rayon); overflow: hidden; background: var(--surface-2); box-shadow: var(--ombre); text-decoration: none; }
.mosaique-carte--1 { grid-row: 1 / 3; }
.mosaique-carte img { width: 100%; height: 100%; object-fit: cover; }
.mosaique-carte::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgb(0 0 0 / .55)); }
.mosaique-adresse { position: absolute; z-index: 1; top: 10px; left: 10px; right: 10px; width: max-content; max-width: calc(100% - 20px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .78rem; padding: 5px 10px; border-radius: 999px; background: rgb(255 255 255 / .92); color: var(--encre-2); }
.mosaique-adresse b { color: var(--encre); font-weight: 600; }
.mosaique-univers { position: absolute; z-index: 1; bottom: 12px; inset-inline-start: 14px; display: inline-flex; align-items: center; gap: 7px; color: #fff; font-weight: 500; font-size: .95rem; }
@media (min-width: 960px) { .ouverture { padding-top: 60px; } .ouverture-grille { grid-template-columns: 1.05fr 1fr; gap: 56px; } }

.univers-grille { display: grid; gap: 16px; }
@media (min-width: 860px) { .univers-grille { grid-template-columns: repeat(3, 1fr); } }
.univers-carte { --couleur: var(--encre); position: relative; display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: var(--rayon); background: var(--surface); border: 1px solid var(--ligne); text-decoration: none; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.univers-carte::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: var(--couleur); }
.univers-carte:hover { transform: translateY(-3px); box-shadow: var(--ombre); }
.univers-carte--photographe { --couleur: var(--photographe); }
.univers-carte--peintre { --couleur: var(--peintre); }
.univers-carte--acteur { --couleur: var(--acteur); }
.univers-icone { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: color-mix(in srgb, var(--couleur) 11%, white); color: var(--couleur); margin-bottom: 8px; }
.univers-icone .ic { width: 24px; height: 24px; }
.univers-carte h3 { font-size: 1.3rem; margin: 0; }
.univers-carte p { color: var(--encre-2); margin: 0; }
.univers-carte ul { list-style: none; padding: 0; margin: 10px 0 14px; display: grid; gap: 6px; font-size: .92rem; }
.univers-carte li { display: flex; gap: 8px; }
.univers-carte li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--couleur); margin-top: .55em; flex: none; }
.univers-compte { display: inline-flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--ligne); font-weight: 500; color: var(--couleur); }

.etapes { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: e; }
@media (min-width: 760px) { .etapes { grid-template-columns: repeat(4, 1fr); } }
.etape { padding: 20px; border-radius: var(--rayon); background: var(--surface); border: 1px solid var(--ligne); }
.etape h3 { margin-top: 12px; }
.etape p { color: var(--encre-2); margin: 0; font-size: .94rem; }
.etape-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--encre); color: #fff; font-weight: 600; font-size: .95rem; flex: none; }
.adresse-demo { margin: 26px auto 0; width: max-content; max-width: 100%; padding: 14px 22px; border-radius: 999px; background: var(--surface); border: 1px solid var(--ligne); font-size: clamp(1rem, .8rem + 1.2vw, 1.6rem); color: var(--encre-2); box-shadow: var(--ombre); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adresse-demo span { color: var(--encre-3); }
.adresse-demo b { color: var(--accent); font-weight: 600; }

/* ---------- Tarifs ---------- */
.tarifs { display: grid; gap: 18px; align-items: stretch; margin-top: 20px; }
@media (min-width: 860px) { .tarifs { grid-template-columns: repeat(3, 1fr); } }
.tarif { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 22px; border-radius: 22px; background: var(--surface); border: 1px solid var(--ligne); color: var(--encre); }
.tarif--recommande { border: 2px solid var(--accent); box-shadow: var(--ombre-forte); }
.tarif-ruban { position: absolute; top: -13px; inset-inline-start: 22px; margin: 0; padding: 4px 12px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .78rem; font-weight: 600; }
/* La carte « recharge » : un clin d'œil aux cartes de recharge téléphonique. */
.tarif-carte { position: relative; padding: 18px; border-radius: 14px; color: #fff; background: var(--fond-carte, var(--encre)); overflow: hidden; min-height: 150px; display: flex; flex-direction: column; }
.tarif-carte::after { content: ''; position: absolute; inset-inline-end: -40px; top: -40px; width: 150px; height: 150px; border-radius: 50%; border: 18px solid rgb(255 255 255 / .09); }
.tarif--decouverte { --fond-carte: linear-gradient(135deg, #3B362F, #17140F); }
.tarif--pro { --fond-carte: linear-gradient(135deg, #E8573C, #B5321B); }
.tarif--vip { --fond-carte: linear-gradient(135deg, #C29A45, #7A5714); }
.tarif-nom { font-weight: 600; font-size: 1.05rem; margin: 0; }
.marque--carte { font-size: .95rem; color: #fff; --lettre: var(--teinte-carte, #B5321B); --point: #fff; }
.marque--carte .marque-ma { color: rgb(255 255 255 / .72); }
.tarif-carte .marque--carte { position: relative; z-index: 1; margin-bottom: 14px; align-self: flex-start; }
.tarif--decouverte { --teinte-carte: #2A2620; }
.tarif--pro { --teinte-carte: #C93A22; }
.tarif--vip { --teinte-carte: #8C6418; }
.tarif-prix { margin: auto 0 0; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.tarif-prix b { font-size: 3rem; line-height: 1; letter-spacing: -.04em; }
.tarif-prix small { width: 100%; opacity: .8; font-size: .82rem; }
.tarif-an { margin: 6px 0 0; font-size: .86rem; color: rgb(255 255 255 / .82); }
.tarif-an--vide { color: rgb(255 255 255 / .62); }
.economie { display: inline-block; margin-inline-start: 4px; padding: 1px 8px; border-radius: 999px; background: rgb(255 255 255 / .92); color: #6B5013; font-size: .8rem; font-weight: 600; }
.tarif-liste { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: .94rem; }
.tarif-liste li { display: flex; gap: 9px; }
.tarif-liste .ic { color: var(--ok); margin-top: .18em; }
.tarif .bouton { margin-top: auto; }
.tarif-actuel { display: flex; align-items: center; justify-content: center; gap: 8px; margin: auto 0 0; padding: 11px; border-radius: 999px; background: #E2F3EA; color: var(--ok); font-weight: 500; }
.section--sombre .tarif { background: #221E19; border-color: #36312A; color: #F3EEE6; }
.section--sombre .tarif--recommande { border-color: var(--accent); }
.tarifs--compacts .tarif { gap: 12px; }
/* position: relative : les textes masqués (lecteurs d'écran) restent dans la zone qui défile, sinon la page déborde au téléphone. */
.tableau-defile { position: relative; overflow-x: auto; border: 1px solid var(--ligne); border-radius: var(--rayon); background: var(--surface); }
.comparatif, .tableau { width: 100%; border-collapse: collapse; font-size: .93rem; }
.comparatif th, .comparatif td, .tableau th, .tableau td { padding: 12px 14px; border-bottom: 1px solid var(--ligne); text-align: start; vertical-align: middle; }
.comparatif thead th { font-weight: 600; text-align: center; }
.comparatif thead th small { display: block; font-weight: 400; color: var(--encre-3); }
.comparatif td { text-align: center; }
.comparatif tbody th { font-weight: 400; }
.comparatif .oui { color: var(--ok); }
.comparatif .oui .ic { margin-inline: auto; }
.comparatif .non { color: var(--encre-3); }
.tableau thead th { font-size: .8rem; color: var(--encre-2); font-weight: 500; text-transform: uppercase; letter-spacing: .04em; background: var(--fond); }
.tableau tr:last-child td { border-bottom: 0; }
.moyens { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.moyen { padding: 20px; border-radius: var(--rayon); border: 1px solid var(--ligne); background: var(--surface); }
.moyen p { color: var(--encre-2); margin: 0; font-size: .92rem; }
.moyen-icone { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--surface-2); margin-bottom: 12px; }
.faq-q { border-bottom: 1px solid var(--ligne); }
.faq-q summary { padding: 18px 0; font-weight: 500; cursor: pointer; }
.faq-q p { color: var(--encre-2); }

/* ---------- Concours : fiche ---------- */
.fiche-opp { padding-bottom: 50px; }
.fiche-opp h1 { font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.7rem); margin-top: 14px; }
.fiche-opp-grille { display: grid; gap: 28px; }
@media (min-width: 960px) { .fiche-opp-grille { grid-template-columns: 1fr 330px; gap: 48px; align-items: start; } .fiche-cote { position: sticky; top: calc(var(--entete) + 20px); } }
.fiche-infos, .fiche-technique { display: grid; gap: 0; margin: 18px 0 24px; border: 1px solid var(--ligne); border-radius: var(--rayon-m); background: var(--surface); }
.fiche-infos > div, .fiche-technique > div { display: grid; grid-template-columns: minmax(110px, 38%) 1fr; gap: 12px; padding: 11px 14px; border-bottom: 1px solid var(--ligne); }
.fiche-infos > div:last-child, .fiche-technique > div:last-child { border-bottom: 0; }
.fiche-infos dt, .fiche-technique dt { color: var(--encre-2); font-size: .9rem; }
.fiche-infos dd, .fiche-technique dd { margin: 0; font-weight: 500; }
.texte-long { font-size: 1.02rem; max-width: 68ch; }
.texte-long p { margin-bottom: .9em; }
.texte-voile { position: relative; max-height: 120px; overflow: hidden; filter: blur(3px); user-select: none; }
.texte-voile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent, var(--fond)); }
.fiche-cote { display: grid; gap: 12px; }
.boite-rebours { padding: 20px; border-radius: var(--rayon); background: var(--encre); color: #fff; display: grid; gap: 14px; justify-items: start; }
.boite-titre { margin: 0; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: #A69D90; }
[dir="rtl"] .boite-titre { letter-spacing: 0; }
.decompte { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; }
.decompte span { display: grid; justify-items: center; padding: 10px 4px; border-radius: 12px; background: #2A2620; font-size: .78rem; color: #BDB4A7; }
.decompte b { font-size: 2rem; line-height: 1.1; color: #fff; font-variant-numeric: tabular-nums; font-weight: 600; }

/* ---------- Vitrine ---------- */
.barre-proprio { background: var(--encre); color: #fff; font-size: .9rem; }
.barre-proprio .enveloppe { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 52px; }
.barre-proprio span { display: inline-flex; align-items: center; gap: 8px; }
.barre-proprio .bouton { background: #fff; color: var(--encre); border-color: #fff; }
.vitrine-tete { padding-bottom: 8px; }
.vitrine-banniere { height: clamp(170px, 34vw, 380px); background: var(--surface-2); overflow: hidden; }
.vitrine-banniere img { width: 100%; height: 100%; object-fit: cover; }
.vitrine-banniere--flou { background: var(--encre); }
.vitrine-banniere--flou img { filter: blur(38px) saturate(1.25) brightness(.72); transform: scale(1.35); }
.vitrine-identite { display: flex; flex-wrap: wrap; align-items: end; gap: 16px 22px; margin-top: -56px; position: relative; }
.vitrine-identite .avatar--grand { box-shadow: var(--ombre); }
.vitrine-nom { flex: 1 1 300px; padding-top: 60px; }
.vitrine-nom h1 { font-size: clamp(1.8rem, 1.3rem + 2.4vw, 3rem); margin-bottom: 8px; }
.vitrine-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; color: var(--encre-2); margin-bottom: 10px; }
.vitrine-meta > span { display: inline-flex; align-items: center; gap: 5px; }
.etiquettes { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.etiquettes li { padding: 4px 11px; border-radius: 999px; background: var(--surface); border: 1px solid var(--ligne); font-size: .86rem; }
.vitrine-bio { font-size: 1.06rem; max-width: 70ch; margin: 18px 0 18px; white-space: pre-line; }
.vitrine-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.vitrine-contenu { padding-block: 18px 10px; }
.vitrine-section { margin-block: 26px 34px; }
.vitrine-section > h2 { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; }
.vitrine-colonnes { display: grid; gap: 10px 40px; }
@media (min-width: 980px) { .vitrine-colonnes { grid-template-columns: 1.5fr 1fr; align-items: start; } .fiche-casting { position: sticky; top: calc(var(--entete) + 20px); } }
.galerie { columns: 2 180px; column-gap: 10px; }
@media (min-width: 900px) { .galerie { columns: 3 260px; column-gap: 14px; } }
.galerie-item { display: block; margin-bottom: 10px; break-inside: avoid; border-radius: var(--rayon-s); overflow: hidden; background: var(--surface-2); }
@media (min-width: 900px) { .galerie-item { margin-bottom: 14px; } }
.galerie-item img { width: 100%; height: auto; transition: transform .4s, opacity .3s; }
.galerie-item:hover img { transform: scale(1.02); }
.book { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(46%, 200px), 1fr)); }
.book-item { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--rayon-s); overflow: hidden; background: var(--surface-2); }
.book-item img { width: 100%; height: 100%; object-fit: cover; }
.book-vue { position: absolute; bottom: 8px; inset-inline-start: 8px; padding: 3px 10px; border-radius: 999px; background: rgb(255 255 255 / .92); font-size: .78rem; font-weight: 500; }
.fiche-casting { padding: 20px; border-radius: var(--rayon); background: var(--surface); border: 1px solid var(--ligne); }
.fiche-casting .fiche-technique { margin-top: 6px; }
.fiche-casting h3 { font-size: .92rem; color: var(--encre-2); font-weight: 500; margin: 18px 0 8px; }
.video { margin: 0; aspect-ratio: 16 / 9; border-radius: var(--rayon-m); overflow: hidden; background: #000; }
.video--verticale { aspect-ratio: 9 / 14; max-width: 380px; }
.video iframe { width: 100%; height: 100%; border: 0; }
.video figcaption { padding: 8px 2px; font-size: .88rem; color: var(--encre-2); background: var(--fond); }
/* Protection des images : pas de glisser-déposer, pas de menu « enregistrer l'image », pas d'appui long sur téléphone. */
.protege img { -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none; pointer-events: none; }
.protege a, .protege { -webkit-touch-callout: none; }

.fiche-oeuvre { padding-bottom: 50px; }
.fiche-oeuvre-grille { display: grid; gap: 28px; }
@media (min-width: 960px) { .fiche-oeuvre-grille { grid-template-columns: 1.3fr 1fr; gap: 50px; align-items: start; } }
.oeuvre-grande { margin: 0; background: #fff; padding: clamp(12px, 3vw, 28px); border-radius: 6px; box-shadow: var(--ombre-forte); display: grid; place-items: center; min-height: 260px; }
.oeuvre-grande img { max-height: 76vh; width: auto; margin-inline: auto; }
.fiche-oeuvre-infos h1 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.5rem); }
.auteur { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-block: 6px 6px; }
.auteur span { display: grid; font-weight: 500; }
.auteur small { color: var(--encre-2); font-weight: 400; }
.oeuvre-prix-grand { font-size: 1.9rem; font-weight: 600; margin: 8px 0 16px; }
.pile-boutons { display: grid; gap: 10px; }

/* ---------- Matériel, missions, forum ---------- */
.liste-missions { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.mission { position: relative; display: grid; gap: 4px; padding: 16px 18px; border-radius: var(--rayon); background: var(--surface); border: 1px solid var(--ligne); text-decoration: none; }
.mission:hover { border-color: var(--encre); }
.mission-type { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--photographe); font-weight: 500; }
.mission strong { font-size: 1.05rem; }
.mission-meta { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; color: var(--encre-2); font-size: .88rem; }
.mission .opp-verrou { position: absolute; top: 16px; inset-inline-end: 16px; }
.mise-en-page-forum { display: grid; gap: 26px; }
@media (min-width: 980px) { .mise-en-page-forum { grid-template-columns: 1fr 360px; align-items: start; } }
.liste-sujets { list-style: none; padding: 0; margin: 0; border: 1px solid var(--ligne); border-radius: var(--rayon); background: var(--surface); overflow: hidden; }
.liste-sujets li + li { border-top: 1px solid var(--ligne); }
.sujet-ligne { display: flex; align-items: center; gap: 14px; padding: 14px 16px; text-decoration: none; }
.sujet-ligne:hover { background: var(--fond); }
.sujet-ligne > span:nth-child(2) { display: grid; flex: 1; }
.sujet-ligne small { color: var(--encre-2); }
.sujet-reponses { display: inline-flex; align-items: center; gap: 5px; color: var(--encre-2); font-size: .9rem; }
.message { padding: 18px 0; border-bottom: 1px solid var(--ligne); }
.message--premier { padding: 20px; border: 1px solid var(--ligne); border-radius: var(--rayon); background: var(--surface); margin-block: 14px 24px; }
.message-auteur { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-bottom: 10px; }
.message-auteur span { display: grid; font-weight: 500; }
.message-auteur small { color: var(--encre-3); font-weight: 400; }
.titre-reponses { font-size: 1.1rem; margin-top: 10px; }

/* ---------- Inscription ---------- */
.rejoindre-tete { text-align: center; margin-bottom: 24px; }
.rejoindre-tete .chapo { margin-inline: auto; }
.progression { list-style: none; display: flex; justify-content: center; gap: 6px; padding: 0; margin: 0 0 26px; font-size: .84rem; color: var(--encre-3); flex-wrap: wrap; }
.progression li { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 6px; border-radius: 999px; }
.progression li span { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--ligne-forte); font-weight: 600; font-size: .8rem; }
.progression li.actif { color: var(--encre); background: var(--surface); box-shadow: inset 0 0 0 1px var(--ligne); }
.progression li.actif span { background: var(--accent); border-color: var(--accent); color: #fff; }
.progression li.fait { color: var(--ok); }
.progression li.fait span { background: var(--ok); border-color: var(--ok); color: #fff; }
.progression li.fait .ic { width: 14px; height: 14px; }
@media (max-width: 520px) { .progression { flex-wrap: nowrap; } .progression li:not(.actif) { font-size: 0; gap: 0; padding-inline-end: 4px; } .progression li span { font-size: .8rem; } }
.etape-form { border: 1px solid var(--ligne); background: var(--surface); border-radius: 22px; padding: 22px; margin: 0 0 16px; display: grid; gap: 18px; }
@media (min-width: 700px) { .etape-form { padding: 32px; } }
.etape-titre { display: flex; align-items: center; gap: 12px; font-size: 1.25rem; font-weight: 600; padding: 0; margin-bottom: 4px; float: left; width: 100%; }
[dir="rtl"] .etape-titre { float: right; }
.etape-titre + * { clear: both; }
.etape-titre span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--encre); color: #fff; font-size: .95rem; flex: none; }
.js .formulaire--etapes .etape-form:not(.visible) { display: none; }
.etape-nav { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.etape-nav [data-suivant]:only-child, .etape-nav [type="submit"]:only-child { margin-inline-start: auto; }
.choix-profils { display: grid; gap: 12px; }
@media (min-width: 700px) { .choix-profils { grid-template-columns: repeat(3, 1fr); } }
.choix-profil { --couleur: var(--encre); position: relative; display: grid; gap: 6px; padding: 18px; border: 1.5px solid var(--ligne-forte); border-radius: var(--rayon); cursor: pointer; transition: border-color .15s, box-shadow .15s, background .15s; }
.choix-profil--photographe { --couleur: var(--photographe); }
.choix-profil--peintre { --couleur: var(--peintre); }
.choix-profil--acteur { --couleur: var(--acteur); }
.choix-profil input { position: absolute; opacity: 0; }
.choix-profil:hover { border-color: var(--couleur); }
.choix-profil:has(input:checked) { border-color: var(--couleur); background: color-mix(in srgb, var(--couleur) 6%, white); box-shadow: 0 0 0 3px color-mix(in srgb, var(--couleur) 18%, transparent); }
.choix-profil:has(input:focus-visible) { outline: 2.5px solid var(--accent); outline-offset: 2px; }
.choix-profil-icone { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: color-mix(in srgb, var(--couleur) 11%, white); color: var(--couleur); }
.choix-profil-icone .ic { width: 22px; height: 22px; }
.choix-profil strong { font-size: 1.05rem; }
.choix-profil small { color: var(--encre-2); font-size: .88rem; }
.apercu-adresse { border-radius: 14px; border: 1px solid var(--ligne); background: var(--fond); overflow: hidden; }
.apercu-barre { display: flex; gap: 6px; padding: 10px 12px; background: var(--surface-2); }
.apercu-barre i { width: 10px; height: 10px; border-radius: 50%; background: var(--ligne-forte); }
.apercu-url { display: block; padding: 22px 18px; font-size: clamp(1.1rem, .9rem + 1.2vw, 1.6rem); color: var(--encre-2); overflow-wrap: anywhere; }
.apercu-url b { color: var(--accent); font-weight: 600; }
[data-adresse-etat].ok { color: var(--ok); }
[data-adresse-etat].ko { color: var(--accent-fonce); }
.carte-connexion { padding-block: 44px 60px; }
.carte-connexion .formulaire { background: var(--surface); padding: 22px; border-radius: var(--rayon); border: 1px solid var(--ligne); margin-block: 18px; }

/* ---------- Espace membre ---------- */
.espace { display: grid; gap: 20px; padding-block: 22px 40px; }
@media (min-width: 980px) { .espace { grid-template-columns: 270px 1fr; gap: 36px; align-items: start; } .espace-cote { position: sticky; top: calc(var(--entete) + 16px); } }
.espace-cote { display: grid; gap: 14px; }
.espace-carte { display: flex; align-items: center; gap: 12px; }
.espace-carte strong { display: block; }
.espace-adresse { font-size: .84rem; color: var(--encre-2); }
.pass { padding: 16px; border-radius: var(--rayon); color: #fff; background: linear-gradient(135deg, #3B362F, #17140F); display: grid; gap: 4px; justify-items: start; }
.pass--pro { background: linear-gradient(135deg, #E8573C, #B5321B); }
.pass--vip { background: linear-gradient(135deg, #C29A45, #7A5714); }
.pass--aucun { background: var(--surface); color: var(--encre); border: 1px dashed var(--accent); }
.pass-nom { font-weight: 600; margin: 0; font-size: 1.05rem; }
.pass-fin { margin: 0 0 8px; font-size: .84rem; opacity: .85; }
.pass .bouton--contour { color: #fff; border-color: rgb(255 255 255 / .5); }
.pass--aucun .bouton--contour { color: var(--encre); border-color: var(--ligne-forte); }
.espace-nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.espace-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; text-decoration: none; font-weight: 500; font-size: .94rem; white-space: nowrap; color: var(--encre-2); }
.espace-nav a:hover { background: var(--surface); color: var(--encre); }
.espace-nav a[aria-current] { background: var(--surface); color: var(--encre); box-shadow: inset 0 0 0 1px var(--ligne); }
@media (min-width: 980px) { .espace-nav { display: grid; } }
.espace-contenu > h1 { font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.2rem); }
.tuiles { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); margin-block: 16px; }
.tuile { display: grid; gap: 4px; padding: 16px; border-radius: var(--rayon); background: var(--surface); border: 1px solid var(--ligne); text-decoration: none; text-align: start; font-size: .88rem; color: var(--encre-2); cursor: default; }
.tuile--lien { cursor: pointer; }
.tuile--lien:hover { border-color: var(--encre); }
.tuile-chiffre { font-size: 1.8rem; font-weight: 600; color: var(--encre); line-height: 1.1; }
.tuile-chiffre small { font-size: .9rem; color: var(--encre-3); font-weight: 400; }
.tuile-chiffre .ic { width: 28px; height: 28px; }
.images-profil { display: grid; gap: 18px; }
@media (min-width: 640px) { .images-profil { grid-template-columns: auto 1fr; align-items: center; } }
.televerser-simple { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.televerser-simple label.bouton { cursor: pointer; }
.banniere-apercu { width: 220px; max-width: 100%; aspect-ratio: 16 / 5; border-radius: 10px; overflow: hidden; background: var(--surface-2); display: grid; place-items: center; color: var(--encre-3); font-size: .84rem; text-align: center; }
.banniere-apercu img { width: 100%; height: 100%; object-fit: cover; }
.etat-envoi { width: 100%; margin: 0; font-size: .88rem; color: var(--encre-2); }
.bienvenue { padding: 22px; border-radius: var(--rayon); background: var(--surface); border: 1px solid var(--ligne); margin-bottom: 16px; }
.bienvenue .progression { justify-content: start; }
.zone-depot { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 30px 16px; border: 2px dashed var(--ligne-forte); border-radius: var(--rayon); transition: border-color .15s, background .15s; }
.zone-depot.survol { border-color: var(--accent); background: var(--accent-pale); }
.zone-depot > .ic { width: 34px; height: 34px; color: var(--encre-3); }
.zone-depot p { color: var(--encre-2); margin: 0; }
.zone-depot label { cursor: pointer; }
.zone-envoi .champ--compact { margin-top: 14px; max-width: 280px; }
.envois-en-cours { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; font-size: .88rem; }
.envois-en-cours li { display: flex; align-items: center; gap: 10px; color: var(--encre-2); }
.envois-en-cours li.ok { color: var(--ok); }
.envois-en-cours li.ko { color: var(--accent-fonce); }
.envois-en-cours img { width: 40px; height: 40px; object-fit: cover; border-radius: 6px; }
.liste-medias { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 10px; }
.media-ligne { display: grid; grid-template-columns: 84px 1fr; gap: 14px; padding: 12px; border-radius: var(--rayon); background: var(--surface); border: 1px solid var(--ligne); }
.media-ligne > img { width: 84px; height: 84px; object-fit: cover; border-radius: 8px; }
.media-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.media-form .champ { flex: 1 1 140px; }
.media-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.media-actions input { min-height: 36px; padding: 6px 10px; border: 1px solid var(--ligne-forte); border-radius: 8px; }
.liste-videos, .liste-gestion, .liste-notifs { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 8px; }
.liste-videos li { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 10px; background: var(--fond); }
.liste-videos li span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.liste-gestion li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; padding: 12px; border-radius: var(--rayon); background: var(--surface); border: 1px solid var(--ligne); }
.liste-gestion li > img, .liste-gestion li > .couv-vide { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; min-height: 0; }
.liste-gestion li > div { display: grid; gap: 2px; min-width: 0; }
.liste-gestion small { color: var(--encre-2); overflow-wrap: anywhere; }
.liste-gestion li > form { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; justify-content: end; }
@media (min-width: 760px) { .liste-gestion li { grid-template-columns: 56px 1fr auto; } .liste-gestion li > form { grid-column: auto; } }
.liste-notifs li { display: flex; gap: 12px; padding: 14px; border-radius: var(--rayon-m); background: var(--surface); border: 1px solid var(--ligne); }
.liste-notifs li.non-lue { border-color: var(--accent); }
.liste-notifs p { margin: 0; }
.liste-notifs small { color: var(--encre-3); }

/* ---------- Recharge ---------- */
.carte-formulaire h2 .etape-n { width: 28px; height: 28px; font-size: .85rem; }
.choix-pass { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.pass-choix { display: grid; gap: 2px; padding: 14px; border-radius: 14px; color: #fff; text-decoration: none; background: linear-gradient(135deg, #3B362F, #17140F); opacity: .62; transition: opacity .15s, transform .15s, box-shadow .15s; }
.pass-choix.pass--pro { background: linear-gradient(135deg, #E8573C, #B5321B); }
.pass-choix.pass--vip { background: linear-gradient(135deg, #C29A45, #7A5714); }
.pass-choix:hover { opacity: .9; }
.pass-choix--actif { opacity: 1; transform: translateY(-2px); box-shadow: 0 0 0 3px var(--fond), 0 0 0 5px var(--encre); }
.pass-choix .pass-nom { font-size: .92rem; }
.pass-prix b { font-size: 1.7rem; }
.pass-choix small { opacity: .85; }
.resume-recharge { display: flex; gap: 9px; align-items: center; margin: 16px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--fond); font-weight: 500; }
.moyens-paiement { display: grid; gap: 10px; }
.moyen-paiement { border: 1px solid var(--ligne); border-radius: var(--rayon-m); background: var(--fond); }
.moyen-paiement > summary { display: flex; gap: 14px; align-items: center; padding: 14px 16px; cursor: pointer; list-style: none; }
.moyen-paiement > summary::-webkit-details-marker { display: none; }
.moyen-paiement > summary .ic { width: 24px; height: 24px; }
.moyen-paiement > summary span { display: grid; }
.moyen-paiement > summary small { color: var(--encre-2); }
.moyen-paiement[open] > summary { border-bottom: 1px solid var(--ligne); }
.moyen-paiement > :not(summary) { margin: 16px; }
.coordonnees { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.coordonnees > div { padding: 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--ligne); }
.coordonnees h3 { font-size: .9rem; margin-bottom: 4px; }
.coordonnees p { margin: 0; }
.coordonnees .note { grid-column: 1 / -1; margin: 0; }
.rib { font-family: ui-monospace, 'Cascadia Mono', monospace; font-size: .9rem; overflow-wrap: anywhere; }
.codes-generes { width: 100%; font-family: ui-monospace, 'Cascadia Mono', monospace; font-size: .92rem; padding: 12px; border-radius: 10px; border: 1px solid var(--ligne-forte); }

/* ---------- Appels, erreurs ---------- */
.appel-vitrine { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 26px; border-radius: 22px; background: var(--encre); color: #fff; }
.appel-vitrine h2 { margin: 0; }
.appel-vitrine p { color: #BDB4A7; margin: 6px 0 0; }
.appel-vitrine .surtitre { color: #A69D90; text-transform: none; letter-spacing: 0; }
.appel-vitrine .bouton { background: #fff; color: var(--encre); border-color: #fff; }
.page-erreur { display: grid; justify-items: center; gap: 10px; text-align: center; padding-block: 80px; }
.page-erreur > .ic { width: 42px; height: 42px; color: var(--encre-3); }

/* ---------- Visionneuse ---------- */
.visionneuse { padding: 0; border: 0; background: rgb(12 10 8 / .95); width: 100vw; height: 100dvh; max-width: none; max-height: none; color: #fff; }
.visionneuse::backdrop { background: rgb(12 10 8 / .95); }
.visionneuse-scene { position: relative; display: grid; place-items: center; width: 100%; height: 100%; padding: 56px 12px 70px; }
.visionneuse img { max-width: 100%; max-height: calc(100dvh - 126px); object-fit: contain; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.visionneuse button { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgb(255 255 255 / .12); color: #fff; cursor: pointer; font-size: 1.4rem; }
.visionneuse button:hover { background: rgb(255 255 255 / .22); }
.visionneuse .v-fermer { top: 12px; inset-inline-end: 12px; }
.visionneuse .v-prec { inset-inline-start: 12px; top: 50%; transform: translateY(-50%); }
.visionneuse .v-suiv { inset-inline-end: 12px; top: 50%; transform: translateY(-50%); }
.visionneuse .v-legende { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: #CFC7BB; font-size: .92rem; }
.visionneuse .v-marque { position: absolute; top: 22px; inset-inline-start: 20px; font-size: .85rem; color: #8E8579; }

/* ---------- Admin ---------- */
.admin { padding-block: 22px 50px; }
.carte-admin .surtitre { text-transform: none; letter-spacing: 0; font-weight: 500; }
.formulaire--admin { gap: 12px; }
.tableau--membres td { font-size: .88rem; }
.ligne-suspendue { opacity: .55; }

/* ---------- Annonces flottantes ---------- */
.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 90; padding: 12px 18px; border-radius: 999px; background: var(--encre); color: #fff; font-size: .92rem; box-shadow: var(--ombre-forte); }


/* =====================================================================================
   Refonte visuelle (2026-11-07) : relief, verre dépoli, micro-interactions, six univers.
   Ce bloc vient après les règles d'origine et les complète ou les remplace.
   ===================================================================================== */
:root {
  --sculpteur: #2E7D6E;      /* patine de bronze */
  --modele: #C2477E;
  --createur: #6A47DB;
  --verre: rgb(255 255 255 / .66);
  --verre-fort: rgb(255 255 255 / .82);
  --verre-bord: rgb(255 255 255 / .75);
  --ligne-douce: rgb(23 20 15 / .08);
  --ombre-douce: 0 1px 1px rgb(23 20 15 / .04), 0 6px 18px -8px rgb(23 20 15 / .14), 0 18px 40px -24px rgb(23 20 15 / .22);
  --ombre-relief: 0 2px 4px rgb(23 20 15 / .05), 0 16px 34px -14px rgb(23 20 15 / .28), 0 32px 64px -36px rgb(23 20 15 / .3);
  --transition: .28s cubic-bezier(.2, .8, .2, 1);
}

/* Fond : deux halos très doux qui donnent de la profondeur au verre. */
body {
  background:
    radial-gradient(1100px 620px at 8% -8%, rgb(224 69 43 / .07), transparent 62%),
    radial-gradient(900px 560px at 100% 4%, rgb(47 86 217 / .06), transparent 58%),
    radial-gradient(800px 600px at 50% 110%, rgb(46 125 110 / .05), transparent 60%),
    var(--fond);
  background-attachment: fixed;
}

/* ---------- En-tête en verre dépoli ---------- */
.entete { background: rgb(246 243 238 / .62); backdrop-filter: saturate(1.7) blur(20px); -webkit-backdrop-filter: saturate(1.7) blur(20px);
  border-bottom: 1px solid rgb(255 255 255 / .55); box-shadow: 0 1px 0 var(--ligne-douce); transition: box-shadow var(--transition), background var(--transition); }
.entete--defile { background: rgb(246 243 238 / .78); box-shadow: 0 1px 0 var(--ligne-douce), 0 10px 30px -18px rgb(23 20 15 / .35); }

/* Menu « Univers » (ordinateur) */
.menu-univers { position: relative; }
.menu-univers > summary { list-style: none; display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 999px; cursor: pointer; font-weight: 500; font-size: .93rem; color: var(--encre-2); white-space: nowrap; transition: background var(--transition), color var(--transition); }
.menu-univers > summary::-webkit-details-marker { display: none; }
.menu-univers > summary:hover, .menu-univers[open] > summary, .menu-univers > summary[aria-current] { background: var(--verre-fort); color: var(--encre); box-shadow: inset 0 0 0 1px var(--ligne-douce); }
.menu-univers .ic-chevron { width: .9em; height: .9em; transition: transform var(--transition); }
.menu-univers[open] .ic-chevron { transform: rotate(180deg); }
.menu-univers-panneau { position: absolute; top: calc(100% + 10px); inset-inline-start: -8px; width: min(640px, 90vw); display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 10px;
  border-radius: 20px; background: rgb(255 255 255 / .95); backdrop-filter: saturate(1.6) blur(22px); -webkit-backdrop-filter: saturate(1.6) blur(22px);
  border: 1px solid var(--verre-bord); box-shadow: var(--ombre-relief); animation: apparaitre .22s ease-out; z-index: 50; }
@keyframes apparaitre { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }

/* Lien vers un univers (menu ordinateur et tiroir téléphone) */
.lien-univers { --couleur: var(--encre); display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; text-decoration: none; color: var(--encre); transition: background var(--transition), transform var(--transition); }
.lien-univers:hover { background: color-mix(in srgb, var(--couleur) 8%, white); transform: translateX(2px); }
[dir="rtl"] .lien-univers:hover { transform: translateX(-2px); }
.lien-univers[aria-current] { background: color-mix(in srgb, var(--couleur) 10%, white); }
.lien-univers-icone { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; background: color-mix(in srgb, var(--couleur) 12%, white); color: var(--couleur); }
.lien-univers-icone .ic { width: 20px; height: 20px; }
.lien-univers strong { display: block; font-size: .95rem; font-weight: 600; }
.lien-univers small { display: block; font-size: .8rem; color: var(--encre-2); }
.lien-univers--photographe, .puce-univers--photographe, .carte-opp--photographe, .univers-carte--photographe, .choix-profil--photographe, .bandeau-page--photographe { --couleur: var(--photographe); }
.lien-univers--peintre, .puce-univers--peintre, .carte-opp--peintre, .univers-carte--peintre, .choix-profil--peintre, .bandeau-page--peintre { --couleur: var(--peintre); }
.lien-univers--sculpteur, .puce-univers--sculpteur, .carte-opp--sculpteur, .univers-carte--sculpteur, .choix-profil--sculpteur, .bandeau-page--sculpteur { --couleur: var(--sculpteur); }
.lien-univers--modele, .puce-univers--modele, .carte-opp--modele, .univers-carte--modele, .choix-profil--modele, .bandeau-page--modele { --couleur: var(--modele); }
.lien-univers--createur, .puce-univers--createur, .carte-opp--createur, .univers-carte--createur, .choix-profil--createur, .bandeau-page--createur { --couleur: var(--createur); }
.lien-univers--acteur, .puce-univers--acteur, .carte-opp--acteur, .univers-carte--acteur, .choix-profil--acteur, .bandeau-page--acteur { --couleur: var(--acteur); }

/* Tiroir du téléphone */
.menu-tiroir { background: rgb(246 243 238 / .985); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
.nav-titre { margin: 4px 0 6px; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--encre-3); }
[dir="rtl"] .nav-titre { letter-spacing: 0; }
.nav-mobile-univers { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 8px; }
.nav-mobile .lien-univers { border-bottom: 0; font-size: 1rem; padding: 10px; align-items: flex-start; flex-direction: column; gap: 8px; background: var(--verre-fort); box-shadow: inset 0 0 0 1px var(--ligne-douce); }
.nav-mobile .lien-univers small { display: none; }
.nav-mobile .nav-mobile-lien { display: flex; align-items: center; gap: 12px; padding: 14px 8px; text-decoration: none; font-size: 1.05rem; font-weight: 500; border-bottom: 1px solid var(--ligne); }
@media (max-width: 380px) { .nav-mobile-univers { grid-template-columns: 1fr; } }

/* ---------- Cartes en verre, relief et survol ---------- */
.carte-artiste, .carte-opp, .carte-matos, .univers-carte, .etape, .moyen, .carte-formulaire, .bloc-filtres, .encart, .mission, .liste-sujets, .fiche-casting, .tuile, .carte-membre-admin {
  background: var(--verre); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border: 1px solid var(--verre-bord); box-shadow: var(--ombre-douce); }
.carte-artiste, .carte-opp, .carte-matos, .univers-carte, .mission, .tuile--lien, .carte-oeuvre .oeuvre-cadre, .moyen {
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); will-change: transform; }
.carte-artiste:hover, .carte-opp:hover, .carte-matos:hover, .univers-carte:hover, .mission:hover, .tuile--lien:hover, .moyen:hover {
  transform: scale(1.02); box-shadow: var(--ombre-relief); border-color: rgb(255 255 255 / .95); }
.carte-oeuvre:hover .oeuvre-cadre { transform: scale(1.02) translateY(-2px); }
.carte-artiste .carte-couv img { transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.carte-artiste:hover .carte-couv img { transform: scale(1.06); }
.carte-artiste .avatar { box-shadow: 0 4px 12px -4px rgb(23 20 15 / .35); }
.carte-opp { border-top: 3px solid var(--couleur, var(--encre)); }

/* ---------- Boutons : micro-interactions ---------- */
.bouton { transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition); }
.bouton:hover { transform: scale(1.02); }
.bouton:active { transform: scale(.99); }
.bouton--plein { box-shadow: 0 8px 20px -10px rgb(224 69 43 / .7); }
.bouton--plein:hover { box-shadow: 0 14px 28px -12px rgb(224 69 43 / .8); }
.bouton--whatsapp { box-shadow: 0 8px 20px -10px rgb(18 140 74 / .7); }
.bouton--whatsapp:hover { box-shadow: 0 14px 28px -12px rgb(18 140 74 / .85); }
.bouton--contour { background: var(--verre-fort); }
.bouton--danger { background: #B42318; border-color: #B42318; color: #fff; }
.bouton--danger:hover { background: #912018; border-color: #912018; }

/* ---------- Badges : certification, pass, statut ---------- */
.certifie { color: #1D6FE0; filter: drop-shadow(0 1px 2px rgb(29 111 224 / .35)); }
.mention-certifie { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px 3px 7px; border-radius: 999px; font-size: .8rem; font-weight: 600;
  color: #1554B0; background: linear-gradient(135deg, #E6F0FF, #D4E5FF); box-shadow: inset 0 0 0 1px rgb(29 111 224 / .18); }
.mention-certifie .ic { width: 1em; height: 1em; fill: #1D6FE0; stroke: #fff; }
.badge-pass, .badge-statut { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: .76rem; font-weight: 600; line-height: 1.4; white-space: nowrap; }
.badge-pass { color: #fff; background: linear-gradient(135deg, #3B362F, #17140F); }
.badge-pass--pro { background: linear-gradient(135deg, #E8573C, #B5321B); }
.badge-pass--vip { background: linear-gradient(135deg, #D4AE5C, #8C6418); }
.badge-pass--aucun { background: var(--surface-2); color: var(--encre-2); }
.badge-statut .ic { width: 1em; height: 1em; }
.badge-statut--public { color: #0F6A3E; background: #DDF3E6; }
.badge-statut--pause { color: #8A5A00; background: #FCEFCF; }
.badge-statut--suspendu { color: #9F1D14; background: #FCE1DE; }
.badge-statut--certifie { color: #1554B0; background: #E3EEFF; }
.badge-statut--une { color: #7A5714; background: #F6EBD3; }
.badge-statut--admin { color: #fff; background: var(--encre); }
.etiquette-avant { background: linear-gradient(135deg, rgb(212 174 92 / .95), rgb(140 100 24 / .95)); color: #fff; box-shadow: 0 4px 12px -4px rgb(140 100 24 / .6); }

/* ---------- Accueil : six univers ---------- */
.univers-grille { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.univers-carte { overflow: hidden; }
.univers-carte::after { content: ''; position: absolute; inset-inline-end: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--couleur) 16%, transparent), transparent 70%); pointer-events: none; transition: transform .5s ease; }
.univers-carte:hover::after { transform: scale(1.25); }
.choix-profils { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }

/* ---------- Vitrine : barre de contact en 1 clic ---------- */
.barre-contact { position: sticky; top: var(--entete); z-index: 30; margin-top: 18px; background: rgb(246 243 238 / .72);
  backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px);
  border-block: 1px solid rgb(255 255 255 / .6); box-shadow: 0 1px 0 var(--ligne-douce), 0 12px 28px -22px rgb(23 20 15 / .4); }
.barre-contact-ligne { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; }
.barre-contact-qui { display: flex; align-items: center; gap: 10px; min-width: 0; }
.barre-contact-qui strong { display: block; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.barre-contact-qui small { display: block; font-size: .8rem; color: var(--encre-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.barre-contact-actions { display: flex; align-items: center; gap: 8px; }
.bouton--cta { min-height: 48px; padding-inline: 22px; font-size: 1rem; font-weight: 600; }
.cta-court { display: none; }
.pied-titre--marque { text-transform: none; letter-spacing: .01em; font-size: .9rem; color: #B9B0A3; }
/* Filtres : toujours dépliés sur grand écran (Chrome masque le contenu d'un <details> fermé, même avec display). */
@media (min-width: 1000px) { .bloc-filtres::details-content { content-visibility: visible; display: contents; } }
.bouton-reseau { display: inline-grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 50%; border: 1px solid var(--verre-bord); background: var(--verre-fort);
  color: var(--encre); cursor: pointer; text-decoration: none; box-shadow: var(--ombre-douce); transition: transform var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition); }
.bouton-reseau .ic { width: 21px; height: 21px; }
.bouton-reseau:hover { transform: scale(1.08); box-shadow: var(--ombre-relief); }
.bouton-reseau--instagram:hover { color: #fff; border-color: transparent; background: radial-gradient(circle at 30% 107%, #FDF497 0%, #FD5949 45%, #D6249F 60%, #285AEB 90%); }
.bouton-reseau--facebook:hover { color: #fff; border-color: transparent; background: #1877F2; }
.vitrine-tete { padding-bottom: 0; }
@media (max-width: 760px) {
  /* Sur téléphone : la barre se fixe en bas de l'écran, sous le pouce. */
  .barre-contact { position: fixed; top: auto; bottom: 0; inset-inline: 0; margin: 0; padding-bottom: env(safe-area-inset-bottom, 0px);
    background: rgb(255 255 255 / .82); border-top: 1px solid rgb(23 20 15 / .08); box-shadow: 0 -12px 30px -18px rgb(23 20 15 / .45); }
  .barre-contact-ligne { min-height: 70px; padding-block: 10px; }
  .barre-contact-qui { display: none; }
  .barre-contact-actions { width: 100%; }
  .barre-contact-actions { gap: 6px; }
  .barre-contact-actions .bouton--cta { flex: 1 1 auto; min-width: 0; min-height: 50px; padding-inline: 14px; }
  .barre-contact-actions .bouton-reseau { width: 44px; height: 44px; }
  .barre-contact-actions .barre-agent { min-height: 44px; width: 44px; padding: 0; }
  .barre-agent span { display: none; }
  body.page-vitrine { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 480px) { .cta-long { display: none; } .cta-court { display: inline; } }

/* ---------- Vitrine : grilles et book ---------- */
.galerie-item { position: relative; box-shadow: var(--ombre-douce); transition: box-shadow var(--transition), transform var(--transition); }
.galerie-item:hover { box-shadow: var(--ombre-relief); transform: translateY(-2px); }
.galerie-item img { transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.galerie-item:hover img { transform: scale(1.04); }
.galerie-legende { position: absolute; inset: auto 0 0; padding: 26px 12px 10px; font-size: .84rem; font-weight: 500; color: #fff;
  background: linear-gradient(transparent, rgb(0 0 0 / .62)); opacity: 0; transform: translateY(6px); transition: opacity var(--transition), transform var(--transition); }
.galerie-item:hover .galerie-legende, .galerie-item:focus-visible .galerie-legende { opacity: 1; transform: none; }
@media (hover: none) { .galerie-legende { opacity: 1; transform: none; } }
.book-item { box-shadow: var(--ombre-douce); transition: transform var(--transition), box-shadow var(--transition); }
.book-item:hover { transform: scale(1.02); box-shadow: var(--ombre-relief); }
/* Polaroid : cadre blanc, bande plus large en bas. */
.book-item--polaroid { background: #fff; padding: 8px 8px 30px; aspect-ratio: 4 / 5.2; border-radius: 4px; transform: rotate(-.6deg); }
.book-item--polaroid:nth-child(even) { transform: rotate(.7deg); }
.book-item--polaroid:hover { transform: rotate(0) scale(1.03); }
.book-item--polaroid img { height: 100%; border-radius: 2px; }
.book-item--polaroid .book-vue { bottom: 6px; background: transparent; color: var(--encre-2); font-family: 'Segoe Print', 'Bradley Hand', cursive; }
.etiquettes--logiciels li { background: var(--encre); color: #fff; border-color: var(--encre); font-weight: 500; }
.vitrine-colonnes--projets { grid-template-columns: 1fr; }
@media (min-width: 980px) { .vitrine-colonnes--projets { grid-template-columns: 1.8fr 1fr; } }
.encart--sur-mesure { background: linear-gradient(120deg, var(--verre-fort), rgb(46 125 110 / .08)); }

/* ---------- Bandeau « mode équipe » (connecté en tant qu'un membre) ---------- */
.bandeau-equipe { position: sticky; top: 0; z-index: 60; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 14px; padding: 8px 16px;
  background: #3D2A00; color: #FCEFCF; font-size: .9rem; }
.bandeau-equipe .bouton { background: #FCEFCF; color: #3D2A00; border-color: #FCEFCF; }
.bandeau-equipe ~ .entete { top: 44px; }

/* ---------- Formulaires ---------- */
.quatre-colonnes { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
@media (min-width: 760px) { .quatre-colonnes { grid-template-columns: repeat(4, 1fr); } }
.groupe-reseaux { padding: 16px; border-radius: var(--rayon-m); background: rgb(255 255 255 / .55); box-shadow: inset 0 0 0 1px var(--ligne-douce); }
.groupe-reseaux legend { padding-inline: 6px; font-weight: 600; }
.case--pause { padding: 10px 14px; border-radius: var(--rayon-m); background: #FCEFCF; color: #6B4600; }

/* ---------- Administration ---------- */
.cartes-admin { display: grid; gap: 12px; }
.ligne-infos a { display: inline-flex; align-items: center; gap: 6px; }
.ligne-infos > span { display: inline-flex; gap: 6px; }
.carte-membre-admin { display: grid; gap: 10px; padding: 14px 16px; border-radius: var(--rayon); }
.carte-membre-admin--pause { border-inline-start: 4px solid #E5A00D; }
.carte-membre-admin--suspendu { border-inline-start: 4px solid #B42318; opacity: .8; }
.cma-tete { display: flex; gap: 12px; align-items: center; }
.cma-tete small { display: block; color: var(--encre-2); font-size: .82rem; overflow-wrap: anywhere; }
.cma-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.cma-actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
@media (min-width: 1000px) { .carte-membre-admin { grid-template-columns: minmax(260px, 1.1fr) auto minmax(0, 1.6fr); align-items: center; } .cma-actions { justify-content: flex-end; } }
.admin-visuels { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.admin-visuels figure { position: relative; margin: 0; display: grid; gap: 6px; }
.admin-visuels img, .admin-visuels .couv-vide { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.admin-visuels figcaption { font-size: .8rem; color: var(--encre-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-visuels form { position: absolute; top: 6px; inset-inline-end: 6px; }
.admin-visuels .bouton-icone { background: rgb(255 255 255 / .9); }
.zone-danger { border: 1px solid #F3B7B0 !important; background: #FFF6F5 !important; }
.zone-danger h2 { color: #9F1D14; }

@media (prefers-reduced-motion: reduce) {
  .carte-artiste:hover, .carte-opp:hover, .carte-matos:hover, .univers-carte:hover, .mission:hover, .tuile--lien:hover, .moyen:hover, .bouton:hover, .bouton-reseau:hover { transform: none; }
}

/* ---------- Ouverture : la question « Vous êtes… photographe ? » (2026-11-07) ---------- */
.ouverture--question { position: relative; isolation: isolate; padding-block: 40px 14px; text-align: center; }
/* Halos aux couleurs des univers, très doux, derrière la question */
.ouverture--question::before {
  content: ''; position: absolute; inset: -10% -5% 20%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(32% 42% at 18% 30%, color-mix(in srgb, var(--photographe) 16%, transparent), transparent 70%),
    radial-gradient(30% 40% at 82% 24%, color-mix(in srgb, var(--modele) 15%, transparent), transparent 70%),
    radial-gradient(34% 40% at 70% 78%, color-mix(in srgb, var(--peintre) 14%, transparent), transparent 70%),
    radial-gradient(30% 36% at 26% 82%, color-mix(in srgb, var(--createur) 12%, transparent), transparent 70%);
  filter: blur(8px);
}
.ouverture--question::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--encre); opacity: .045;
  -webkit-mask-image: var(--motif-etoile), radial-gradient(60% 60% at 50% 45%, transparent 35%, #000 100%);
  mask-image: var(--motif-etoile), radial-gradient(60% 60% at 50% 45%, transparent 35%, #000 100%);
  -webkit-mask-size: 56px 56px, 100% 100%; mask-size: 56px 56px, 100% 100%;
  -webkit-mask-repeat: repeat, no-repeat; mask-repeat: repeat, no-repeat;
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.ouverture-centre { display: flex; flex-direction: column; align-items: center; }

/* Le slogan (titre principal de la page pour Google) en pastille au-dessus de la question */
.ouverture--question h1.ouverture-slogan {
  display: inline-flex; align-items: center; gap: 9px; margin: 0 0 22px;
  padding: 8px 16px; border-radius: 999px; font-size: .92rem; font-weight: 600; letter-spacing: 0; line-height: 1.3;
  color: var(--encre); background: rgb(255 255 255 / .72); border: 1px solid var(--ligne);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--ombre-douce);
}
.ouverture-slogan-point { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); flex: none; }

.ouverture-question { margin: 0; font-size: clamp(2.4rem, 1.3rem + 4.6vw, 4.6rem); font-weight: 700; line-height: 1; letter-spacing: -.04em; color: var(--encre); }
html[dir="rtl"] .ouverture-question { letter-spacing: 0; line-height: 1.3; }

/* Tuiles-métiers : une photo, le nom du métier écrit dessus, un clic = inscription avec le bon univers */
.tuiles-metiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; margin-top: 26px; text-align: start; }
.tuile-metier {
  --couleur: var(--encre);
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between;
  aspect-ratio: 4 / 5; padding: 12px; border-radius: 20px; text-decoration: none; color: #fff;
  background: color-mix(in srgb, var(--couleur) 70%, black); box-shadow: var(--ombre-douce);
  transition: transform var(--transition), box-shadow var(--transition);
  animation: tuile-metier-entree .6s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * 70ms + 100ms);
}
@keyframes tuile-metier-entree { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.tuile-metier img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.tuile-metier::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(0 0 0 / .18) 0%, rgb(0 0 0 / 0) 32%, rgb(0 0 0 / 0) 45%, color-mix(in srgb, var(--couleur) 72%, rgb(8 6 4 / .9)) 100%); }
.tuile-metier-icone { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: rgb(255 255 255 / .22); border: 1px solid rgb(255 255 255 / .38); -webkit-backdrop-filter: blur(10px) saturate(1.4); backdrop-filter: blur(10px) saturate(1.4); }
.tuile-metier-icone .ic { width: 19px; height: 19px; }
.tuile-metier-bas { display: grid; gap: 1px; }
.tuile-metier-bas small { font-size: .74rem; font-weight: 600; opacity: .85; }
.tuile-metier-bas strong { font-size: clamp(1.15rem, .95rem + .9vw, 1.6rem); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; text-shadow: 0 1px 14px rgb(0 0 0 / .3); }
html[dir="rtl"] .tuile-metier-bas strong { letter-spacing: 0; }
.tuile-metier--photographe { --couleur: var(--photographe); }
.tuile-metier--peintre { --couleur: var(--peintre); }
.tuile-metier--sculpteur { --couleur: var(--sculpteur); }
.tuile-metier--modele { --couleur: var(--modele); }
.tuile-metier--createur { --couleur: var(--createur); }
.tuile-metier--acteur { --couleur: var(--acteur); }
@media (hover: hover) {
  .tuile-metier:hover { transform: translateY(-4px) scale(1.03); box-shadow: var(--ombre-relief); }
  .tuile-metier:hover img { transform: scale(1.08); }
}
.tuile-metier:focus-visible { outline: 3px solid var(--couleur); outline-offset: 3px; }
/* « Et aussi » : tous les autres métiers en étiquettes de couleur */
.autres-metiers { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 7px; max-width: 980px; margin: 18px auto 0; }
.autres-metiers-titre { font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--encre-2); margin-inline-end: 4px; }
html[dir="rtl"] .autres-metiers-titre { letter-spacing: 0; font-size: .95rem; }
.autre-metier { --couleur: var(--encre); display: inline-flex; align-items: center; min-height: 36px; padding: 6px 13px; border-radius: 999px; font-size: .88rem; font-weight: 600; text-decoration: none; color: color-mix(in srgb, var(--couleur) 85%, black); background: color-mix(in srgb, var(--couleur) 9%, white); border: 1px solid color-mix(in srgb, var(--couleur) 26%, transparent); transition: background var(--transition), color var(--transition), transform var(--transition); }
.autre-metier:hover, .autre-metier:focus-visible { background: var(--couleur); color: #fff; transform: translateY(-1px); }
.autre-metier--photographe { --couleur: var(--photographe); }
.autre-metier--peintre { --couleur: var(--peintre); }
.autre-metier--sculpteur { --couleur: var(--sculpteur); }
.autre-metier--modele { --couleur: var(--modele); }
.autre-metier--createur { --couleur: var(--createur); }
.autre-metier--acteur { --couleur: var(--acteur); }
@media (max-width: 640px) { .autres-metiers-titre { flex-basis: 100%; text-align: center; margin: 0 0 2px; } .autre-metier { font-size: .82rem; min-height: 34px; padding: 5px 11px; } }
@media (min-width: 760px) { .tuiles-metiers { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 30px; } .tuile-metier { padding: 16px; border-radius: 24px; } }

.ouverture-reponse { margin: 18px 0 0; font-size: clamp(1.3rem, 1rem + 1.4vw, 2rem); font-weight: 600; letter-spacing: -.02em; color: var(--encre); }
html[dir="rtl"] .ouverture-reponse { letter-spacing: 0; }
.ouverture-reponse mark { background: none; color: var(--accent); position: relative; white-space: nowrap; }
.ouverture--question .chapo { max-width: 60ch; margin: 16px auto 0; }

.ouverture--question .ouverture-actions { justify-content: center; margin-top: 22px; }
.ouverture--question .ouverture-preuve { justify-content: center; }
.ouverture--question .moteur--accueil { margin-top: 34px; }

@media (max-width: 640px) {
  .ouverture--question { padding-top: 26px; }
  .ouverture--question h1.ouverture-slogan { font-size: .8rem; padding: 7px 12px; margin-bottom: 18px; }
  .ouverture--question .ouverture-actions { flex-direction: column; align-items: stretch; width: 100%; }
}
@media (min-width: 960px) { .ouverture--question { padding-top: 64px; } }

/* ---------- Univers : tuiles photo de l'accueil et en-têtes illustrés (2026-11-07) ---------- */
:root {
  /* Étoile à huit branches façon zellige, utilisée comme masque (la couleur vient de l'univers). */
  --motif-etoile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.4'%3E%3Crect x='17' y='17' width='22' height='22'/%3E%3Crect x='17' y='17' width='22' height='22' transform='rotate(45 28 28)'/%3E%3Ccircle cx='28' cy='28' r='4'/%3E%3C/g%3E%3C/svg%3E");
}
.tuile-univers--photographe, .eventail--photographe { --couleur: var(--photographe); }
.tuile-univers--peintre, .eventail--peintre { --couleur: var(--peintre); }
.tuile-univers--sculpteur, .eventail--sculpteur { --couleur: var(--sculpteur); }
.tuile-univers--modele, .eventail--modele { --couleur: var(--modele); }
.tuile-univers--createur, .eventail--createur { --couleur: var(--createur); }
.tuile-univers--acteur, .eventail--acteur { --couleur: var(--acteur); }

/* Pile de visages des membres */
.pile-avatars { display: inline-flex; align-items: center; }
.pile-avatars .avatar { width: 30px; height: 30px; border: 2px solid #fff; box-shadow: 0 2px 6px rgb(0 0 0 / .18); font-size: .68rem; }
.pile-avatars .avatar + .avatar { margin-inline-start: -7px; }

/* En-tête de section de l'accueil */
.section-tete--univers { align-items: end; gap: 10px 40px; flex-wrap: wrap; }
.section-tete--univers h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); letter-spacing: -.02em; line-height: 1.08; margin: 0; }
.section-tete-texte { margin: 0; max-width: 42ch; color: var(--encre-2); font-size: 1rem; }
html[dir="rtl"] .section-tete--univers h2 { letter-spacing: 0; }

/* Mosaïque des six univers */
.univers-mosaique { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 22px; }
.tuile-univers {
  --couleur: var(--encre);
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 236px; padding: 12px; border-radius: 22px;
  color: #fff; text-decoration: none;
  background: color-mix(in srgb, var(--couleur) 78%, black);
  box-shadow: var(--ombre-douce);
  transition: transform var(--transition), box-shadow var(--transition);
}
.tuile-univers-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
/* Voile : clair en haut, couleur de l'univers en bas pour la lisibilité du titre */
.tuile-univers::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgb(0 0 0 / .28) 0%, rgb(0 0 0 / 0) 30%, rgb(0 0 0 / 0) 42%, color-mix(in srgb, var(--couleur) 70%, rgb(8 6 4 / .92)) 100%);
  transition: opacity var(--transition);
}
/* Sans visuel : le motif d'étoiles dans la couleur de l'univers */
.tuile-univers-motif {
  position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(90% 70% at 80% 10%, color-mix(in srgb, var(--couleur) 60%, white), var(--couleur));
}
.tuile-univers-motif::after { content: ''; position: absolute; inset: 0; background: #fff; opacity: .16; -webkit-mask: var(--motif-etoile) 0 0 / 46px 46px repeat; mask: var(--motif-etoile) 0 0 / 46px 46px repeat; }

.tuile-univers-haut { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tuile-univers-icone, .tuile-univers-compte {
  display: inline-flex; align-items: center; justify-content: center;
  background: rgb(255 255 255 / .2); border: 1px solid rgb(255 255 255 / .34);
  -webkit-backdrop-filter: blur(10px) saturate(1.4); backdrop-filter: blur(10px) saturate(1.4);
}
.tuile-univers-icone { width: 38px; height: 38px; border-radius: 12px; }
.tuile-univers-icone .ic { width: 19px; height: 19px; }
.tuile-univers-compte { padding: 5px 11px; border-radius: 999px; font-size: .76rem; font-weight: 600; white-space: nowrap; }

.tuile-univers-bas { display: grid; gap: 4px; }
.tuile-univers-titre { margin: 0; font-size: 1.06rem; line-height: 1.15; font-weight: 650; letter-spacing: -.01em; text-wrap: balance; text-shadow: 0 1px 12px rgb(0 0 0 / .25); }
html[dir="rtl"] .tuile-univers-titre { letter-spacing: 0; }
.tuile-univers-texte { font-size: .8rem; line-height: 1.35; color: rgb(255 255 255 / .86); }
.tuile-univers-pied { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; min-height: 34px; }
.tuile-univers-pied .pile-avatars .avatar { width: 26px; height: 26px; border-color: rgb(255 255 255 / .9); }
.tuile-univers-fleche {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: #fff; color: var(--couleur); box-shadow: 0 4px 14px rgb(0 0 0 / .2);
  transform: rotate(-45deg); transition: transform var(--transition);
}
html[dir="rtl"] .tuile-univers-fleche { transform: rotate(45deg); }
.tuile-univers-fleche .ic { width: 16px; height: 16px; }

@media (hover: hover) {
  .tuile-univers:hover { transform: translateY(-4px) scale(1.02); box-shadow: var(--ombre-relief); }
  .tuile-univers:hover .tuile-univers-image { transform: scale(1.08); }
  .tuile-univers:hover .tuile-univers-fleche, html[dir="rtl"] .tuile-univers:hover .tuile-univers-fleche { transform: rotate(0); }
}
.tuile-univers:focus-visible { outline: 3px solid var(--couleur); outline-offset: 3px; }

@media (min-width: 640px) {
  .univers-mosaique { gap: 14px; }
  .tuile-univers { min-height: 270px; padding: 16px; }
  .tuile-univers-titre { font-size: 1.3rem; }
  .tuile-univers-texte { font-size: .88rem; }
}
/* Ordinateur : mosaïque irrégulière sur 12 colonnes, deux rangées qui se répondent */
@media (min-width: 960px) {
  .univers-mosaique { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 300px; gap: 16px; }
  .tuile-univers { min-height: 0; padding: 20px; border-radius: 26px; }
  .tuile-univers--photographe { grid-column: span 5; }
  .tuile-univers--peintre { grid-column: span 4; }
  .tuile-univers--sculpteur { grid-column: span 3; }
  .tuile-univers--modele { grid-column: span 3; }
  .tuile-univers--createur { grid-column: span 4; }
  .tuile-univers--acteur { grid-column: span 5; }
  .tuile-univers-titre { font-size: 1.5rem; }
  .tuile-univers-icone { width: 44px; height: 44px; border-radius: 14px; }
  .tuile-univers-icone .ic { width: 21px; height: 21px; }
  .tuile-univers-fleche { width: 40px; height: 40px; }
}

/* ---------- En-tête des pages d'univers ---------- */
.bandeau-univers {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: 28px 22px;
  background:
    radial-gradient(55% 90% at 92% 0%, color-mix(in srgb, var(--couleur) 20%, transparent), transparent 70%),
    linear-gradient(180deg, color-mix(in srgb, var(--couleur) 9%, var(--fond)), var(--fond));
}
.bandeau-univers::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--couleur); opacity: .1;
  -webkit-mask-image: var(--motif-etoile), linear-gradient(100deg, transparent 30%, #000 95%);
  mask-image: var(--motif-etoile), linear-gradient(100deg, transparent 30%, #000 95%);
  -webkit-mask-size: 56px 56px, 100% 100%; mask-size: 56px 56px, 100% 100%;
  -webkit-mask-repeat: repeat, no-repeat; mask-repeat: repeat, no-repeat;
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
html[dir="rtl"] .bandeau-univers::before {
  -webkit-mask-image: var(--motif-etoile), linear-gradient(260deg, transparent 30%, #000 95%);
  mask-image: var(--motif-etoile), linear-gradient(260deg, transparent 30%, #000 95%);
}
.bandeau-univers h1 { text-wrap: balance; }
.surtitre--pastille {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px;
  background: rgb(255 255 255 / .7); border: 1px solid color-mix(in srgb, var(--couleur) 22%, transparent);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
html[dir="rtl"] .surtitre--pastille { padding: 6px 8px 6px 12px; }
.surtitre--pastille .ic { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--couleur); color: #fff; }
.chiffres-univers { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 16px 0 0; color: var(--encre-2); font-size: .95rem; }
.chiffres-univers b { color: var(--encre); font-weight: 650; }
.chiffres-sep { margin-inline: 8px; color: var(--couleur); font-weight: 700; }

/* Éventail de visuels */
.eventail { position: relative; }
.eventail-carte {
  position: absolute; display: flex; flex-direction: column; overflow: hidden;
  width: 50%; aspect-ratio: 4 / 5; border-radius: 20px; background: var(--surface-2);
  box-shadow: 0 2px 6px rgb(23 20 15 / .08), 0 22px 44px -18px rgb(23 20 15 / .45);
  text-decoration: none; transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.eventail-carte img { flex: 1; min-height: 0; width: 100%; object-fit: cover; }
.eventail-carte--1 { z-index: 3; inset-inline-start: 25%; top: 0; }
.eventail-carte--2 { z-index: 1; inset-inline-start: 0; top: 11%; transform: rotate(-8deg); }
.eventail-carte--3 { z-index: 2; inset-inline-end: 0; top: 13%; transform: rotate(7deg); }
html[dir="rtl"] .eventail-carte--2 { transform: rotate(8deg); }
html[dir="rtl"] .eventail-carte--3 { transform: rotate(-7deg); }
.eventail--1 .eventail-carte--1 { inset-inline-start: 22%; width: 56%; }
.eventail--2 .eventail-carte--1 { inset-inline-start: 38%; }
.eventail--2 .eventail-carte--2 { inset-inline-start: 6%; }
.eventail-nom {
  position: absolute; bottom: 10px; inset-inline-start: 10px; max-width: calc(100% - 20px);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  padding: 5px 11px; border-radius: 999px; font-size: .76rem; font-weight: 600; color: var(--encre);
  background: rgb(255 255 255 / .86); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.eventail-carte:not(.eventail-carte--1) .eventail-nom { display: none; }
@media (hover: hover) {
  .eventail:hover .eventail-carte--1 { transform: translateY(-6px); }
  .eventail:hover .eventail-carte--2 { transform: translateX(-14px) rotate(-12deg); }
  .eventail:hover .eventail-carte--3 { transform: translateX(14px) rotate(11deg); }
  html[dir="rtl"] .eventail:hover .eventail-carte--2 { transform: translateX(14px) rotate(12deg); }
  html[dir="rtl"] .eventail:hover .eventail-carte--3 { transform: translateX(-14px) rotate(-11deg); }
}
/* Cadres propres à chaque univers */
.eventail--modele .eventail-carte { border-radius: 4px; background: #fff; padding: 8px 8px 0; }
.eventail--modele .eventail-carte img { border-radius: 2px; }
.eventail--modele .eventail-nom { position: static; display: block; max-width: none; padding: 7px 2px 9px; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; border-radius: 0; text-align: center; font-weight: 500; color: var(--encre-2); }
.eventail--modele .eventail-carte:not(.eventail-carte--1) .eventail-nom { display: block; visibility: hidden; }
.eventail--peintre .eventail-carte { border-radius: 6px; background: #fbfaf7; padding: 9px; }
.eventail--peintre .eventail-carte img { box-shadow: inset 0 0 0 1px rgb(0 0 0 / .08); border-radius: 2px; }
.eventail--peintre .eventail-nom { bottom: 16px; inset-inline-start: 16px; }
.eventail--sculpteur .eventail-carte { border-radius: 999px 999px 18px 18px; aspect-ratio: 3 / 4.2; }
.eventail--createur .eventail-carte { border-radius: 24px; outline: 1px solid rgb(255 255 255 / .6); outline-offset: -1px; }

@media (max-width: 899px) {
  /* Téléphone : texte, chiffres, puis l'éventail, puis la sous-navigation */
  .bandeau-univers-grille { display: flex; flex-direction: column; }
  .bandeau-univers-texte { display: contents; }
  .bandeau-univers-texte > * { order: 1; }
  .bandeau-univers .sous-nav { order: 3; }
  .eventail { order: 2; height: 196px; width: min(100%, 330px); margin: 22px auto 4px; }
  .eventail-carte { width: 40%; border-radius: 14px; }
  .eventail-carte--1 { inset-inline-start: 30%; }
  .eventail--2 .eventail-carte--1 { inset-inline-start: 45%; }
  .eventail--2 .eventail-carte--2 { inset-inline-start: 15%; }
  .eventail--1 .eventail-carte--1 { inset-inline-start: 28%; width: 44%; }
  .eventail-nom { font-size: .7rem; bottom: 7px; inset-inline-start: 7px; padding: 4px 8px; }
  .eventail--modele .eventail-carte { padding: 5px 5px 0; }
  .eventail--modele .eventail-nom { padding: 4px 2px 6px; font-size: .66rem; }
  .eventail--peintre .eventail-carte { padding: 6px; }
  .eventail--peintre .eventail-nom { bottom: 11px; inset-inline-start: 11px; }
  .eventail--sculpteur .eventail-carte { border-radius: 999px 999px 12px 12px; }
}
@media (min-width: 900px) {
  .bandeau-univers { padding-block: 44px 30px; }
  .bandeau-univers-grille--images { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; align-items: center; }
  .eventail { height: 330px; }
}
@media (min-width: 1200px) { .eventail { height: 360px; } }

/* ---------- Carte de membre (format carte bancaire 85,6 × 54 mm ; tailles en unités du conteneur) ---------- */
.cartes-membre { display: grid; gap: 18px; margin-block: 18px; grid-template-columns: minmax(0, 460px); }
@media (min-width: 1100px) { .cartes-membre { grid-template-columns: repeat(2, minmax(0, 440px)); } }
.cm-boite { container-type: inline-size; min-width: 0; }
.carte-membre { --teinte-carte: #2A2620; position: relative; line-height: 1.3; margin: 0; aspect-ratio: 85.6 / 54; border-radius: 4.2cqw; overflow: hidden; color: #fff;
  background: radial-gradient(120% 140% at 100% 0%, rgb(255 255 255 / .14), transparent 55%), linear-gradient(135deg, #3B362F, #17140F);
  box-shadow: var(--ombre-forte); display: grid; grid-template-rows: auto 1fr auto; padding: 5.6cqw 6cqw; font-size: 3.3cqw; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.carte-membre::after { content: ''; position: absolute; inset-inline-end: -14cqw; bottom: -22cqw; width: 52cqw; height: 52cqw; border-radius: 50%; border: 5cqw solid rgb(255 255 255 / .06); pointer-events: none; }
.carte-membre--pro { --teinte-carte: #C93A22; background: radial-gradient(120% 140% at 100% 0%, rgb(255 255 255 / .16), transparent 55%), linear-gradient(135deg, #E8573C, #B5321B); }
.carte-membre--vip { --teinte-carte: #8C6418; background: radial-gradient(120% 140% at 100% 0%, rgb(255 255 255 / .22), transparent 55%), linear-gradient(135deg, #D4AE5C, #8C6418 70%, #6E4D10); }
.carte-membre--aucun { filter: grayscale(1); opacity: .7; }
.carte-membre .marque--carte { font-size: 4.6cqw; }
.cm-haut { display: flex; align-items: center; justify-content: space-between; gap: 3cqw; }
.cm-formule { font-size: 2.9cqw; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; padding: 1cqw 2.6cqw; border-radius: 99px; background: rgb(255 255 255 / .16); white-space: nowrap; }
[dir="rtl"] .cm-formule { letter-spacing: 0; text-transform: none; }
.cm-identite { display: flex; align-items: center; gap: 3.4cqw; align-self: center; min-width: 0; }
.cm-identite .avatar { width: 12.5cqw; height: 12.5cqw; border: .7cqw solid rgb(255 255 255 / .85); font-size: 4.4cqw; }
.cm-identite strong { display: block; font-size: 5.4cqw; line-height: 1.15; letter-spacing: -.01em; }
.cm-identite span { font-size: 3cqw; opacity: .82; }
.cm-bas { display: flex; align-items: flex-end; justify-content: space-between; gap: 3cqw; position: relative; z-index: 1; }
.cm-bas dl { display: grid; gap: 1.6cqw; margin: 0; }
.cm-bas dt { font-size: 2.3cqw; text-transform: uppercase; letter-spacing: .08em; opacity: .72; }
[dir="rtl"] .cm-bas dt { letter-spacing: 0; }
.cm-bas dd { margin: 0; font-size: 3.4cqw; font-weight: 600; font-variant-numeric: tabular-nums; }
.cm-qr { display: grid; justify-items: center; gap: 1cqw; padding: 1.6cqw 1.6cqw 1.2cqw; border-radius: 2.4cqw; background: #fff; color: var(--encre); }
.cm-qr .qr { width: 19cqw; height: 19cqw; }
.cm-qr span { font-size: 2.35cqw; font-weight: 600; letter-spacing: .01em; }
.carte-membre--verso { grid-template-rows: 1fr auto auto auto; justify-items: center; text-align: center; gap: 1.6cqw; }
.cm-symbole { width: 24cqw; height: 24cqw; color: #fff; --lettre: var(--teinte-carte); align-self: end; }
.marque--verso.marque--carte { font-size: 6.4cqw; }
.marque--verso .symbole { display: none; }
.cm-slogan { margin: 0; font-size: 3cqw; opacity: .86; max-width: 80%; }
.cm-adresse { margin: 0; font-size: 3cqw; font-weight: 600; padding: .8cqw 3cqw; border-radius: 99px; background: rgb(255 255 255 / .14); }
.carte-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media print {
  @page { size: A4; margin: 14mm; }
  body * { visibility: hidden !important; }
  .cartes-membre, .cartes-membre * { visibility: visible !important; }
  .cartes-membre { position: absolute; inset: 0 auto auto 0; display: grid; grid-template-columns: 85.6mm 85.6mm; gap: 8mm; margin: 0; }
  .cm-boite { width: 85.6mm; }
  .carte-membre { box-shadow: none; border-radius: 3.2mm; outline: .2mm dashed #bbb; outline-offset: 1.5mm; }
  .entete, .pied { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Univers Musique & Danse (2026-11-07) : couleur or, et place dans les grilles ---------- */
:root { --musicien: #A87C0C; }
.puce-univers--musicien, .carte-opp--musicien, .bandeau-page--musicien, .univers-carte--musicien, .choix-profil--musicien, .lien-univers--musicien,
.tuile-metier--musicien, .autre-metier--musicien, .tuile-univers--musicien, .eventail--musicien { --couleur: var(--musicien); }
/* Accueil, ordinateur : sept tuiles d'univers = une rangée de 3 puis une rangée de 4 */
@media (min-width: 960px) {
  .tuile-univers--photographe, .tuile-univers--peintre, .tuile-univers--sculpteur { grid-column: span 4; }
  .tuile-univers--modele, .tuile-univers--createur, .tuile-univers--acteur, .tuile-univers--musicien { grid-column: span 3; }
}
/* Haut de l'accueil : dix tuiles-métiers = deux rangées de cinq */
@media (min-width: 760px) { .tuiles-metiers { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; } .tuile-metier { padding: 13px; } }
@media (min-width: 760px) and (max-width: 1099px) { .tuile-metier-bas strong { font-size: 1.05rem; } .tuile-metier-icone { width: 32px; height: 32px; } }

/* ---------- Grille des pass (2026-11-07) : onglets personnalisés (Pass VIP), « Charger la suite », badges, carrousel ---------- */
/* Onglets personnalisés (Pass VIP) : pilules, l'active en encre pleine */
.onglets-portfolio { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 22px; }
.onglet-pilule {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 7px 16px; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: .92rem; font-weight: 600; color: var(--encre); background: rgb(255 255 255 / .8);
  border: 1px solid var(--ligne-forte); transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}
.onglet-pilule span { font-size: .78rem; font-weight: 600; padding: 1px 8px; border-radius: 999px; background: var(--surface-2); color: var(--encre-2); transition: inherit; }
.onglet-pilule:hover { border-color: var(--encre); transform: translateY(-1px); }
.onglet-pilule[aria-selected="true"] { background: var(--encre); color: #fff; border-color: var(--encre); }
.onglet-pilule[aria-selected="true"] span { background: rgb(255 255 255 / .18); color: #fff; }
/* « Charger la suite » : les œuvres au-delà des 12 premières restent repliées */
.portfolio-replie { display: none !important; }
.portfolio-suite { text-align: center; margin: 20px 0 0; }
.portfolio-suite[hidden] { display: none; }
.section-filtree-vide { display: none; }
.galerie-item, .book-item, .portfolio-cellule { animation: portfolio-entree .35s ease both; }
@keyframes portfolio-entree { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Badge doré « Artiste VIP » */
.badge-vip {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px 4px 8px; border-radius: 999px; font-size: .82rem; font-weight: 700; color: #5B3F00;
  background: linear-gradient(135deg, #F7DE8B, #E2B23C 55%, #C99A22); box-shadow: 0 1px 0 rgb(255 255 255 / .6) inset, 0 4px 12px -6px rgb(160 110 0 / .6);
}
html[dir="rtl"] .badge-vip { padding: 4px 8px 4px 11px; }
.badge-vip .ic { width: 15px; height: 15px; }
.etiquette-avant--vip { display: inline-flex; align-items: center; gap: 5px; color: #5B3F00; background: linear-gradient(135deg, #F7DE8B, #E2B23C); }
.etiquette-avant--vip .ic { width: 13px; height: 13px; }

/* Cartes tarifaires : listes complètes, le VIP en or */
.tarif-sous-nom { margin: 4px 0 0; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #C99A22; }
html[dir="rtl"] .tarif-sous-nom { letter-spacing: 0; }
.tarif--vip { border-color: color-mix(in srgb, #E2B23C 55%, var(--ligne)); }
.tarif-liste li { align-items: flex-start; }
.tarif-liste li .ic { flex: none; margin-top: .2em; }
.economie { font-weight: 700; }

/* Carrousel des artistes vedettes (accueil) */
.carrousel-fleches { display: flex; align-items: center; gap: 8px; }
.carrousel-fleches .lien-fleche { margin-inline-end: 6px; }
.carrousel-piste {
  display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 14px;
}
.carrousel-piste::-webkit-scrollbar { display: none; }
.carrousel-piste > * { scroll-snap-align: start; }
@media (min-width: 640px) { .carrousel-piste { grid-auto-columns: calc((100% - 2 * 14px) / 3); } }
@media (min-width: 1000px) { .carrousel-piste { grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: 16px; } }
@media (max-width: 639px) { .carrousel-fleches .bouton-icone { display: none; } }

/* Espace membre : champs réservés au VIP, gestion des onglets */
.champs-verrouilles { opacity: .55; }
.liste-onglets { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.onglet-ligne { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 14px; background: var(--surface-2); }
.onglet-ligne .champ { flex: 1 1 180px; margin: 0; }
.onglet-compte { font-size: .85rem; color: var(--encre-2); }

/* Vitrine : formations et équipement (book détaillé VIP) */
.vitrine-detail { display: grid; gap: 22px; }
@media (min-width: 760px) { .vitrine-detail { grid-template-columns: 1fr 1fr; } }
.liste-detail { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.liste-detail li { padding: 10px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--ligne); }

/* Réseaux supplémentaires dans la barre de contact */
.bouton-reseau--tiktok:hover { background: #111; color: #fff; border-color: #111; }
.bouton-reseau--behance:hover { background: #1769FF; color: #fff; border-color: #1769FF; }
.bouton-reseau--site:hover { background: var(--encre); color: #fff; border-color: var(--encre); }
@media (max-width: 480px) {
  .barre-contact-actions { gap: 4px; }
  .barre-contact-actions .bouton-reseau { width: 36px; height: 36px; }
  .barre-contact-actions .bouton-reseau .ic { width: 17px; height: 17px; }
  .barre-contact-actions .bouton--cta { padding-inline: 12px; }
}
/* Carrousel : toutes les couvertures au même format, portraits compris */
.carrousel-piste .carte-couv, .carrousel-piste .carte-couv--portrait { aspect-ratio: 4 / 3.3; }
.carrousel-piste .carte-couv img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Pass Découverte gratuit : 4 cartes, une photo en grand, invitation à passer à l'Essentiel ---------- */
@media (min-width: 860px) { .tarifs--quatre { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1180px) { .tarifs--quatre { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.tarif--gratuit .tarif-carte { background: linear-gradient(150deg, #FFFFFF, #EFE9DF); color: var(--encre); border: 1px solid var(--ligne-forte); }
.tarif--gratuit .tarif-carte small, .tarif--gratuit .tarif-an { color: var(--encre-2); }
.tarif--gratuit .marque--carte { color: var(--encre); --lettre: #fff; --point: var(--accent); }
.tarif--gratuit .marque--carte .marque-ma { color: var(--encre-2); }
.galerie--une { columns: 1 !important; max-width: 760px; }
.invitation-pass {
  display: grid; gap: 22px; align-items: center; margin-top: 28px; padding: 22px; border-radius: 24px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 8%, white), #FFFFFF); border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--ligne));
  box-shadow: var(--ombre-douce);
}
@media (min-width: 860px) { .invitation-pass { grid-template-columns: .9fr 1.1fr; padding: 30px; } }
.invitation-emplacements { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.invitation-emplacements span { display: grid; place-items: center; aspect-ratio: 3 / 4; border-radius: 16px; border: 2px dashed color-mix(in srgb, var(--accent) 35%, var(--ligne-forte)); color: color-mix(in srgb, var(--accent) 70%, black); background: rgb(255 255 255 / .6); }
.invitation-texte h2 { margin: 6px 0 12px; font-size: clamp(1.3rem, 1rem + 1.2vw, 1.8rem); }
.invitation-texte ul { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.invitation-texte li { display: flex; gap: 8px; align-items: flex-start; }
.invitation-texte li .ic { color: var(--accent); flex: none; margin-top: .2em; }

/* ---------- Cartes de pass (2026-11-07) : arabesque gravée et frise de zellige (les arches ont été retirées à sa demande) ---------- */
:root {
  --motif-girih: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.3'%3E%3Crect x='20' y='20' width='40' height='40'/%3E%3Crect x='20' y='20' width='40' height='40' transform='rotate(45 40 40)'/%3E%3Ccircle cx='40' cy='40' r='8'/%3E%3Cpath d='M0 0L20 20M80 0L60 20M80 80L60 60M0 80L20 60M40 0V11.7M40 68.3V80M0 40H11.7M68.3 40H80'/%3E%3C/g%3E%3C/svg%3E");
  --motif-frise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='12' viewBox='0 0 24 12'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.2'%3E%3Cpath d='M12 1.5L16.5 6L12 10.5L7.5 6Z'/%3E%3Cpath d='M0 6H7.5M16.5 6H24'/%3E%3Ccircle cx='12' cy='6' r='1.4' fill='%23000'/%3E%3C/g%3E%3C/svg%3E");
}
.tarif { --orne: #B08A4E; --orne-fort: .26; }
.tarif-carte { align-items: center; text-align: center; padding: 28px 22px 22px; border-radius: 18px; min-height: 0; isolation: isolate; }
.tarif-carte::after { content: none; }
.tarif-carte > *:not(.tarif-motif):not(.tarif-arche) { position: relative; z-index: 2; }
.tarif-carte .marque--carte { align-self: center; margin-bottom: 12px; }
.tarif-prix { justify-content: center; margin-top: 10px; }
.tarif-prix small { text-align: center; }
/* Arabesque gravée : marquée en haut, elle s'efface vers le prix pour laisser le texte lisible */
.tarif-motif {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; background: var(--orne); opacity: var(--orne-fort);
  -webkit-mask-image: var(--motif-girih), linear-gradient(180deg, #000 0%, rgb(0 0 0 / .55) 45%, transparent 85%);
  mask-image: var(--motif-girih), linear-gradient(180deg, #000 0%, rgb(0 0 0 / .55) 45%, transparent 85%);
  -webkit-mask-size: 54px 54px, 100% 100%; mask-size: 54px 54px, 100% 100%;
  -webkit-mask-repeat: repeat, no-repeat; mask-repeat: repeat, no-repeat;
  -webkit-mask-position: center top, 0 0; mask-position: center top, 0 0;
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
/* Arche de porte (bab) à double filet, comme une gravure sur laiton */
.tarif-arche { position: absolute; inset: 8px 8px 0; width: calc(100% - 16px); height: calc(100% - 8px); z-index: 1; pointer-events: none; }
.tarif-arche path { fill: none; stroke: var(--orne); stroke-width: 1.2; vector-effect: non-scaling-stroke; opacity: .85; }
.tarif-arche path + path { opacity: .5; }
/* Fond plein à l'intérieur de l'arche : le texte reste net sur le motif */
.tarif-carte::before {
  content: ''; position: absolute; z-index: 0; inset: 16px 16px 0; pointer-events: none;
  background: radial-gradient(120% 70% at 50% 100%, var(--fond-arche, transparent) 40%, transparent 75%);
}
/* Frise de zellige entre l'en-tête et la liste */
.tarif-frise {
  display: block; height: 12px; margin: -4px 6px 0; background: var(--orne); opacity: .55;
  -webkit-mask: var(--motif-frise) 0 0 / 24px 12px repeat-x; mask: var(--motif-frise) 0 0 / 24px 12px repeat-x;
}

/* Découverte : crème, gravure couleur sable */
.tarif--gratuit { background: #FFFBF3; border-color: #EADCC0; --orne: #A9844A; --orne-fort: .3; }
.tarif--gratuit .tarif-carte { background: linear-gradient(165deg, #FDF6E8, #F2E4C8); color: #3A2D1B; border: 1px solid #E6D3AE; }
.tarif--gratuit .tarif-carte small, .tarif--gratuit .tarif-an, .tarif--gratuit .tarif-an--vide { color: #7A6544; }
.tarif--gratuit .marque--carte { color: #3A2D1B; --lettre: #FDF6E8; --point: var(--accent); }
.tarif--gratuit .marque--carte .marque-ma { color: #7A6544; }
.tarif--gratuit .tarif-carte { --fond-arche: rgb(253 246 232 / .9); }
/* Essentiel : brun nuit, gravure laiton (dinanderie) */
.tarif--decouverte { --fond-carte: linear-gradient(165deg, #2E271E, #15110C); --orne: #C9A35A; --orne-fort: .32; }
.tarif--decouverte .tarif-carte { --fond-arche: rgb(21 17 12 / .75); }
/* Pro : vermillon, gravure crème */
.tarif--pro { --fond-carte: linear-gradient(165deg, #E65A3D, #A92C17); --orne: #FFE3C4; --orne-fort: .3; }
.tarif--pro .tarif-carte { --fond-arche: rgb(169 44 23 / .6); }
/* VIP : or, gravure bronze */
.tarif--vip { --fond-carte: linear-gradient(165deg, #E0BC63, #8E6418); --orne: #4F3504; --orne-fort: .3; }
.tarif--vip .tarif-carte { --fond-arche: rgb(142 100 24 / .55); }
.tarif--vip .tarif-sous-nom { color: #3E2A05; }
.tarif--vip .tarif-an { color: rgb(255 255 255 / .9); }
.tarif-sous-nom { position: relative; z-index: 2; }
.tarif--pro .tarif-frise { background: #D2462B; opacity: .45; }
.tarif-an, .tarif-prix small { text-wrap: balance; }
/* Sans arches : plus de voile derrière le texte ; « ou 600 DH par an » puis la pastille d'économie sur sa ligne */
.tarif-carte::before { content: none; }
.tarif-an, .tarif-prix small { text-wrap: wrap; }
.tarif--vip .tarif-an { display: flex; flex-direction: column; align-items: center; gap: 6px; }

/* ---------- Haut de l'accueil : grand titre, « 1 dirham par jour » mis en évidence, « Vous êtes… » en introduction (2026-11-07) ---------- */
.ouverture--question .ouverture-titre {
  margin: 0; max-width: 18ch; font-size: clamp(2.5rem, 1.2rem + 5.2vw, 5.2rem); font-weight: 700; line-height: 1.02; letter-spacing: -.04em; text-wrap: balance; color: var(--encre);
}
.ouverture--question .ouverture-titre em { font-style: normal; color: var(--accent); }
html[dir="rtl"] .ouverture--question .ouverture-titre { letter-spacing: 0; line-height: 1.3; }
/* « Vous êtes… » devient l'introduction des tuiles */
.ouverture--question .ouverture-question { margin-top: 30px; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.3rem); font-weight: 650; letter-spacing: -.02em; line-height: 1.1; }
html[dir="rtl"] .ouverture--question .ouverture-question { letter-spacing: 0; line-height: 1.4; }
.ouverture--question .tuiles-metiers { margin-top: 16px; }

/* Bandeau « 1 dirham par jour » : médaille dorée gravée + phrase forte */
.dirham {
  position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; gap: 18px; width: min(100%, 760px); margin-top: 26px;
  padding: 14px 18px 14px 14px; border-radius: 26px; text-decoration: none; color: #2E2316; text-align: start;
  background: linear-gradient(120deg, #FFF8E8, #F6E6C2); border: 1px solid #E6CC92;
  box-shadow: 0 1px 0 rgb(255 255 255 / .8) inset, 0 18px 40px -22px rgb(150 105 20 / .55);
  transition: transform var(--transition), box-shadow var(--transition);
}
html[dir="rtl"] .dirham { padding: 14px 14px 14px 18px; }
.dirham::before {
  content: ''; position: absolute; inset: 0; z-index: -1; background: #B8892E; opacity: .14;
  -webkit-mask: var(--motif-girih) 0 0 / 46px 46px repeat; mask: var(--motif-girih) 0 0 / 46px 46px repeat;
}
.dirham:hover { transform: translateY(-2px) scale(1.01); box-shadow: 0 1px 0 rgb(255 255 255 / .8) inset, 0 24px 48px -22px rgb(150 105 20 / .65); }
.dirham-medaille {
  flex: none; display: grid; place-items: center; align-content: center; width: 92px; height: 92px; border-radius: 50%; color: #4A3205;
  background: radial-gradient(circle at 35% 30%, #FBE7A6, #E2B23C 55%, #B8892E);
  box-shadow: 0 0 0 4px #FFF8E8, 0 0 0 5px #D9B055, 0 10px 22px -8px rgb(120 80 0 / .6);
}
.dirham-medaille b { font-size: 2.6rem; line-height: .9; font-weight: 800; letter-spacing: -.04em; }
.dirham-medaille small { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
html[dir="rtl"] .dirham-medaille small { text-transform: none; letter-spacing: 0; }
.dirham-texte { display: grid; gap: 4px; flex: 1; }
.dirham-texte strong { font-size: clamp(1.15rem, .95rem + .9vw, 1.6rem); line-height: 1.2; letter-spacing: -.015em; }
html[dir="rtl"] .dirham-texte strong { letter-spacing: 0; line-height: 1.5; }
.dirham-texte span { font-size: .92rem; color: #6E5B40; }
.dirham-fleche { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #2E2316; color: #FFF8E8; }
@media (max-width: 560px) {
  .dirham { flex-direction: column; text-align: center; padding: 18px 16px; gap: 12px; }
  .dirham-fleche { display: none; }
}

/* ---------- Listes de villes : champ de recherche + liste filtrée (fnan.js) ---------- */
.ville-recherche { position: relative; width: 100%; }
.ville-recherche > input { width: 100%; padding-inline-end: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B6257' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m20 20-4.2-4.2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; }
html[dir="rtl"] .ville-recherche > input { background-position: left 13px center; }
.ville-liste {
  position: absolute; z-index: 60; top: calc(100% + 6px); inset-inline: 0; max-height: 300px; overflow-y: auto; margin: 0; padding: 6px; list-style: none;
  background: var(--surface, #fff); border: 1px solid var(--ligne-forte); border-radius: 14px; box-shadow: var(--ombre-forte); text-align: start;
}
.ville-liste li { padding: 9px 12px; border-radius: 9px; cursor: pointer; font-size: .95rem; }
.ville-liste li[aria-selected="true"], .ville-liste li:hover { background: var(--surface-2); }
.ville-liste .ville-toutes { font-weight: 600; }
.ville-liste .ville-vide { color: var(--encre-2); cursor: default; }
.moteur-champ .ville-recherche > input { border: 0; background-color: transparent; }
/* La liste d'origine reste dans le formulaire mais invisible, collée en haut à gauche (sinon elle élargit la page en arabe). */
.ville-recherche > select { position: absolute !important; top: 0; left: 0; width: 1px !important; min-width: 0 !important; height: 1px !important; padding: 0 !important; border: 0 !important; opacity: 0; pointer-events: none; }

/* ---------- Huitième univers : Danseurs & Chorégraphes (2026-11-08) ; huit tuiles = deux rangées de quatre ---------- */
:root { --danseur: #12839A; }
.puce-univers--danseur, .carte-opp--danseur, .bandeau-page--danseur, .univers-carte--danseur, .choix-profil--danseur, .lien-univers--danseur,
.tuile-metier--danseur, .autre-metier--danseur, .tuile-univers--danseur, .eventail--danseur { --couleur: var(--danseur); }
@media (min-width: 960px) {
  .univers-mosaique .tuile-univers { grid-column: span 3 !important; }
}
/* Lecteurs audio (SoundCloud, Spotify) : bande basse au lieu d'un cadre vidéo */
.video--audio { aspect-ratio: auto; }
.video--audio iframe { height: 166px; aspect-ratio: auto; }

/* ---------- Accueil (2026-11-08) : titre, puis les 8 univers tout en haut, puis « Vous êtes… » ---------- */
.ouverture--tete { padding-bottom: 6px; }
.ouverture--suite { padding-top: 10px; }
.ouverture--suite .ouverture-question { margin-top: 6px; }
.section-univers--haut { padding-top: 18px; padding-bottom: 8px; }
.section-univers--haut .section-tete--univers { justify-content: center; text-align: center; }
.section-univers--haut .section-tete--univers h2 { font-size: clamp(1.3rem, 1rem + 1.4vw, 1.9rem); }
.section-univers--haut .section-tete-texte { display: none; }
.section-univers--haut .univers-mosaique { margin-top: 14px; }
@media (max-width: 639px) {
  .section-univers--haut .tuile-univers { min-height: 168px; }
  .section-univers--haut .tuile-univers-texte, .section-univers--haut .pile-avatars, .section-univers--haut .tuile-univers-compte { display: none; }
  .section-univers--haut .tuile-univers-titre { font-size: .92rem; }
}
@media (min-width: 960px) { .section-univers--haut .univers-mosaique { grid-auto-rows: 262px; } .section-univers--haut .tuile-univers-titre { font-size: 1.28rem; } .section-univers--haut .tuile-univers-texte { font-size: .84rem; } }

/* En-tête au téléphone : « Connexion » et « Créer ma vitrine » visibles d'emblée ;
   la recherche et la langue passent dans le menu (elles y sont aussi). */
.menu-langue { display: flex; justify-content: center; }
@media (max-width: 639px) {
  .entete-actions { gap: 4px; }
  .entete-actions > .entete-recherche, .entete-actions > .bascule-langue { display: none; }
  .lien-connexion { display: inline-flex; white-space: nowrap; padding: 6px 4px; text-decoration: none; font-weight: 600; font-size: .84rem; }
  .entete-actions > .bouton { display: inline-flex; min-height: 36px; padding: 6px 11px; font-size: .8rem; white-space: nowrap; }
  .menu-mobile > summary { width: 38px; height: 38px; }
}
@media (max-width: 350px) { .lien-connexion { font-size: .78rem; } .entete-actions > .bouton { padding-inline: 8px; font-size: .74rem; } }

/* ---------- Votes sur les photos, badge de popularité, message lié à une photo (2026-11-08) ---------- */
figure.galerie-item, figure.book-cellule { margin: 0; position: relative; }
.galerie-lien { display: block; }
.book-cellule { display: block; }
.votes { display: flex; align-items: center; gap: 4px; padding: 6px; }
.galerie-item .votes, .book-cellule .votes {
  position: absolute; inset-inline: 8px; bottom: 8px; padding: 4px; border-radius: 999px; justify-content: flex-start;
  background: rgb(255 255 255 / .88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 6px 16px -8px rgb(0 0 0 / .45);
  opacity: 0; transform: translateY(6px); transition: opacity var(--transition), transform var(--transition);
}
.galerie-item:hover .votes, .galerie-item:focus-within .votes, .book-cellule:hover .votes, .book-cellule:focus-within .votes { opacity: 1; transform: none; }
@media (hover: none) { .galerie-item .votes, .book-cellule .votes { opacity: 1; transform: none; } }
.portfolio-cellule .votes { justify-content: center; }
.vote {
  display: inline-flex; align-items: center; gap: 4px; min-height: 32px; padding: 4px 9px; border-radius: 999px; border: 0; cursor: pointer;
  font: inherit; font-size: .8rem; font-weight: 600; color: var(--encre-2); background: transparent; text-decoration: none; transition: background var(--transition), color var(--transition), transform var(--transition);
}
.vote .ic { width: 16px; height: 16px; }
.vote:hover { background: var(--surface-2); color: var(--encre); }
.vote:active { transform: scale(.92); }
.vote[data-vote="coup_de_coeur"].est-choisi { color: #D63A5E; background: #FDE7EC; }
.vote[data-vote="coup_de_coeur"].est-choisi .ic { fill: currentColor; }
.vote[data-vote="magnifique"].est-choisi { color: #8C6418; background: #FBF0D2; }
.vote[data-vote="excellent"].est-choisi { color: #2F56D9; background: #E5ECFF; }
.vote--message { margin-inline-start: auto; color: #128C4A; }
.vote--message:hover { background: #E3F6EA; color: #0E7A3F; }
.badge-populaire {
  position: absolute; z-index: 2; top: 10px; inset-inline-start: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px 4px 7px;
  border-radius: 999px; font-size: .74rem; font-weight: 700; color: #fff; background: linear-gradient(135deg, #F0567A, #C2265A); box-shadow: 0 6px 14px -6px rgb(194 38 90 / .7);
}
.badge-populaire .ic { width: 14px; height: 14px; fill: currentColor; }
.portfolio-cellule { position: relative; }
.portfolio-suite[data-sentinelle] { height: 1px; margin: 0; }

/* ---------- Barre d'actions flottante du profil (2026-11-08) : favori, j'aime, message, partager, parrainer, créer sa vitrine ---------- */
.barre-actions {
  position: fixed; z-index: 40; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  display: flex; align-items: center; gap: 2px; max-width: calc(100% - 20px); padding: 6px; border-radius: 999px;
  background: rgb(255 255 255 / .9); -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5);
  border: 1px solid var(--ligne); box-shadow: 0 18px 40px -16px rgb(23 20 15 / .45);
}
.action-vote { display: contents; }
.action {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 6px 12px; border-radius: 999px; border: 0; cursor: pointer;
  font: inherit; font-size: .86rem; font-weight: 600; color: var(--encre); background: transparent; text-decoration: none; white-space: nowrap;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.action .ic { width: 19px; height: 19px; }
.action:hover { background: var(--surface-2); }
.action:active { transform: scale(.94); }
.action.est-choisi { color: #D63A5E; }
.action.est-choisi .ic { fill: currentColor; }
.action[data-favori].est-choisi { color: #B8892E; }
.action b { font-weight: 700; }
.action--cta { margin-inline-start: 4px; padding-inline: 16px; color: #fff; background: var(--accent); }
.action--cta:hover { background: var(--accent-fonce); }
body.page-vitrine { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 760px) {
  /* Au téléphone, la barre flottante prend la place du bas de l'écran : la barre de contact reste dans la page. */
  .barre-contact { position: relative !important; bottom: auto !important; top: auto !important; margin-top: 14px; padding-bottom: 0 !important; }
  .barre-actions { left: 8px; right: 8px; transform: none; max-width: none; justify-content: space-between; padding: 5px; }
  .action { flex-direction: column; gap: 2px; min-height: 52px; padding: 5px 6px; font-size: .64rem; flex: 1 1 0; min-width: 0; }
  .action span { overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .action--cta { flex: 1.4 1 0; justify-content: center; font-size: .74rem; }
}
.action .cta-court { display: none; }
@media (max-width: 760px) { .action .cta-long { display: none; } .action .cta-court { display: inline; } }
.favori-retirer { margin: 10px auto 14px; display: flex; }

/* ---------- Fenêtres d'aide : bannière sans filigrane (dimensions idéales), partage d'une photo ---------- */
.dialogue { width: min(560px, calc(100% - 32px)); padding: 24px; border: 0; border-radius: 22px; background: var(--fond); color: var(--encre); box-shadow: var(--ombre-forte); }
.dialogue::backdrop { background: rgb(23 20 15 / .45); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.dialogue h2 { margin: 0 0 14px; font-size: 1.3rem; }
.banniere-gabarit { position: relative; aspect-ratio: 16 / 5; border-radius: 14px; border: 2px dashed var(--ligne-forte); display: grid; place-items: center; background: repeating-linear-gradient(45deg, var(--surface), var(--surface) 10px, var(--surface-2) 10px, var(--surface-2) 20px); }
.banniere-gabarit span { position: relative; z-index: 1; padding: 4px 12px; border-radius: 999px; background: var(--fond); font-weight: 700; font-size: .9rem; }
.banniere-gabarit i { position: absolute; inset: 0 22%; border-inline: 2px solid color-mix(in srgb, var(--accent) 45%, transparent); }
.liste-aide { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 10px; }
.liste-aide li { display: flex; gap: 10px; align-items: flex-start; }
.liste-aide .ic { flex: none; color: var(--accent); margin-top: .15em; }
.dialogue-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.dialogue-actions--colonne { flex-direction: column; align-items: stretch; }
.partage-apercu { display: block; max-height: 260px; margin: 0 auto 14px; border-radius: 12px; }

/* ---------- Actualité & médias (Pass Pro et VIP) ---------- */
.grille--actus { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.carte-actu { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--rayon); background: var(--surface); border: 1px solid var(--ligne); box-shadow: var(--ombre-douce); }
.carte-actu-media { aspect-ratio: 16 / 10; background: var(--surface-2); }
.carte-actu-media img, .carte-actu-media iframe { width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.carte-actu-corps { padding: 14px 16px 16px; display: grid; gap: 6px; }
.carte-actu-corps h3 { margin: 0; font-size: 1.08rem; }
.carte-actu-corps p { margin: 0; color: var(--encre-2); font-size: .93rem; }
.carte-actu-meta { display: flex; align-items: center; gap: 8px; font-size: .8rem !important; }
.puce-actu { padding: 2px 9px; border-radius: 999px; background: var(--accent-pale); color: var(--accent-fonce); font-weight: 700; }
/* Barre d'actions : compteur de « j'aime » en pastille ; au téléphone, libellés courts sans coupure */
.action { position: relative; }
.action-compte { font-weight: 700; }
.action-compte:empty { display: none; }
@media (max-width: 760px) {
  .action { padding: 4px 2px; font-size: .62rem; letter-spacing: -.01em; }
  .action span { text-overflow: clip; }
  .action--cta { flex: 1.15 1 0; padding-inline: 8px; font-size: .72rem; }
  .action-compte { position: absolute; top: 2px; inset-inline-start: calc(50% + 6px); min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: #D63A5E; color: #fff; font-size: .6rem; line-height: 16px; text-align: center; }
}

/* ---------- Focus Photographes & Vidéastes (2026-11-09) ---------- */
@media (min-width: 760px) { .tuiles-metiers--focus { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; margin-inline: auto; } .tuiles-metiers--focus .tuile-metier { aspect-ratio: 4 / 3.4; } .tuiles-metiers--focus .tuile-metier-bas strong { font-size: 2rem; } }
.nav-mobile-univers--seul { grid-template-columns: 1fr !important; }
.tarif-carte-physique { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 6px; margin: 8px 0 0; padding: 4px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700; background: rgb(255 255 255 / .18); }
.tarif--gratuit .tarif-carte-physique { background: rgb(0 0 0 / .06); }


/* ---------- Vitrine : ambiance sombre par défaut + 7 couleurs au choix (2026-11-09) ---------- */
body.ambiance--nuit     { --fond: #0f0f11; --surface: #18181b; --surface-2: #232327; --accent: #e0b04a; }
body.ambiance--majorelle { --fond: #0a1330; --surface: #111d44; --surface-2: #1a2858; --accent: #5b84ff; }
body.ambiance--atlas    { --fond: #16110c; --surface: #211912; --surface-2: #2d231a; --accent: #d98a3a; }
body.ambiance--emeraude { --fond: #071a14; --surface: #0d251d; --surface-2: #143428; --accent: #2fbf8f; }
body.ambiance--grenat   { --fond: #1a0a10; --surface: #251019; --surface-2: #341824; --accent: #ec5a82; }
body.ambiance--indigo   { --fond: #120f24; --surface: #1b1733; --surface-2: #262046; --accent: #9b7bff; }
body.ambiance--galerie  { --accent: #E0452B; }
body.ambiance:not(.ambiance--galerie) {
  --encre: #f4f4f5; --encre-2: #b4b4bb; --encre-3: #85858d; --ligne: rgb(255 255 255 / .09); --ligne-forte: rgb(255 255 255 / .18); --ligne-douce: rgb(255 255 255 / .06);
  --ombre-douce: 0 1px 2px rgb(0 0 0 / .3), 0 12px 30px -14px rgb(0 0 0 / .6); --ombre-relief: 0 2px 4px rgb(0 0 0 / .35), 0 18px 40px -14px rgb(0 0 0 / .7);
  --verre: color-mix(in srgb, var(--fond) 78%, transparent);
  background: radial-gradient(70% 50% at 85% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%), var(--fond);
  color: var(--encre); color-scheme: dark;
}
body.ambiance:not(.ambiance--galerie) :is(.entete, .entete--defile, .barre-contact, .barre-proprio) { background: var(--verre); border-color: var(--ligne); }
body.ambiance:not(.ambiance--galerie) :is(.barre-actions, .galerie-item .votes, .book-cellule .votes) { background: color-mix(in srgb, var(--surface) 92%, transparent); border-color: var(--ligne-forte); }
body.ambiance:not(.ambiance--galerie) :is(.onglet-pilule, .etiquettes li, .bouton-reseau, .bascule-langue, .liste-detail li, .carte-actu, .appel-vitrine, .invitation-pass, .etiquette-demo, .carte-oeuvre, .portfolio-cellule) { background-color: var(--surface); border-color: var(--ligne-forte); color: var(--encre); }
body.ambiance:not(.ambiance--galerie) .onglet-pilule[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: #111; }
body.ambiance:not(.ambiance--galerie) .action--cta { color: #111; }
body.ambiance:not(.ambiance--galerie) :is(.vote, .action) { color: var(--encre); }
body.ambiance:not(.ambiance--galerie) .vitrine-banniere::after { background: linear-gradient(180deg, transparent 55%, var(--fond)); }
body.ambiance:not(.ambiance--galerie) .marque, body.ambiance:not(.ambiance--galerie) .symbole { color: var(--encre); }
body.ambiance:not(.ambiance--galerie) .bouton--plein { color: #111; }
body.ambiance:not(.ambiance--galerie) .puce-actu { background: color-mix(in srgb, var(--accent) 22%, transparent); color: var(--accent); }
body.ambiance:not(.ambiance--galerie) .mention-certifie { background: rgb(59 130 246 / .16); }
body.ambiance:not(.ambiance--galerie) .pied { border-top: 1px solid var(--ligne); }

/* Tirages et commande WhatsApp sous chaque photo */
.galerie-tirages { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 10px 12px; background: var(--surface); }
.tirages-liste { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.tirage { padding: 2px 8px; border-radius: 999px; font-size: .72rem; font-weight: 600; border: 1px solid var(--ligne-forte); color: var(--encre-2); }
.tirages-ref { font-size: .72rem; font-weight: 700; letter-spacing: .04em; color: var(--accent); }
.galerie-tirages .bouton { min-height: 34px; font-size: .8rem; padding-inline: 12px; flex: 1 1 100%; max-width: 100%; white-space: normal; text-align: center; line-height: 1.2; }
.galerie-item:has(.galerie-tirages) .votes { top: 8px; bottom: auto; inset-inline-start: auto; }
.tirages-choix .pastilles-liste { gap: 4px; }
.tirages-choix .pastille span { font-size: .78rem; padding: 4px 9px; }

/* Carte de membre physique (pass annuel Pro « Titane » ou VIP « Gold ») */
.vitrine-identite:has(.carte-physique) { flex-wrap: wrap; }
.carte-physique { margin-inline-start: auto; display: grid; gap: 8px; justify-items: center; }
.cp-carte {
  position: relative; overflow: hidden; display: flex; flex-direction: column; width: 280px; aspect-ratio: 85.6 / 54; padding: 14px 16px; border-radius: 14px; color: #1d1d1f;
  background: linear-gradient(135deg, #f2f3f5, #b8bcc4 35%, #e9ebee 55%, #8e939b 80%, #d6d9de);
  box-shadow: 0 1px 0 rgb(255 255 255 / .7) inset, 0 18px 36px -16px rgb(0 0 0 / .7); transform: rotate(-3deg);
}
.carte-physique--gold .cp-carte { color: #3b2804; background: linear-gradient(135deg, #fbe9a8, #d9a733 35%, #f6d978 55%, #a87618 80%, #f1cf6a); }
.cp-reflet { position: absolute; inset: -40% -60%; background: linear-gradient(115deg, transparent 40%, rgb(255 255 255 / .55) 50%, transparent 60%); animation: cp-reflet 6s ease-in-out infinite; }
@keyframes cp-reflet { 0%, 60% { transform: translateX(-40%); } 100% { transform: translateX(40%); } }
.cp-haut { position: relative; display: flex; justify-content: space-between; align-items: center; }
.cp-carte .marque--carte { color: currentColor; font-size: .82rem; --lettre: #f2f3f5; --point: #E0452B; }
.cp-carte .marque--carte .marque-ma { color: currentColor; opacity: .7; }
.cp-puce { width: 34px; height: 26px; border-radius: 6px; background: linear-gradient(135deg, #e7cf86, #b48a2c); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .2); }
.cp-genre { position: relative; margin-top: auto; font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.cp-nom { position: relative; font-size: 1.05rem; font-weight: 700; letter-spacing: .02em; }
.cp-bas { position: relative; display: flex; justify-content: space-between; font-size: .64rem; font-weight: 600; opacity: .75; }
.cp-badge { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 4px 11px; border-radius: 999px; font-size: .74rem; font-weight: 700; color: #3b82f6; background: rgb(59 130 246 / .12); }
@media (max-width: 760px) { .carte-physique { margin: 14px auto 0; width: 100%; } .cp-carte { width: min(280px, 82vw); } }
@media (prefers-reduced-motion: reduce) { .cp-reflet { animation: none; } }

/* Choix de l'ambiance dans « Mon profil » */
.ambiances-liste { display: flex; flex-wrap: wrap; gap: 8px; }
.ambiance-choix { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; border: 1px solid var(--ligne-forte); cursor: pointer; font-size: .9rem; font-weight: 600; }
.ambiance-choix input { position: absolute; opacity: 0; pointer-events: none; }
.ambiance-choix:has(input:checked) { border-color: var(--encre); box-shadow: 0 0 0 2px var(--encre); }
.ambiance-choix:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.ambiance-pastille { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--a-fond); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .15); }
.ambiance-pastille i { width: 12px; height: 12px; border-radius: 50%; background: var(--a-accent); }
.ambiance-choix--nuit { --a-fond: #0f0f11; --a-accent: #e0b04a; } .ambiance-choix--majorelle { --a-fond: #0a1330; --a-accent: #5b84ff; }
.ambiance-choix--atlas { --a-fond: #16110c; --a-accent: #d98a3a; } .ambiance-choix--emeraude { --a-fond: #071a14; --a-accent: #2fbf8f; }
.ambiance-choix--grenat { --a-fond: #1a0a10; --a-accent: #ec5a82; } .ambiance-choix--indigo { --a-fond: #120f24; --a-accent: #9b7bff; }
.ambiance-choix--galerie { --a-fond: #f6f3ee; --a-accent: #E0452B; }
body.ambiance:not(.ambiance--galerie) .entete-actions > .bouton { background: var(--accent); border-color: var(--accent); color: #111; }
body.ambiance .cp-carte .marque, body.ambiance .cp-carte .marque-ma { color: currentColor !important; }
.cp-carte .symbole { color: currentColor; }

/* ---------- Accueil (2026-11-09) : deux grands pôles Photographes / Vidéastes sous le titre ---------- */
.ouverture--poles { padding-bottom: 18px; }
.poles { display: grid; gap: 14px; width: 100%; margin-top: 26px; text-align: start; }
@media (min-width: 760px) { .poles { grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 34px; } }
.pole {
  --couleur: var(--photographe);
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between;
  min-height: 300px; padding: 18px; border-radius: 26px; color: #fff; text-decoration: none; box-shadow: var(--ombre-relief);
  transition: transform var(--transition), box-shadow var(--transition);
}
.pole--videastes { --couleur: #6A47DB; }
@media (min-width: 760px) { .pole { min-height: 440px; padding: 24px; } }
.pole-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.pole::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(0 0 0 / .25), rgb(0 0 0 / 0) 30%, rgb(0 0 0 / .1) 50%, color-mix(in srgb, var(--couleur) 55%, rgb(5 5 8 / .92)) 100%); }
@media (hover: hover) { .pole:hover { transform: translateY(-4px); } .pole:hover .pole-image { transform: scale(1.05); } }
.pole-haut { display: flex; justify-content: flex-end; }
.pole-compte { padding: 6px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; background: rgb(255 255 255 / .2); border: 1px solid rgb(255 255 255 / .35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.pole-bas { display: grid; gap: 6px; }
.pole-titre { font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); font-weight: 750; line-height: 1; letter-spacing: -.035em; text-shadow: 0 2px 18px rgb(0 0 0 / .3); }
html[dir="rtl"] .pole-titre { letter-spacing: 0; line-height: 1.25; }
.pole-texte { font-size: .95rem; color: rgb(255 255 255 / .88); }
.pole-vignettes { display: flex; gap: 8px; margin-top: 6px; }
.pole-vignettes img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; border: 2px solid rgb(255 255 255 / .85); box-shadow: 0 6px 14px -6px rgb(0 0 0 / .6); }
@media (max-width: 759px) { .pole-vignettes img { width: 52px; height: 52px; } }
.pole-pied { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.pole-noms { flex: 1; font-size: .86rem; font-weight: 600; color: rgb(255 255 255 / .92); }
.pole-fleche { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--couleur); flex: none; }
.ouverture--poles .ouverture-actions { justify-content: center; margin-top: 22px; }
.raccourcis { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 16px; }
.raccourcis a { padding: 5px 12px; border-radius: 999px; font-size: .84rem; font-weight: 600; text-decoration: none; color: var(--encre-2); border: 1px solid var(--ligne-forte); background: rgb(255 255 255 / .7); }
.raccourcis a:hover { color: var(--encre); border-color: var(--encre); }
.dirham--bref { margin-top: 18px; padding-block: 8px; }
.dirham--bref .dirham-medaille { width: 64px; height: 64px; }
.dirham--bref .dirham-medaille b { font-size: 1.8rem; }
.dirham--bref .dirham-medaille small { font-size: .56rem; }
.dirham--bref .dirham-texte strong { font-size: clamp(1rem, .9rem + .5vw, 1.2rem); }
.dirham--bref .dirham-texte span { display: none; }

/* Inscription : « Vous êtes… photographe ou vidéaste ? » en deux grandes photos */
.choix-metiers { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choix-metier { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; aspect-ratio: 4 / 5; border-radius: 20px; cursor: pointer; color: #fff; border: 3px solid transparent; box-shadow: var(--ombre-douce); transition: transform var(--transition), border-color var(--transition); }
.choix-metier input { position: absolute; opacity: 0; pointer-events: none; }
.choix-metier img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.choix-metier::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgb(5 5 8 / .85)); }
.choix-metier:hover { transform: translateY(-3px); }
.choix-metier:has(input:checked) { border-color: var(--accent); }
.choix-metier:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }
.choix-metier-texte { display: grid; gap: 2px; padding: 14px; }
.choix-metier-icone .ic { width: 22px; height: 22px; }
.choix-metier-texte small { font-size: .78rem; opacity: .85; }
.choix-metier-texte strong { font-size: clamp(1.2rem, 1rem + 1vw, 1.7rem); line-height: 1.1; }
@media (max-width: 759px) { .pole { min-height: 230px; padding: 16px; } .pole-vignettes { display: none; } .pole-titre { font-size: 2.1rem; } .pole-texte { font-size: .86rem; } .pole-noms { font-size: .78rem; } }


/* ---------- Spécialités en un clic (annuaire des photographes, 2026-11-09) ---------- */
.pastilles-specialites { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; margin-bottom: 6px; scrollbar-width: thin; }
.pastilles-specialites a { flex: none; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--ligne-forte); background: var(--surface); color: var(--encre); font-size: .88rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.pastilles-specialites a:hover { border-color: var(--encre); }
.pastilles-specialites a[aria-current="true"] { background: var(--encre); border-color: var(--encre); color: var(--fond); }

/* ---------- Avis clients vérifiés (2026-11-09) ---------- */
.etoiles { position: relative; display: inline-block; font-size: 1rem; line-height: 1; letter-spacing: 2px; white-space: nowrap; }
.etoiles::before { content: "★★★★★"; color: rgb(127 127 127 / .35); }
.etoiles::after { content: "★★★★★"; position: absolute; inset-block-start: 0; inset-inline-start: 0; width: var(--note, 0%); overflow: hidden; color: #F5B301; }
.etoiles--grand { font-size: 1.35rem; }
.vitrine-note { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; font-size: .9rem; font-weight: 600; }
.vitrine-note:hover span { text-decoration: underline; }
.avis-tete { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; }
.avis-tete h2 { margin: 0; }
.avis-moyenne { display: flex; align-items: center; gap: 10px; margin: 0; }
.avis-moyenne strong { font-size: 2rem; line-height: 1; }
.avis-moyenne span:last-child { opacity: .75; font-size: .9rem; }
.grille--avis { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 14px; margin-top: 16px; }
.carte-avis { padding: 18px; border-radius: var(--rayon); background: var(--surface); border: 1px solid var(--ligne); display: flex; flex-direction: column; gap: 10px; }
.carte-avis-tete { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.avis-verifie { display: inline-flex; align-items: center; gap: 4px; font-size: .78rem; font-weight: 700; color: #1E9E5A; }
.avis-verifie .ic { width: 16px; height: 16px; }
.carte-avis-texte { margin: 0; line-height: 1.55; }
.carte-avis-auteur { margin: auto 0 0; font-size: .85rem; opacity: .8; }
.note--avis { margin-top: 14px; }
.avis-client-tete { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.avis-client-tete h1 { margin: 0; }
.avis-client-tete .surtitre { margin: 0 0 4px; }
.choix-etoiles { border: 0; padding: 0; margin: 0 0 16px; }
.choix-etoiles legend { font-weight: 600; margin-bottom: 6px; }
.etoiles-saisie { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.etoiles-saisie input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.etoiles-saisie label { cursor: pointer; font-size: 2.4rem; line-height: 1; color: rgb(127 127 127 / .35); padding: 2px; }
.etoiles-saisie label::before { content: "★"; }
.etoiles-saisie input:checked ~ label, .etoiles-saisie label:hover, .etoiles-saisie label:hover ~ label { color: #F5B301; }
.etoiles-saisie input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.avis-nouveau { border-color: #1E9E5A; }
.mise-en-page-annuaire > div { min-width: 0; }
.avis-tete h2 { display: flex; align-items: center; gap: 10px; }
.etoiles-saisie { display: flex; justify-content: flex-end; width: fit-content; }
@media (min-width: 760px) { .pastilles-specialites { flex-wrap: wrap; overflow: visible; } }
/* 100 % photographes : un seul grand visuel, panoramique sur ordinateur. */
@media (min-width: 760px) { .poles--seul { grid-template-columns: 1fr; } .poles--seul .pole { min-height: 420px; } }
/* Accueil : carte « Créer ma vitrine » à côté de « Photographes » (2026-11-09) */
.pole--creer { --couleur: var(--accent); }
.pole--creer .pole-compte { background: var(--accent); border-color: var(--accent); }
.pole-adresse { justify-self: start; margin-top: 6px; padding: 8px 14px; border-radius: 12px; font-size: 1rem; font-weight: 600; background: rgb(255 255 255 / .16); border: 1px solid rgb(255 255 255 / .35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.pole-adresse b { color: #FFD9CF; }

/* ---------- Partage sur les réseaux (2026-11-09) ---------- */
.partage { width: min(460px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow: auto; padding: 20px; border: 0; border-radius: 22px; background: #fff; color: #17140f; box-shadow: 0 30px 80px -20px rgb(0 0 0 / .5); }
.partage::backdrop { background: rgb(12 10 8 / .6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
@media (max-width: 599px) {
  .partage { margin: auto 0 0; width: 100vw; max-width: none; border-radius: 22px 22px 0 0; padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px)); }
}
.partage-tete { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.partage-apercu { width: 64px; height: 64px; flex: none; object-fit: cover; border-radius: 12px; }
.partage-quoi { flex: 1; min-width: 0; }
.partage-quoi h2 { margin: 0; font-size: 1.1rem; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.partage-adresse { margin: 2px 0 0; font-size: .82rem; color: #6b6458; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: start; }
.partage-fermer { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #f1ede6; color: #17140f; font-size: 1.4rem; cursor: pointer; }
.partage-natif { margin-bottom: 14px; }
.partage-reseaux { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 6px; }
@media (min-width: 420px) { .partage-reseaux { grid-template-columns: repeat(5, 1fr); } }
.partage-reseau { display: grid; justify-items: center; gap: 6px; padding: 6px 2px; border: 0; background: none; color: #17140f; font: inherit; font-size: .76rem; font-weight: 600; text-decoration: none; cursor: pointer; border-radius: 12px; }
.partage-reseau:hover { background: #f6f3ee; }
.partage-reseau:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.partage-pastille { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; color: #fff; background: #4a443a; }
.partage-pastille .ic { width: 24px; height: 24px; }
.partage-reseau--whatsapp .partage-pastille { background: #25D366; }
.partage-reseau--facebook .partage-pastille { background: #1877F2; }
.partage-reseau--instagram .partage-pastille { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.partage-reseau--tiktok .partage-pastille { background: #111; }
.partage-reseau--pinterest .partage-pastille { background: #E60023; }
.partage-reseau--x .partage-pastille { background: #111; }
.partage-reseau--linkedin .partage-pastille { background: #0A66C2; }
.partage-reseau--telegram .partage-pastille { background: #229ED9; }
.partage-reseau--copier .partage-pastille { background: #ece6db; color: #17140f; }
.partage-astuce { margin: 14px 0 0; padding: 10px 12px; border-radius: 12px; background: #FFF4E5; color: #6b4a12; font-size: .86rem; line-height: 1.45; }
.partage-plus { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.partage-plus .bouton { flex: 1 1 160px; justify-content: center; }
.partage-plus [hidden] { display: none !important; }
/* Bouton « Partager » posé sur chaque photo de sa propre vitrine */
.galerie-item { position: relative; }
.galerie-partage { position: absolute; top: 10px; inset-inline-end: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 0; border-radius: 999px; background: rgb(255 255 255 / .92); color: #17140f; font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; box-shadow: 0 6px 18px -6px rgb(0 0 0 / .5); }
.galerie-partage .ic { width: 16px; height: 16px; }
.galerie-partage:hover { background: #fff; transform: translateY(-1px); }
[data-proprio] .galerie-lien { cursor: pointer; }
/* Visionneuse : bouton « Partager » en bas */
.visionneuse .v-partager { position: absolute; bottom: 52px; left: 50%; transform: translateX(-50%); width: auto; height: 42px; padding: 0 18px; border-radius: 999px; font-size: .92rem; font-weight: 700; background: #fff; color: #17140f; }
.visionneuse .v-partager:hover { background: #f1ede6; }
.espace-partager { margin: 10px 0 4px; justify-content: center; }
/* Téléphone : la barre du propriétaire passe à la ligne ; les cases cachées des ambiances ne débordent plus. */
.barre-proprio .enveloppe { flex-wrap: wrap; padding-block: 8px; }
.barre-proprio .enveloppe > span { flex: 1 1 100%; }
@media (min-width: 760px) { .barre-proprio .enveloppe > span { flex: 1 1 auto; } }
.ambiance-choix { position: relative; }
.ambiance-choix input { width: 1px; height: 1px; inset-inline-start: 0; }
/* Le panneau reste clair même sur une vitrine sombre : couleurs propres. */
.partage { --encre: #17140f; --encre-2: #4a443a; --fond: #fff; --surface: #fff; --surface-2: #f1ede6; --ligne: #e6dfd3; --ligne-forte: #d8d0c3; }
.partage .bouton--contour { background: #fff; color: #17140f; border: 1px solid #d8d0c3; }
.partage .bouton--contour:hover { border-color: #17140f; }

/* ---------- Clubs & académies, formations, partenaires (2026-11-09) ---------- */
.bandeau-page--structure, .bandeau-formations { --couleur: #1F7A6B; }
.bandeau-partenaires { --couleur: #A47B22; }
.bandeau-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.section--serre { padding-block: 22px; }
.pastilles-specialites a .ic { width: 16px; height: 16px; margin-inline-end: 4px; vertical-align: -3px; }
.filtre-ville-ligne { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; margin: 6px 0 12px; }
.filtre-ville-ligne .filtre { min-width: min(100%, 220px); }
.rejoindre-autre { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--ligne); font-size: .9rem; }
.rejoindre-autre .ic { width: 18px; height: 18px; }
.rejoindre-autre a { font-weight: 700; }
.pass--structure { background: linear-gradient(135deg, #E3F2EE, #F6FBF9); border-color: #BFE1D7; }
.pass--structure .pass-nom { color: #1F7A6B; }

/* Cartes de l'agenda */
.grille--formations { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 18px; }
.carte-formation { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: var(--surface); border: 1px solid var(--ligne); color: inherit; text-decoration: none; box-shadow: var(--ombre-douce); transition: transform var(--transition), box-shadow var(--transition); }
.carte-formation:hover { transform: translateY(-3px); box-shadow: var(--ombre-relief); }
.carte-formation-image { position: relative; aspect-ratio: 16 / 10; background: var(--surface-2); overflow: hidden; }
.carte-formation-image img { width: 100%; height: 100%; object-fit: cover; }
.carte-formation-vide { display: grid; place-items: center; width: 100%; height: 100%; color: var(--encre-2); }
.carte-formation-vide .ic { width: 42px; height: 42px; }
.formation-date { position: absolute; top: 12px; inset-inline-start: 12px; display: grid; justify-items: center; min-width: 54px; padding: 6px 8px; border-radius: 12px; background: #fff; color: #17140f; box-shadow: 0 6px 16px -6px rgb(0 0 0 / .45); line-height: 1; }
.formation-date b { font-size: 1.45rem; }
.formation-date small { margin-top: 3px; font-size: .72rem; font-weight: 700; text-transform: uppercase; color: #E0452B; }
.puce-formation { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; font-size: .76rem; font-weight: 700; color: #fff; background: #4a443a; }
.puce-formation .ic { width: 14px; height: 14px; }
.carte-formation-image .puce-formation { position: absolute; bottom: 10px; inset-inline-start: 12px; }
.puce-formation--formation { background: #2D3F6B; }
.puce-formation--workshop { background: #E0452B; }
.puce-formation--sortie { background: #1F7A6B; }
.puce-formation--evenement { background: #7A3E8C; }
.puce-formation--voyage { background: #1C6E9C; }
.puce-formation--fete { background: #C2410C; }
.puce-formation--celebration { background: #B5266B; }
.puce-formation--expo { background: #8C6418; }
.carte-formation-corps { display: grid; gap: 8px; padding: 14px 16px 16px; flex: 1; }
.carte-formation-titre { font-size: 1.05rem; line-height: 1.3; }
.carte-formation-meta { display: flex; align-items: center; gap: 5px; font-size: .84rem; color: var(--encre-2); }
.carte-formation-meta .ic { width: 15px; height: 15px; flex: none; }
.carte-formation-pied { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 8px; border-top: 1px solid var(--ligne); }
.carte-formation-orga { display: inline-flex; align-items: center; gap: 8px; min-width: 0; font-size: .84rem; font-weight: 600; }
.carte-formation-orga span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.carte-formation-prix { flex: none; font-weight: 800; }
.carte-formation-prix.est-gratuit { color: #1E9E5A; }

/* Fiche d'une formation */
.fiche-formation { display: grid; gap: 26px; align-items: start; }
@media (min-width: 900px) { .fiche-formation { grid-template-columns: 1.1fr 1fr; gap: 40px; } }
.fiche-formation-image { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface-2); }
.fiche-formation-image img { width: 100%; height: 100%; object-fit: cover; }
.fiche-formation-texte h1 { margin: 8px 0 16px; font-size: clamp(1.6rem, 1.2rem + 2vw, 2.4rem); line-height: 1.15; }
.fiche-formation-infos { display: grid; gap: 12px; margin: 0 0 20px; }
.fiche-formation-infos > div { display: grid; grid-template-columns: 22px 92px 1fr; gap: 10px; align-items: start; }
.fiche-formation-infos .ic { width: 20px; height: 20px; color: #E0452B; }
.fiche-formation-infos dt { font-weight: 700; color: var(--encre-2); }
.fiche-formation-infos dd { margin: 0; }
.fiche-formation-infos small { color: var(--encre-2); }
.fiche-formation-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.organisateur { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--ligne); background: var(--surface); color: inherit; text-decoration: none; }
.organisateur > span { display: grid; flex: 1; }
.organisateur small { color: var(--encre-2); font-size: .8rem; }
.organisateur:hover { border-color: var(--encre); }
.texte-formation { white-space: pre-line; line-height: 1.7; font-size: 1.02rem; }

/* Accueil : bande clubs & académies */
.bande-clubs { display: grid; gap: 22px; align-items: stretch; padding: clamp(18px, 3vw, 34px); border-radius: 26px; background: linear-gradient(135deg, #E3F2EE, #FBF8F2); border: 1px solid #CFE6DE; }
@media (min-width: 900px) { .bande-clubs { grid-template-columns: 1.1fr 1fr; gap: 34px; } }
.bande-clubs h2 { margin: 6px 0 10px; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem); line-height: 1.15; }
.bande-clubs-liste { list-style: none; padding: 0; margin: 14px 0 20px; display: grid; gap: 8px; }
.bande-clubs-liste li { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.bande-clubs-liste .ic { width: 18px; height: 18px; color: #1F7A6B; }
.bande-clubs-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.bande-clubs-visuel { position: relative; min-height: 240px; border-radius: 20px; overflow: hidden; display: block; }
.bande-clubs-visuel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.bande-clubs-visuel:hover img { transform: scale(1.04); }
.bande-clubs-compte { position: absolute; bottom: 14px; inset-inline-start: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgb(255 255 255 / .92); color: #17140f; font-size: .86rem; font-weight: 700; }

/* Partenaires */
.logos-partenaires { display: flex; flex-wrap: wrap; gap: 12px; }
.logos-partenaires a { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 16px; border: 1px solid var(--ligne); background: var(--surface); color: inherit; text-decoration: none; font-weight: 700; }
.logo-partenaire { width: 48px; height: 48px; flex: none; border-radius: 12px; object-fit: contain; background: #fff; }
.logo-partenaire--lettres { display: grid; place-items: center; background: #F6EBD3; color: #7A5A12; font-weight: 800; }
.partenaires-appel { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 18px; border: 2px dashed var(--ligne-forte); color: inherit; text-decoration: none; }
.partenaires-appel > span { display: grid; flex: 1; }
.partenaires-appel small { color: var(--encre-2); }
.partenaires-appel:hover { border-color: var(--encre); }
.partenaires-groupe + .partenaires-groupe { margin-top: 30px; }
.grille--partenaires { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.carte-partenaire { display: grid; gap: 12px; align-content: start; padding: 18px; border-radius: 18px; border: 1px solid var(--ligne); background: var(--surface); }
.carte-partenaire-tete { display: flex; align-items: center; gap: 12px; }
.carte-partenaire-tete h3 { margin: 0; }
.carte-partenaire-ville { display: flex; align-items: center; gap: 4px; margin: 2px 0 0; font-size: .84rem; color: var(--encre-2); }
.carte-partenaire-ville .ic { width: 14px; height: 14px; }
.carte-partenaire-texte { margin: 0; line-height: 1.55; }
.offre-membres { display: flex; gap: 10px; padding: 12px; border-radius: 14px; background: #FFF6E3; color: #5d4510; }
.offre-membres .ic { width: 20px; height: 20px; flex: none; color: #A47B22; }
.offre-membres p { margin: 2px 0 0; }
.offre-code code { padding: 2px 8px; border-radius: 6px; background: #fff; font-weight: 800; letter-spacing: .04em; }
.offre-code--cache a { font-weight: 700; }
.partenaires-vide { display: grid; justify-items: center; gap: 6px; padding: 40px 20px; text-align: center; border-radius: 22px; background: var(--surface); border: 1px solid var(--ligne); }
.partenaires-vide .ic { width: 40px; height: 40px; color: #A47B22; }
.partenaires-vide h2 { margin: 6px 0 0; }
.partenaires-vide p { max-width: 520px; color: var(--encre-2); }
.avantages-partenaire { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.avantages-partenaire li { display: flex; align-items: center; gap: 8px; }
.avantages-partenaire .ic { width: 18px; height: 18px; color: #1E9E5A; flex: none; }

/* Administration */
.pile-admin { display: grid; gap: 14px; }
.carte-admin-tete { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.carte-admin-tete > div { flex: 1; min-width: 200px; }
.carte-admin-tete h3 { margin: 2px 0; }
.vignette-admin { width: 110px; height: 76px; object-fit: cover; border-radius: 10px; }
.texte-admin { white-space: pre-line; color: var(--encre-2); }
.carte-admin.est-inactif { opacity: .6; }
.liste-gestion li.est-traitee { opacity: .6; }
.formulaire-partenaire { margin-top: 10px; }
.statut--publie { color: #1E9E5A; font-weight: 700; }

/* Menu à 6 liens : plus serré sous 1440 px pour que « Créer ma vitrine » reste visible. */
@media (max-width: 1799px) {
  .nav-principale { margin-inline-start: 10px; }
  .nav-principale a { padding: 8px 9px; font-size: .9rem; }
  .nav-principale .ic { display: none; }
}
.pastilles-specialites a { display: inline-flex; align-items: center; gap: 6px; }
.pastilles-specialites a .ic { margin: 0; vertical-align: 0; }
.bandeau-actions .bouton { white-space: normal; text-align: center; }
.organisateur .avatar { flex: none; }
.vitrine-formations .section-tete h2 { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; margin: 0; }
.vitrine-formations .section-tete { margin-bottom: 14px; }
.appel-vitrine .bouton { white-space: normal; text-align: center; max-width: 100%; }

/* Accueil : grande carte « Photographes » puis bandeau « Créer ma vitrine » (2026-11-09) */
.banniere-creer { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px 18px;
  padding: 14px 18px 14px 14px; border-radius: 22px; color: #fff; text-decoration: none; text-align: start;
  background: linear-gradient(110deg, #E0452B 0%, #C9381F 55%, #8E2A17 100%); box-shadow: var(--ombre-relief); transition: transform var(--transition), box-shadow var(--transition); }
html[dir="rtl"] .banniere-creer { padding: 14px 14px 14px 18px; background: linear-gradient(250deg, #E0452B 0%, #C9381F 55%, #8E2A17 100%); }
.banniere-creer::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 85% 0%, rgb(255 255 255 / .18), transparent 45%); }
@media (hover: hover) { .banniere-creer:hover { transform: translateY(-3px); } .banniere-creer:hover .pole-fleche { transform: translateX(3px); } }
.banniere-creer-photo { width: 76px; height: 76px; border-radius: 16px; overflow: hidden; flex: none; box-shadow: 0 8px 20px -8px rgb(0 0 0 / .5); border: 2px solid rgb(255 255 255 / .7); }
.banniere-creer-photo img { width: 100%; height: 100%; object-fit: cover; }
.banniere-creer-texte { display: grid; gap: 3px; min-width: 0; }
.banniere-creer-titre { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: clamp(1.3rem, 1rem + 1.2vw, 1.85rem); font-weight: 750; line-height: 1.1; letter-spacing: -.02em; }
html[dir="rtl"] .banniere-creer-titre { letter-spacing: 0; }
.banniere-creer-badge { padding: 4px 10px; border-radius: 999px; background: #fff; color: #C9381F; font-size: .78rem; font-weight: 800; letter-spacing: 0; }
.banniere-creer-sous { font-size: .92rem; color: rgb(255 255 255 / .88); }
.banniere-creer-adresse { display: none; margin: 0; }
.banniere-creer-fin { display: flex; align-items: center; gap: 10px; }
.banniere-creer-noms { font-size: .84rem; font-weight: 600; color: rgb(255 255 255 / .92); max-width: 190px; }
.banniere-creer .pole-fleche { color: #C9381F; transition: transform var(--transition); }
@media (min-width: 1000px) {
  .banniere-creer { grid-template-columns: auto 1fr auto auto; padding-block: 16px; }
  .banniere-creer-adresse { display: inline-flex; }
}
@media (max-width: 699px) {
  .banniere-creer { grid-template-columns: auto 1fr auto; padding: 10px; gap: 12px; border-radius: 18px; }
  .banniere-creer-photo { width: 54px; height: 54px; border-radius: 12px; }
  .banniere-creer-titre { font-size: 1.2rem; gap: 8px; }
  .banniere-creer-sous { font-size: .8rem; line-height: 1.35; }
  .banniere-creer-fin .pile-avatars, .banniere-creer-noms { display: none; }
  .banniere-creer .pole-fleche { width: 40px; height: 40px; }
}

/* ---------- Khawa (خاوة) — le cercle des photographes (2026-11-09) ---------- */
.page-khawa main { --kh-vert: #1F7A6B; --kh-vert-pale: #E3F2EE; --kh-moi: #FCE9E4; }
.khawa { display: grid; grid-template-columns: 1fr; height: calc(100dvh - 66px); min-height: 520px; max-width: 1400px; margin-inline: auto; }
@media (min-width: 900px) { .khawa { grid-template-columns: 290px 1fr; border-inline: 1px solid var(--ligne); } }

/* Colonne des salons */
.khawa-cote { display: flex; flex-direction: column; gap: 14px; padding: 16px; border-inline-end: 1px solid var(--ligne); background: var(--surface); overflow-y: auto; }
.khawa-marque { display: flex; align-items: center; gap: 12px; padding: 4px 4px 10px; border-bottom: 1px solid var(--ligne); }
.khawa-marque-ar { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(135deg, var(--kh-vert), #13544A); color: #fff; font-size: 1.35rem; font-weight: 800; }
.khawa-marque > span:last-child { display: grid; }
.khawa-marque strong { font-size: 1.2rem; }
.khawa-marque small { color: var(--encre-2); font-size: .8rem; }
.khawa-salons { display: grid; gap: 4px; }
.khawa-salons a { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 14px; color: inherit; text-decoration: none; }
.khawa-salons a > .ic { width: 22px; height: 22px; padding: 7px; box-sizing: content-box; border-radius: 12px; background: var(--fond); color: var(--kh-vert); }
.khawa-salons a > span { display: grid; min-width: 0; }
.khawa-salons small { color: var(--encre-2); font-size: .78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.khawa-salons a:hover { background: var(--fond); }
.khawa-salons a[aria-current] { background: var(--kh-vert-pale); }
.khawa-salons a[aria-current] > .ic { background: var(--kh-vert); color: #fff; }
.khawa-actifs p { margin: 0 0 8px; font-size: .8rem; font-weight: 700; color: var(--encre-2); text-transform: uppercase; letter-spacing: .05em; }
.khawa-actifs div { display: flex; flex-wrap: wrap; gap: 6px; }
.khawa-charte { margin-top: auto; padding: 12px; border-radius: 14px; background: var(--fond); font-size: .86rem; }
.khawa-charte summary { display: flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 700; }
.khawa-charte ul { margin: 10px 0 0; padding-inline-start: 18px; display: grid; gap: 6px; color: var(--encre-2); }
@media (max-width: 899px) {
  .khawa { height: calc(100dvh - 60px); grid-template-rows: auto 1fr; }
  .khawa-cote { flex-direction: row; padding: 8px 10px; gap: 8px; border-inline-end: 0; border-bottom: 1px solid var(--ligne); overflow-x: auto; overflow-y: hidden; }
  .khawa-marque, .khawa-actifs, .khawa-charte { display: none; }
  .khawa-salons { display: flex; gap: 6px; }
  .khawa-salons a { flex: none; padding: 7px 12px 7px 8px; border: 1px solid var(--ligne); border-radius: 999px; }
  .khawa-salons a > .ic { width: 16px; height: 16px; padding: 5px; border-radius: 50%; }
  .khawa-salons small { display: none; }
  .khawa-salons strong { font-size: .86rem; white-space: nowrap; }
}

/* Fil de discussion */
.khawa-fil { display: grid; grid-template-rows: auto 1fr auto; min-height: 0; background: linear-gradient(180deg, var(--fond), color-mix(in srgb, var(--kh-vert-pale) 35%, var(--fond))); }
.khawa-fil-tete { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--ligne); background: color-mix(in srgb, var(--surface) 88%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.khawa-fil-icone { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--kh-vert); color: #fff; flex: none; }
.khawa-fil-tete h1 { margin: 0; font-size: 1.15rem; }
.khawa-fil-tete p { margin: 0; font-size: .84rem; color: var(--encre-2); }
@media (max-width: 599px) { .khawa-fil-tete p { display: none; } .khawa-fil-tete { padding: 8px 12px; } .khawa-fil-icone { width: 34px; height: 34px; } }
.khawa-messages { overflow-y: auto; padding: 14px clamp(10px, 2.5vw, 26px) 18px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; scroll-behavior: smooth; }
.khawa-plus { align-self: center; padding: 6px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--ligne); font-size: .84rem; font-weight: 600; text-decoration: none; color: inherit; }
.kh-jour { align-self: center; margin: 8px 0 2px; padding: 4px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--ligne); font-size: .76rem; font-weight: 700; color: var(--encre-2); text-transform: capitalize; }

/* Un message */
.kh-msg { display: flex; align-items: flex-end; gap: 8px; max-width: min(640px, 92%); }
.kh-msg--moi { align-self: flex-end; flex-direction: row-reverse; }
.kh-avatar { flex: none; text-decoration: none; }
.kh-avatar--equipe { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--encre); color: #fff; }
.kh-avatar--equipe .symbole { width: 26px; height: 26px; --lettre: var(--encre); }
.kh-bulle { min-width: 0; padding: 9px 13px 8px; border-radius: 18px 18px 18px 6px; background: var(--surface); border: 1px solid var(--ligne); box-shadow: 0 2px 8px -6px rgb(0 0 0 / .25); }
html[dir="rtl"] .kh-bulle { border-radius: 18px 18px 6px 18px; }
.kh-msg--moi .kh-bulle { border-radius: 18px 18px 6px 18px; background: var(--kh-moi); border-color: #F3CFC5; }
html[dir="rtl"] .kh-msg--moi .kh-bulle { border-radius: 18px 18px 18px 6px; }
.kh-msg--equipe .kh-bulle { background: var(--kh-vert-pale); border-color: #BFE1D7; }
.kh-msg--masque .kh-bulle { opacity: .6; }
.kh-msg--cible .kh-bulle { outline: 3px solid var(--accent); outline-offset: 2px; }
.kh-tete { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-bottom: 3px; }
.kh-nom { font-weight: 700; font-size: .88rem; color: inherit; text-decoration: none; }
a.kh-nom:hover { text-decoration: underline; }
.kh-tete time { font-size: .74rem; color: var(--encre-2); margin-inline-start: auto; }
.kh-badge { display: inline-flex; align-items: center; gap: 3px; padding: 1px 7px; border-radius: 999px; font-size: .68rem; font-weight: 800; }
.kh-badge .ic { width: 12px; height: 12px; }
.kh-badge--equipe { background: var(--encre); color: #fff; }
.kh-badge--club { background: var(--kh-vert); color: #fff; }
.kh-badge--pro { background: #2D6BE0; color: #fff; }
.kh-tete .badge-vip { transform: scale(.82); transform-origin: left center; }
.kh-texte { margin: 0; white-space: pre-line; overflow-wrap: anywhere; line-height: 1.5; }
.kh-cite { display: flex; gap: 6px; margin: 2px 0 6px; padding: 6px 8px; border-inline-start: 3px solid var(--kh-vert); border-radius: 8px; background: rgb(0 0 0 / .04); color: var(--encre-2); font-size: .8rem; text-decoration: none; }
.kh-cite .ic { width: 14px; height: 14px; flex: none; margin-top: 2px; }
.kh-cite strong { color: var(--encre); }
.kh-masque { display: flex; align-items: center; gap: 6px; margin: 0 0 4px; font-size: .8rem; color: var(--encre-2); }
.kh-photo { margin-top: 6px; }
.kh-photo a { display: block; border-radius: 12px; overflow: hidden; }
.kh-photo img { display: block; width: 100%; max-width: 420px; max-height: 420px; object-fit: cover; }
.kh-pied { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; margin-top: 6px; }
.kh-reactions { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.kh-reaction { display: inline-flex; align-items: center; gap: 3px; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--ligne); background: var(--fond); font: inherit; font-size: .82rem; cursor: pointer; line-height: 1.5; }
.kh-reaction b { font-size: .76rem; }
.kh-reaction.est-choisi { border-color: var(--kh-vert); background: var(--kh-vert-pale); }
.kh-reaction--vide { opacity: .45; }
.kh-msg:hover .kh-reaction--vide, .kh-reaction--vide:focus-visible { opacity: 1; }
@media (pointer: coarse) { .kh-reaction--vide { opacity: .7; } }
.kh-actions { display: inline-flex; align-items: center; gap: 2px; }
.kh-actions form { display: inline; }
.kh-lien { display: inline-flex; align-items: center; gap: 4px; padding: 3px 6px; border: 0; border-radius: 8px; background: none; color: var(--encre-2); font: inherit; font-size: .78rem; font-weight: 600; cursor: pointer; }
.kh-lien .ic { width: 15px; height: 15px; }
.kh-lien:hover { background: rgb(0 0 0 / .06); color: var(--encre); }
.kh-lien--discret { opacity: .55; }

/* Barre d'écriture */
.khawa-ecrire { padding: 10px clamp(8px, 2vw, 18px) calc(10px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--ligne); background: var(--surface); }
.khawa-reponse { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; padding: 6px 10px; border-inline-start: 3px solid var(--kh-vert); border-radius: 8px; background: var(--kh-vert-pale); font-size: .84rem; }
.khawa-reponse > span { display: inline-flex; align-items: center; gap: 6px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.khawa-reponse[hidden] { display: none; }
.khawa-ecrire-ligne { display: flex; align-items: flex-end; gap: 8px; }
.khawa-ecrire textarea { flex: 1; min-width: 0; resize: none; max-height: 160px; padding: 11px 14px; border-radius: 22px; border: 1px solid var(--ligne-forte); background: var(--fond); font: inherit; line-height: 1.4; }
.khawa-ecrire textarea:focus { outline: 2px solid var(--kh-vert); outline-offset: 0; border-color: transparent; }
.khawa-joindre { display: flex; align-items: center; gap: 6px; }
.khawa-joindre .bouton-icone { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; border: 1px solid var(--ligne-forte); background: var(--fond); }
.khawa-apercu:empty { display: none; }
.khawa-apercu img { width: 44px; height: 44px; object-fit: cover; border-radius: 10px; }
.khawa-envoyer { min-height: 44px; border-radius: 999px; background: var(--kh-vert); border-color: var(--kh-vert); }
.khawa-envoyer:hover { background: #13544A; }
html[dir="rtl"] .khawa-envoyer .ic { transform: scaleX(-1); }
@media (max-width: 599px) { .khawa-envoyer span { display: none; } .khawa-envoyer { width: 44px; padding: 0; justify-content: center; } }
.page-khawa:not(.page-khawa--invitation) .pied { display: none; }

/* Invitation (visiteurs) */
.khawa-invitation { padding-block: clamp(30px, 6vw, 70px); background: linear-gradient(135deg, #E3F2EE, #FBF8F2 60%, #FCE9E4); border-bottom: 1px solid var(--ligne); }
.khawa-invitation-grille { display: grid; gap: 30px; align-items: center; }
@media (min-width: 900px) { .khawa-invitation-grille { grid-template-columns: 1.1fr 1fr; gap: 50px; } }
.khawa-titre { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin: 10px 0 4px; font-size: clamp(2.6rem, 1.6rem + 4vw, 4.6rem); line-height: 1; letter-spacing: -.03em; }
.khawa-titre span { color: #1F7A6B; letter-spacing: 0; }
.khawa-devise { margin: 0 0 12px; font-size: clamp(1.15rem, 1rem + .8vw, 1.5rem); font-weight: 700; color: #13544A; }
.khawa-actifs-ligne { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-weight: 600; color: var(--encre-2); }
.khawa-valeurs { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.khawa-valeurs li { display: flex; gap: 14px; padding: 16px; border-radius: 18px; background: rgb(255 255 255 / .75); border: 1px solid var(--ligne); }
.khawa-valeurs li > span { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 14px; background: #1F7A6B; color: #fff; }
.khawa-valeurs strong { font-size: 1.05rem; }
.khawa-valeurs p { margin: 4px 0 0; color: var(--encre-2); }
.khawa-salons-apercu { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 12px; margin-bottom: 14px; }
.khawa-salon-carte { display: grid; gap: 6px; padding: 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--ligne); }
.khawa-salon-carte .ic { width: 26px; height: 26px; color: #1F7A6B; }
.khawa-salon-carte p { margin: 0; color: var(--encre-2); font-size: .9rem; }

/* Accueil : bandeau Khawa */
.bande-khawa { display: grid; gap: 18px; align-items: center; padding: clamp(18px, 3vw, 30px); border-radius: 26px; background: linear-gradient(120deg, #13544A, #1F7A6B 60%, #2C8E7D); color: #fff; }
@media (min-width: 900px) { .bande-khawa { grid-template-columns: auto 1fr auto; gap: 28px; } }
.bande-khawa-ar { display: grid; place-items: center; width: 92px; height: 92px; border-radius: 26px; background: rgb(255 255 255 / .14); font-size: 2.2rem; font-weight: 800; }
.bande-khawa h2 { margin: 0 0 6px; font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2rem); }
.bande-khawa p { margin: 0; color: rgb(255 255 255 / .86); }
.bande-khawa .bouton { background: #fff; color: #13544A; border-color: #fff; }

/* Clubs : membres, « Membre de », Pass Club (2026-11-09) */
.grille-membres { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 12px; }
.carte-membre-club { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; color: #fff; text-decoration: none; background: var(--surface-2); }
.carte-membre-club img, .carte-membre-club-vide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.carte-membre-club-vide { background: linear-gradient(135deg, #1F7A6B, #13544A); }
.carte-membre-club::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgb(5 5 8 / .85)); }
.carte-membre-club-bas { position: absolute; z-index: 1; inset-inline: 10px; bottom: 10px; display: flex; align-items: center; gap: 8px; }
.carte-membre-club-bas > span:last-child { display: grid; min-width: 0; }
.carte-membre-club-bas strong { font-size: .88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.carte-membre-club-bas small { font-size: .74rem; opacity: .85; }
.carte-membre-club:hover img { transform: scale(1.04); transition: transform .6s ease; }
.vitrine-membres .section-tete, .vitrine-formations .section-tete { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.vitrine-membres .section-tete h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 1.25rem; }
.compte-section { padding: 2px 10px; border-radius: 999px; background: var(--surface-2); font-size: .85rem; }
.membre-de { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0 0; font-size: .88rem; }
.membre-de > .ic { width: 18px; height: 18px; }
.membre-de a { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 3px; border-radius: 999px; border: 1px solid var(--ligne); background: var(--surface); color: inherit; text-decoration: none; font-weight: 600; }
.membre-de a:hover { border-color: currentColor; }
.liste-membres li { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.liste-membres li > div { flex: 1; min-width: 180px; display: grid; }
.liste-membres select { padding: 6px 8px; border-radius: 10px; border: 1px solid var(--ligne-forte); background: var(--surface); }
.recherche-membres { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; }
.recherche-membres .champ { flex: 1; min-width: 220px; margin: 0; }
.choix-pass--club { display: grid; gap: 14px; }
@media (min-width: 760px) { .choix-pass--club { grid-template-columns: 260px 1fr; align-items: center; } }
.pass-club-avantages { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pass-club-avantages li { display: flex; gap: 8px; align-items: center; }
.pass-club-avantages .ic { width: 18px; height: 18px; color: #1F7A6B; flex: none; }
.pass--structure.pass-choix { background: linear-gradient(135deg, #1F7A6B, #13544A); color: #fff; border-color: #13544A; }
.pass--expire { background: #FFF4E5; border-color: #F1D3A3; }
.pass--expire .pass-nom { color: #8a5a12; }
.tarif-club { display: grid; gap: 8px; align-content: center; justify-items: center; text-align: center; padding: 24px; border-radius: 20px; background: #fff; border: 1px solid #CFE6DE; }
.tarif-club-offert { margin: 0; padding: 4px 12px; border-radius: 999px; background: #1F7A6B; color: #fff; font-weight: 700; font-size: .84rem; }
.tarif-club .tarif-prix { margin: 0; }
.tarif-club .tarif-an { margin: 0 0 6px; color: var(--encre-2); }
.kh-avatar--equipe { background: transparent; color: #E0452B; }
.kh-avatar--equipe .symbole { width: 40px; height: 40px; --lettre: #fff; --point: #fff; }
.page-khawa, .bandeau-page--structure, .bandeau-formations { --couleur: #1F7A6B; }
.pass--structure { color: #13544A; }
.pass--structure .pass-fin { color: #2f6b60; opacity: 1; }
.pass--structure .bouton--contour { color: #13544A; border-color: #8fc7b8; background: #fff; }
.pass--structure .bouton--plein { background: #1F7A6B; border-color: #1F7A6B; color: #fff; }
.pass--expire .pass-fin { color: #8a5a12; }
.pass--structure.pass-choix, .pass--structure.pass-choix .pass-nom, .pass--structure.pass-choix small { color: #fff; }
.carte-partenaire .etiquette-demo { margin: 0 0 4px; }
.logos-demo { font-size: .7rem; font-weight: 700; color: var(--encre-2); }
.carte-partenaire-cat { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 4px; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #A47B22; }
.carte-partenaire-cat .etiquette-demo { text-transform: none; letter-spacing: 0; }

/* ---------- Missions & appels d'offres (2026-11-10) ---------- */
.bandeau-appels { --couleur: #2D3F6B; }
.bandeau-appels-grille { display: grid; gap: 22px; align-items: center; }
@media (min-width: 900px) { .bandeau-appels-grille { grid-template-columns: 1.3fr 1fr; } }
.carte-client { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 20px; background: #2D3F6B; color: #fff; text-decoration: none; box-shadow: var(--ombre-relief); transition: transform var(--transition); }
.carte-client:hover { transform: translateY(-3px); }
.carte-client > span:nth-child(2) { display: grid; flex: 1; gap: 2px; }
.carte-client strong { font-size: 1.15rem; }
.carte-client small { color: rgb(255 255 255 / .8); }
.carte-client-icone { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #fff; color: #2D3F6B; flex: none; }
.appels-encart { margin-top: 0; }
.grille--appels { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.carte-appel { display: grid; gap: 10px; align-content: start; padding: 16px 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--ligne); color: inherit; text-decoration: none; transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition); }
.carte-appel:hover { transform: translateY(-2px); border-color: #2D3F6B; box-shadow: var(--ombre-douce); }
.carte-appel-haut { display: flex; align-items: center; gap: 8px; }
.puce-appel { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: #E8ECF6; color: #2D3F6B; font-size: .78rem; font-weight: 700; }
.puce-appel .ic { width: 14px; height: 14px; }
.appel-neuf { padding: 3px 8px; border-radius: 999px; background: #E0452B; color: #fff; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.appel-verrou { margin-inline-start: auto; color: var(--encre-2); }
.appel-verrou .ic { width: 16px; height: 16px; }
.carte-appel-titre { font-size: 1.05rem; line-height: 1.3; }
.carte-appel-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; font-size: .84rem; color: var(--encre-2); }
.carte-appel-meta .ic { width: 15px; height: 15px; }
.carte-appel-pied { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; padding-top: 10px; border-top: 1px solid var(--ligne); font-size: .8rem; color: var(--encre-2); }
.carte-appel-pied b { color: var(--encre); }
.fiche-appel h1 { margin: 8px 0 18px; font-size: clamp(1.6rem, 1.2rem + 2vw, 2.3rem); line-height: 1.15; }
.fiche-appel-puces { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; }
.fiche-appel .texte-formation { margin: 0 0 22px; padding: 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--ligne); }
.appel-merci { text-align: center; }
.appel-merci-icone { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 8px; border-radius: 50%; background: #1E9E5A; color: #fff; }
.appel-merci-icone .ic { width: 32px; height: 32px; }
.appel-merci .actions-ligne { justify-content: center; }

/* ---------- Le Lab Fnan ---------- */
.bandeau-lab { --couleur: #7A3E8C; }
.lab-titre { font-size: clamp(2.6rem, 1.6rem + 4vw, 4.4rem); letter-spacing: -.035em; line-height: 1; margin: 10px 0 12px; }
.lab-titre span { color: #E0452B; }
.lab-rubriques { margin-top: 18px; }
.lab-une { margin-bottom: 22px; }
.grille--articles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.carte-article { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: var(--surface); border: 1px solid var(--ligne); color: inherit; text-decoration: none; transition: transform var(--transition), box-shadow var(--transition); }
.carte-article:hover { transform: translateY(-3px); box-shadow: var(--ombre-relief); }
.carte-article-image { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.carte-article-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.carte-article:hover .carte-article-image img { transform: scale(1.04); }
.carte-article-vide { display: grid; place-items: center; width: 100%; height: 100%; color: var(--encre-2); }
.carte-article-corps { display: grid; gap: 8px; padding: 16px 18px 18px; align-content: start; }
.carte-article-titre { font-size: 1.12rem; line-height: 1.3; }
.carte-article-chapo { color: var(--encre-2); line-height: 1.55; }
.carte-article-meta { font-size: .8rem; color: var(--encre-2); }
@media (min-width: 900px) {
  .carte-article--grand { display: grid; grid-template-columns: 1.3fr 1fr; }
  .carte-article--grand .carte-article-image { aspect-ratio: auto; min-height: 360px; }
  .carte-article--grand .carte-article-corps { padding: 32px; align-content: center; gap: 14px; }
  .carte-article--grand .carte-article-titre { font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.2rem); }
}
.puce-lab { justify-self: start; display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: .76rem; font-weight: 700; text-decoration: none; background: #F2E8F5; color: #7A3E8C; }
.puce-lab .ic { width: 14px; height: 14px; }
.puce-lab--technique { background: #E8ECF6; color: #2D3F6B; }
.puce-lab--metier { background: #E3F2EE; color: #1F7A6B; }
.puce-lab--materiel { background: #FCE9E4; color: #B3361F; }
.puce-lab--guide { background: #FFF4E5; color: #8a5a12; }
.lab-article-tete { padding-block: 26px 10px; }
.lab-article-tete h1 { margin: 10px 0 14px; font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3rem); line-height: 1.12; letter-spacing: -.02em; }
.lab-chapo { font-size: clamp(1.08rem, 1rem + .4vw, 1.25rem); line-height: 1.6; color: var(--encre-2); margin: 0 0 12px; }
.lab-meta { font-size: .86rem; color: var(--encre-2); }
.lab-couverture { margin: 10px auto 24px; max-width: 1100px; }
.lab-couverture img { width: 100%; max-height: 560px; object-fit: cover; border-radius: 22px; }
.lab-corps-grille { display: grid; gap: 22px; }
.lab-sommaire { padding: 16px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--ligne); }
.lab-sommaire p { margin: 0 0 8px; font-weight: 800; font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; color: var(--encre-2); }
.lab-sommaire ol { margin: 0; padding-inline-start: 20px; display: grid; gap: 4px; }
.lab-sommaire a { color: inherit; }
.lab-corps { font-size: 1.08rem; line-height: 1.8; }
.lab-corps h2 { margin: 34px 0 10px; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.65rem); line-height: 1.25; scroll-margin-top: 90px; }
.lab-corps h3 { margin: 24px 0 8px; font-size: 1.15rem; }
.lab-corps p { margin: 0 0 16px; }
.lab-corps ul, .lab-corps ol { margin: 0 0 18px; padding-inline-start: 22px; display: grid; gap: 6px; }
.lab-corps a { color: #B3361F; }
.lab-encadre { margin: 24px 0; padding: 18px 20px; border-radius: 16px; background: #FFF4E5; border-inline-start: 4px solid #E0452B; font-weight: 600; line-height: 1.6; }
.lab-fin { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 22px; border-top: 1px solid var(--ligne); }
.appel-vitrine--lab { background: #7A3E8C; }
.appel-vitrine--appels { background: #2D3F6B; }

/* ---------- Coup de cœur de la semaine ---------- */
.coup-de-coeur { display: grid; gap: 0; border-radius: 26px; overflow: hidden; background: #17140f; color: #fff; box-shadow: var(--ombre-relief); }
@media (min-width: 900px) { .coup-de-coeur { grid-template-columns: 1.25fr 1fr; } }
.cdc-photo { position: relative; display: block; min-height: 320px; }
.cdc-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cdc-ruban { position: absolute; top: 16px; inset-inline-start: 16px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: #E0452B; color: #fff; font-weight: 800; font-size: .86rem; box-shadow: 0 8px 20px -8px rgb(0 0 0 / .6); }
.cdc-ruban .ic { width: 16px; height: 16px; }
.cdc-texte { display: grid; gap: 12px; align-content: center; padding: clamp(20px, 3vw, 36px); }
.cdc-texte .surtitre { color: #F5B301; margin: 0; }
.cdc-texte h2 { margin: 0; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem); line-height: 1.15; }
.cdc-auteur { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.cdc-auteur > span { display: grid; }
.cdc-auteur small { color: rgb(255 255 255 / .7); }
.cdc-regle { margin: 0; color: rgb(255 255 255 / .75); font-size: .92rem; line-height: 1.55; }
.cdc-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cdc-actions .bouton--contour { color: #fff; border-color: rgb(255 255 255 / .4); background: transparent; }
.cdc-course p { margin: 6px 0 8px; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: rgb(255 255 255 / .6); }
.cdc-course ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cdc-course a { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; padding: 6px; border-radius: 12px; background: rgb(255 255 255 / .06); }
.cdc-course a:hover { background: rgb(255 255 255 / .12); }
.cdc-course img { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; }
.cdc-course a > span { display: grid; }
.cdc-course small { color: rgb(255 255 255 / .65); }
.cdc-astuce { display: flex; gap: 8px; margin: 0; padding: 12px; border-radius: 14px; background: rgb(245 179 1 / .12); color: #FBE3A1; font-size: .86rem; line-height: 1.5; }
.cdc-astuce .ic { width: 18px; height: 18px; flex: none; color: #F5B301; }
.cdc-astuce a { color: #fff; font-weight: 700; }
.coup-de-coeur .etiquette-demo { justify-self: start; margin: 0; }
.grille-cdc { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 14px; }
.carte-cdc { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; color: #fff; text-decoration: none; background: var(--surface-2); }
.carte-cdc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.carte-cdc::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgb(5 5 8 / .85)); pointer-events: none; }
.carte-cdc-bas { position: absolute; z-index: 1; inset-inline: 12px; bottom: 12px; display: grid; }
.carte-cdc-bas small { font-size: .76rem; opacity: .85; }
.carte-cdc--admin { aspect-ratio: auto; min-height: 260px; padding-bottom: 54px; }
.carte-cdc--admin button { position: absolute; z-index: 2; inset-inline: 12px; bottom: 12px; }
.carte-cdc--admin .carte-cdc-bas { bottom: 60px; }
.carte-cdc--admin.est-choisi { outline: 4px solid #E0452B; }
.zone-article { font-family: ui-monospace, Consolas, monospace; font-size: .92rem; line-height: 1.6; }
.cdc-astuce a { white-space: nowrap; }

/* Logo complet partout, téléphone compris (2026-11-10) : rond noir au ف et point orange + Fnan.ma + فنان.
   Sur petit écran, « Connexion » passe dans le menu (il y est déjà) pour laisser la place au logo. */
@media (max-width: 520px) {
  .entete .marque { font-size: 1.12rem; gap: .3em; }
  .entete .lien-connexion { display: none; }
}
@media (max-width: 370px) {
  .entete .marque { font-size: 1rem; }
  .entete-actions > .bouton { padding-inline: 9px; font-size: .74rem; }
}
@media (max-width: 330px) { .entete-actions > .bouton { display: none; } }
/* Le point du ف reste toujours orange Fnan, y compris sur les vitrines sombres. */
.marque { --point: #E0452B; }
@media (max-width: 345px) { .entete .marque { font-size: .9rem; } .entete-actions > .bouton { padding-inline: 7px; font-size: .7rem; } }

/* ---------- Cartes illustrées : opportunités, missions, étapes (2026-11-10) ---------- */
.carte-opp--illustree { border-top: 0; overflow: hidden; }
.carte-opp--illustree .carte-lien { padding: 0 0 14px; }
.carte-opp--illustree .carte-lien > :not(.opp-image) { margin-inline: 16px; }
.opp-image { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); border-bottom: 3px solid var(--couleur, var(--encre)); }
.opp-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.carte-opp--illustree:hover .opp-image img { transform: scale(1.05); }
.opp-image-rebours { position: absolute; top: 10px; inset-inline-start: 10px; }
.opp-image-rebours .rebours { background: rgb(255 255 255 / .94); box-shadow: 0 6px 16px -8px rgb(0 0 0 / .5); }
.opp-image-rebours .rebours--urgent { background: var(--accent); color: #fff; }   /* 2026-11-18 : J-3 et moins, le texte blanc était posé sur le fond blanc de la pastille */
.carte-opp--illustree .opp-bas .rebours { display: none; }
.carte-appel--illustree { padding: 0 0 16px; overflow: hidden; }
.carte-appel--illustree > :not(.carte-appel-image) { margin-inline: 18px; }
.carte-appel-image { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); }
.carte-appel-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.carte-appel--illustree:hover .carte-appel-image img { transform: scale(1.05); }
.fiche-appel-image { margin: 14px 0 6px; }
.fiche-appel-image img { width: 100%; max-height: 300px; object-fit: cover; border-radius: 18px; }
.etape--illustree { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.etape-image { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.etape-image img { width: 100%; height: 100%; object-fit: cover; }
.etape-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgb(5 5 8 / .45)); }
.etape--illustree .etape-n { position: absolute; z-index: 1; top: 12px; inset-inline-start: 12px; width: 40px; height: 40px; font-size: 1.05rem; background: #E0452B; box-shadow: 0 6px 16px -6px rgb(0 0 0 / .6); }
.etape-texte { display: block; padding: 4px 18px 20px; }
.etape--illustree h3 { margin-top: 14px; }
.fiche-opp-image { margin: 12px 0 18px; }
.fiche-opp-image img { width: 100%; max-height: 340px; object-fit: cover; border-radius: 20px; }
@media (min-width: 1000px) { .grille--opp { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px) and (max-width: 999px) { .grille--opp { grid-template-columns: repeat(2, 1fr); } }

/* Story d'une photo (2026-11-10) */
.galerie-boutons { position: absolute; top: 10px; inset-inline-end: 10px; z-index: 2; display: flex; gap: 6px; }
.galerie-boutons .galerie-partage { position: static; }
.galerie-partage--story { background: linear-gradient(45deg, #f9ce34, #ee2a7b 55%, #6228d7); color: #fff; }
.galerie-partage--story:hover { background: linear-gradient(45deg, #f9ce34, #ee2a7b 55%, #6228d7); filter: brightness(1.08); }
.partage-story { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; padding: 12px 16px; border: 0; border-radius: 16px; color: #fff; text-align: start; background: linear-gradient(45deg, #f9ce34, #ee2a7b 55%, #6228d7); justify-content: flex-start; }
.partage-story .ic { width: 26px; height: 26px; flex: none; }
.partage-story > span { display: grid; gap: 2px; }
.partage-story small { font-weight: 500; opacity: .9; font-size: .78rem; line-height: 1.3; }
.partage-story:hover { filter: brightness(1.06); }

/* Partenaires illustrés (2026-11-10) : une photo du métier sur chaque carte, le logo (s'il existe) posé dessus */
.carte-partenaire { padding: 0 0 18px; overflow: hidden; }
.carte-partenaire > :not(.carte-partenaire-image) { margin-inline: 18px; }
.carte-partenaire-image { position: relative; margin: 0; aspect-ratio: 16 / 9; background: #ece7dc; }
.photo-partenaire { width: 100%; height: 100%; object-fit: cover; display: block; }
.carte-partenaire-image .logo-partenaire, .tuile-partenaire-image .logo-partenaire { position: absolute; inset-inline-start: 12px; bottom: 12px; width: 56px; height: 56px; padding: 6px; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.tuiles-partenaires { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 14px; }
.tuile-partenaire { display: grid; grid-template-rows: auto 1fr; align-content: start; border-radius: 18px; overflow: hidden; border: 1px solid var(--ligne); background: var(--surface); color: inherit; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.tuile-partenaire:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.08); }
.tuile-partenaire-image { position: relative; display: block; aspect-ratio: 4 / 3; background: #ece7dc; }
.tuile-partenaire-image .logos-demo { position: absolute; top: 8px; inset-inline-end: 8px; padding: 2px 8px; border-radius: 999px; background: rgba(255,255,255,.92); font-size: .7rem; font-weight: 700; }
.tuile-partenaire-texte { display: grid; gap: 2px; padding: 10px 12px 12px; }
.tuile-partenaire-texte small { color: var(--encre-2); font-size: .74rem; }
.tuile-partenaire-texte strong { font-size: .92rem; line-height: 1.25; }
@media (max-width: 520px) { .tuiles-partenaires { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* La bibliothèque des photographes (2026-11-11), d'après l'étagère de Saint-Luc */
.bibliotheque { padding-top: clamp(40px, 6vw, 72px); overflow: hidden; }
.bibliotheque-tete { display: flex; justify-content: space-between; align-items: end; gap: 12px 40px; flex-wrap: wrap; margin-bottom: 26px; }
.bibliotheque-tete h2 { margin: 0; }
.bibliotheque-texte { margin: 0; max-width: 34ch; color: var(--encre-2); }
.etagere { position: relative; height: clamp(360px, 44vw, 520px); overflow-x: auto; overflow-y: hidden; scrollbar-width: none; overscroll-behavior-x: contain; }
.etagere::-webkit-scrollbar { display: none; }
.etagere-rang { display: flex; align-items: flex-end; height: 112%; margin: 0; padding: 0 max(16px, calc((100% - 1240px) / 2)); list-style: none; width: max-content; min-width: 100%; justify-content: center; }
.livre { --toile: #1d1d1f; --or: #d8b25a; position: relative; height: var(--h); flex: none; margin-inline-end: 1px; }
.livre > a { display: flex; height: 100%; color: inherit; text-decoration: none; outline: none; }
.livre-dos, .livre-couv { height: 100%; border-radius: 7px 7px 0 0; position: relative; overflow: hidden; }
/* Dos en toile tissée, lumière de la gauche, côté droit ombré, trait sombre entre deux livres */
.livre-dos { width: var(--l); display: flex; flex-direction: column; align-items: center; padding: 22px 0 0; gap: 14px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.16), rgba(255,255,255,.04) 22%, rgba(0,0,0,0) 45%, rgba(0,0,0,.18) 82%, rgba(0,0,0,.42)),
    repeating-linear-gradient(0deg, rgba(255,255,255,.045) 0 1px, rgba(0,0,0,.05) 1px 2px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, rgba(0,0,0,.06) 1px 2px),
    var(--toile);
  box-shadow: inset 1px 0 0 rgba(255,255,255,.08), inset -1px 0 0 rgba(0,0,0,.5), 1px 0 0 rgba(0,0,0,.55); transition: width .55s cubic-bezier(.2,.7,.2,1); }
.livre-filets { width: 70%; height: 7px; border-block: 1px solid var(--or); opacity: .85; flex: none; }
.livre-marque { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; border: 1px solid var(--or); color: var(--or); font-size: 15px; font-weight: 700; line-height: 1; }
.livre-nom, .livre-spec, .livre-ville { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; color: var(--or); }
.livre-nom { font-family: var(--titres, Georgia, serif); font-size: clamp(17px, 1.5vw, 22px); font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: linear-gradient(180deg, #f3dc9a, #c89b3c 45%, #f0d48a 60%, #a8792a); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 -1px 0 rgba(0,0,0,.45)) drop-shadow(0 1px 0 rgba(255,255,255,.12)); max-height: 62%; overflow: hidden; text-overflow: ellipsis; }
.livre-spec { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; opacity: .8; }
.livre-ville { font-size: 11px; letter-spacing: .12em; opacity: .6; }
.livre--vermillon { --toile: #c63a22; } .livre--nuit { --toile: #1c2a4a; } .livre--bordeaux { --toile: #6a1d24; }
.livre--vert { --toile: #24503c; } .livre--canard { --toile: #155e74; } .livre--brun { --toile: #4a3022; }
.livre--moutarde { --toile: #c99a2e; --or: #3b2a10; } .livre--moutarde .livre-nom { background: none; color: #2d200b; filter: drop-shadow(0 1px 0 rgba(255,255,255,.25)); }
/* Couverture : la meilleure photo, révélée quand le livre s'ouvre */
.livre-couv { width: 0; transition: width .55s cubic-bezier(.2,.7,.2,1); background: #111; box-shadow: inset 6px 0 10px -6px rgba(0,0,0,.6); }
.livre-couv img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.livre-couv-texte { position: absolute; inset-inline: 0; bottom: 12%; display: grid; gap: 3px; padding: 40px 16px 14px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.72)); opacity: 0; transition: opacity .3s .25s; min-width: 220px; }
.livre-couv-texte strong { font-size: 1.05rem; } .livre-couv-texte small { opacity: .85; } .livre-couv-texte em { font-style: normal; font-size: .8rem; font-weight: 700; color: #ffd9a8; }
.livre.ouvert .livre-couv, .livre > a:focus-visible .livre-couv { width: clamp(220px, 24vw, 300px); }
.livre.ouvert .livre-couv-texte, .livre > a:focus-visible .livre-couv-texte { opacity: 1; }
.livre > a:focus-visible .livre-dos { outline: 2px solid var(--accent, #E0452B); outline-offset: -2px; }
@media (hover: hover) { .livre:hover .livre-couv { width: clamp(220px, 24vw, 300px); } .livre:hover .livre-couv-texte { opacity: 1; } }
/* Le rang descend sous le bord : on ne voit que le haut des livres, coupé net */
.etagere::after { content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: var(--ligne); }
@media (max-width: 640px) { .etagere { height: 400px; } .etagere-rang { justify-content: flex-start; } .livre-nom { font-size: 17px; } }
@media (prefers-reduced-motion: reduce) { .livre-dos, .livre-couv, .livre-couv-texte { transition: none; } }

.livre-plein, .livre-invite { display: flex; height: 100%; color: inherit; text-decoration: none; }
.livre-dos { padding-top: 34px; gap: 18px; }
.livre-dos--uni { justify-content: flex-start; padding-top: 46px; gap: 34px; }
/* Monogramme frappé à froid : creusé dans la toile, sans or */
.livre-froid { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; font-size: 30px; font-weight: 800; line-height: 1;
  color: rgba(0,0,0,.28); text-shadow: 0 1px 0 rgba(255,255,255,.14), 0 -1px 0 rgba(0,0,0,.35); box-shadow: inset 0 1px 2px rgba(0,0,0,.45), 0 1px 0 rgba(255,255,255,.1); }
.livre-nom--invite { font-size: clamp(15px, 1.3vw, 19px) !important; letter-spacing: .14em; }
.livre-invite:hover .livre-dos, .livre-invite:focus-visible .livre-dos { filter: brightness(1.12); }
.livre-invite:focus-visible { outline: 2px solid var(--accent, #E0452B); outline-offset: -2px; }
.livre-marque { width: 42px; height: 42px; font-size: 20px; }
.livre-nom { font-size: clamp(20px, 1.9vw, 30px); }
.livre-spec, .livre-ville { font-size: 12px; }
@media (max-width: 640px) { .livre { --l2: calc(var(--l) * .7); } .livre-dos { width: calc(var(--l) * .7); } .livre-froid { width: 48px; height: 48px; font-size: 22px; } .livre-nom { font-size: 18px; } }
.etagere::after { display: none; }
.livre-nom { white-space: normal; text-overflow: clip; max-height: 58%; line-height: 1.18; text-align: end; }
.livre-couv { height: 100%; }

.livre-nom { white-space: nowrap; max-height: 60%; text-align: center; font-size: calc(var(--t, 24) * 1px) !important; }
.livre-nom > span { display: block; }
.livre-nom--invite { font-size: 17px !important; }
@media (max-width: 640px) { .livre-nom { font-size: calc(var(--t, 24) * .72px) !important; } .livre-nom--invite { font-size: 14px !important; } .livre-spec { font-size: 10px; } }
.livre-dos > * { flex-shrink: 0; }
/* Arabe : pas d'espacement entre les lettres (il casse les liaisons), texte un peu plus grand */
:lang(ar) .livre-nom, :lang(ar) .livre-spec, :lang(ar) .livre-ville { letter-spacing: 0; }
:lang(ar) .livre-nom { letter-spacing: .04em; }
:lang(ar) .livre-nom--invite { font-size: 24px !important; font-weight: 800; }
:lang(ar) .livre-spec, :lang(ar) .livre-ville { font-size: 13px; }
@media (max-width: 640px) { :lang(ar) .livre-nom--invite { font-size: 19px !important; } }
/* Téléphone, accueil : le gros bouton « Créer ma vitrine gratuite » est juste sous le titre, pas besoin du doublon dans l'en-tête (il reste dans le menu) */
@media (max-width: 640px) { .page-accueil header .bouton--petit[href*="rejoindre"] { display: none; } }

/* Bibliothèque VIP (2026-11-11) : le dos se soulève au survol, le livre s'ouvre en grand */
.livre:not(.livre--uni) > a { transition: transform .35s cubic-bezier(.2,.7,.2,1); cursor: pointer; }
@media (hover: hover) { .livre:not(.livre--uni):hover > a { transform: translateY(-18px); } }
.livre-vip { margin-top: auto; margin-bottom: 40%; padding: 3px 8px; border: 1px solid var(--or); border-radius: 3px; font-size: 10px; font-weight: 800; letter-spacing: .2em; color: var(--or); }
.livre-invite-vip { display: block; margin-top: 6px; font-size: .7em; letter-spacing: .24em; opacity: .8; }
.livre-boite { --pl: min(45vw, 72vh * .78, 640px); --ph: calc(var(--pl) * 1.28); width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: radial-gradient(ellipse at 50% 40%, #3a3631, #141210 70%); color: #1d1d1f; display: grid; grid-template-rows: 1fr auto; place-items: center; overflow: hidden; animation: lb-entree .3s ease; }
.livre-boite::backdrop { background: #141210; }
.livre-boite.lb-sortie { animation: lb-sortie .26s ease forwards; }
@keyframes lb-entree { from { opacity: 0; } } @keyframes lb-sortie { to { opacity: 0; } }
.lb-fermer { position: absolute; top: max(14px, env(safe-area-inset-top)); inset-inline-end: 18px; z-index: 5; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.lb-scene { perspective: 2600px; width: calc(var(--pl) * 2); height: var(--ph); display: grid; place-items: center; }
.lb-livre { position: relative; width: calc(var(--pl) * 2); height: var(--ph); transform-style: preserve-3d; transition: transform .9s cubic-bezier(.3,.7,.2,1); }
/* Fermé : la couverture est centrée ; ouvert : la double page est centrée */
.lb-livre.ferme { transform: translateX(calc(var(--pl) * -.5)) rotateX(8deg); }
.lb-livre.ferme-fin { transform: translateX(calc(var(--pl) * .5)) rotateX(8deg); }
.lb-feuille { position: absolute; top: 0; left: 50%; width: var(--pl); height: 100%; transform-origin: left center; transform-style: preserve-3d; transition: transform 1s cubic-bezier(.45,.05,.2,1); }
.lb-feuille.tournee { transform: rotateY(-180deg); }
.lb-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; background: #fbf8f2; }
.lb-verso { transform: rotateY(180deg); }
/* Ombre de pli près de la charnière, comme le creux d'un vrai livre */
.lb-recto::after, .lb-verso::after { content: ''; position: absolute; top: 0; bottom: 0; width: 14%; pointer-events: none; }
.lb-recto::after { left: 0; background: linear-gradient(90deg, rgba(0,0,0,.2), rgba(0,0,0,0)); }
.lb-verso::after { right: 0; background: linear-gradient(-90deg, rgba(0,0,0,.2), rgba(0,0,0,0)); }
.lb-recto { border-radius: 0 4px 4px 0; box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.lb-verso { border-radius: 4px 0 0 4px; box-shadow: 0 18px 40px rgba(0,0,0,.45); }
/* Couverture et quatrième : toile de la couleur du dos, photo encastrée */
.lb-feuille--couv .lb-recto, .lb-feuille--dos .lb-verso { background:
    linear-gradient(90deg, rgba(0,0,0,.35), rgba(255,255,255,.06) 6%, rgba(0,0,0,0) 30%, rgba(0,0,0,.15)),
    repeating-linear-gradient(0deg, rgba(255,255,255,.045) 0 1px, rgba(0,0,0,.05) 1px 2px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, rgba(0,0,0,.06) 1px 2px), var(--toile); }
.lp-couv { position: absolute; inset: 7% 8% 8% 10%; display: grid; grid-template-rows: 1fr auto; box-shadow: inset 0 0 0 1px rgba(0,0,0,.3), 0 2px 0 rgba(255,255,255,.08); }
.lp-couv img, .lp-couv canvas { width: 100%; height: 100%; min-height: 0; object-fit: cover; display: block; }
.lp-couv-bande { display: grid; justify-items: center; gap: 4px; padding: 16px 10px 4px; color: #e7c77a; text-align: center; }
.lp-couv-bande strong { font-family: Georgia, 'Times New Roman', serif; font-size: calc(var(--pl) * .062); letter-spacing: .12em; text-transform: uppercase;
  background: linear-gradient(180deg, #f3dc9a, #c89b3c 45%, #f0d48a 60%, #a8792a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-couv-bande small { font-size: calc(var(--pl) * .028); letter-spacing: .2em; text-transform: uppercase; opacity: .8; }
.lp-marque { display: inline-grid; place-items: center; width: 2.1em; height: 2.1em; border: 1px solid currentColor; border-radius: 50%; font-weight: 800; }
.lp-garde { position: absolute; inset: 0; display: grid; place-items: center; background: #efe7d8 radial-gradient(circle at 30% 20%, rgba(255,255,255,.5), transparent 60%); }
.lp-garde span { font-size: calc(var(--pl) * .18); color: rgba(120,90,40,.12); font-weight: 800; }
.lp-dos { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; color: #e7c77a; font-size: calc(var(--pl) * .03); letter-spacing: .2em; }
/* Pages intérieures */
.lp-titre, .lp-fin { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 12%; text-align: center; }
.lp-titre .lp-marque, .lp-fin .lp-marque { color: #b08a3a; font-size: calc(var(--pl) * .035); }
.lp-titre h3 { margin: 6px 0 0; font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: calc(var(--pl) * .085); line-height: 1.05; }
.lp-titre p { margin: 0; color: #6b6259; font-size: calc(var(--pl) * .032); letter-spacing: .14em; text-transform: uppercase; }
.lp-filet { width: 34%; height: 1px; background: #c9a24c; margin: 8px 0; }
.lp-titre small { color: #8a7f73; font-size: calc(var(--pl) * .028); }
.lp-vip { margin-top: 10px; font-size: calc(var(--pl) * .024); font-weight: 800; letter-spacing: .3em; color: #b08a3a; }
.lp-photo { position: absolute; inset: 0; margin: 0; display: grid; grid-template-rows: 1fr auto; padding: 4.5% 4.5% 2.5%; gap: 6px; }
.lp-photo img, .lp-photo canvas { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; filter: drop-shadow(0 1px 1px rgba(0,0,0,.08)); }
.lp-photo figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: calc(var(--pl) * .022); color: #6b6259; min-height: 1.4em; }
.lp-photo figcaption em { font-family: Georgia, 'Times New Roman', serif; }
.lp-photo--pleine { padding: 0; }
.lp-photo--pleine img, .lp-photo--pleine canvas { object-fit: cover; filter: none; }
.lp-fin h3 { margin: 4px 0 0; font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: calc(var(--pl) * .07); }
.lp-fin p { margin: 0; color: #4d463f; font-size: calc(var(--pl) * .032); line-height: 1.55; max-width: 30ch; }
.lp-fin .bouton { margin-top: 8px; }
.lp-lien { color: #6b6259; font-size: calc(var(--pl) * .03); }
.lp-blanche { position: absolute; inset: 0; }
.lb-barre { display: flex; align-items: center; gap: 18px; padding: 12px 0 max(18px, env(safe-area-inset-bottom)); color: rgba(255,255,255,.75); font-size: .9rem; }
.lb-barre button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.lb-barre button:disabled { opacity: .25; cursor: default; }
.lb-compte { min-width: 7em; text-align: center; font-variant-numeric: tabular-nums; }
.lb-feuille { cursor: pointer; }
/* Livre posé fermé : une indication discrète sous la couverture, qui disparaît dès qu'il s'ouvre */
.lb-indice { position: absolute; left: 0; right: 0; bottom: calc(max(18px, env(safe-area-inset-bottom)) + 76px); margin: 0; text-align: center; color: rgba(255,255,255,.7);
  font-size: .95rem; letter-spacing: .04em; opacity: 0; transition: opacity .4s; pointer-events: none; }
.livre-boite.lb-ferme .lb-indice { opacity: 1; animation: lb-respire 2.4s ease-in-out infinite; }
@keyframes lb-respire { 50% { opacity: .45; } }
.livre-boite.lb-ferme .lb-feuille--couv .lb-recto { transition: box-shadow .3s; }
.livre-boite.lb-ferme .lb-feuille--couv:hover .lb-recto { box-shadow: 0 24px 54px rgba(0,0,0,.6), 0 0 0 2px rgba(231,199,122,.5); }
@media (max-width: 700px) { .livre-boite { --pl: min(47vw, 60vh * .78); } .lb-fermer { top: 10px; } }
@media (prefers-reduced-motion: reduce) { .lb-feuille, .lb-livre { transition-duration: .01s; } }

.lp-photo { grid-template-rows: minmax(0, 1fr) auto; }
.lp-photo img, .lp-photo canvas { min-height: 0; }
.lp-photo--pleine { gap: 0; grid-template-rows: minmax(0, 1fr); }

/* Coup de cœur : partage du visuel en un clic, format story en lien discret */
.lien-story { display: inline-flex; align-items: center; gap: 6px; padding: 8px 4px; border: 0; background: none; color: var(--encre-2); font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.lien-story .ic { width: 18px; height: 18px; }
.lien-story:hover { color: var(--encre); }
.coup-de-coeur .lien-story { color: rgba(255,255,255,.82); }
.coup-de-coeur .lien-story:hover { color: #fff; }

/* Mon livre photo (espace membre, Pass VIP) */
.concevoir-livre h1, .livre-verrou h1 { margin: 4px 0 8px; }
.livre-verrou-actions, .concevoir-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.concevoir-actions { position: sticky; bottom: 0; padding: 12px 0; background: linear-gradient(transparent, var(--surface, #fff) 30%); }
.concevoir-champs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; margin-top: 14px; }
.concevoir-toiles, .concevoir-photos { border: 0; padding: 0; margin: 20px 0 0; }
.concevoir-toiles legend, .concevoir-photos legend { font-weight: 800; margin-bottom: 10px; }
.concevoir-toiles { display: flex; flex-wrap: wrap; gap: 10px; }
.concevoir-toiles legend { width: 100%; }
.pastille-toile { position: relative; width: 44px; height: 44px; border-radius: 10px; cursor: pointer; background:
  repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 1px, rgba(0,0,0,.06) 1px 2px), repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, rgba(0,0,0,.06) 1px 2px), var(--toile);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.25); }
.pastille-toile input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pastille-toile:has(input:checked) { outline: 3px solid #c89b3c; outline-offset: 3px; }
.pastille-toile:has(input:focus-visible) { outline: 3px solid var(--accent, #E0452B); outline-offset: 3px; }
.grille-concevoir { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 12px; }
.tuile-concevoir { display: grid; gap: 6px; }
.tuile-concevoir-choix { position: relative; display: block; aspect-ratio: 1; border-radius: 12px; overflow: hidden; cursor: pointer; background: #eee; }
.tuile-concevoir-choix img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s, transform .2s; }
.tuile-concevoir-choix input { position: absolute; opacity: 0; }
.tuile-concevoir-choix:not(:has(input:checked)) img { opacity: .45; filter: grayscale(.6); }
.tuile-concevoir-choix:has(input:checked) { box-shadow: 0 0 0 3px #c89b3c; }
.tuile-concevoir-choix:has(input:focus-visible) { box-shadow: 0 0 0 3px var(--accent, #E0452B); }
.tuile-concevoir-rang { position: absolute; top: 8px; inset-inline-start: 8px; min-width: 28px; height: 28px; padding: 0 6px; display: grid; place-items: center; border-radius: 14px; background: #1d1d1f; color: #f3dc9a; font-weight: 800; font-size: .85rem; }
.tuile-concevoir-rang:empty { display: none; }
.tuile-concevoir-couv { display: flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--encre-2); cursor: pointer; }
.tuile-concevoir-couv:has(input:checked) { color: #8a6418; font-weight: 800; }
.livre-verrou { text-align: start; }

/* Podium de la semaine (2e et 3e places, tampon certifié à partager) */
.cdc-podium p { margin: 0 0 8px; font-weight: 800; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: #e7c77a; }
.cdc-podium ol { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cdc-podium li { display: flex; align-items: center; gap: 8px; }
.cdc-podium li > a { flex: 1; display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.cdc-podium img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.cdc-podium li > a > span:last-child { display: grid; } .cdc-podium small { opacity: .75; }
.cdc-podium-rang { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, #f3dc9a, #b8892c); color: #3b2a10; font-weight: 800; font-size: .8rem; flex: none; }
.coup-de-coeur .cdc-podium .bouton-icone { color: #fff; border-color: rgba(255,255,255,.3); }
.concevoir-livre h1, .livre-verrou h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); }

/* ---------- Étagère « monographies » (style B choisi le 2026-11-13) ----------
   Jaquettes de papier mat (couleur de la toile choisie, ou blanc cassé / sable), typographie moderne,
   bande de la photo de couverture en haut du dos, ف comme marque d'éditeur, un livre présenté de face, planche claire. */
.livre--blanc { --toile: #F2EEE6; } .livre--sable { --toile: #D8C9A8; }
.livre { --encre-dos: #F4EEE4; }
.livre--blanc, .livre--sable, .livre--moutarde { --encre-dos: #17140F; }
.etagere { height: clamp(380px, 44vw, 540px); }
.etagere-rang { height: calc(100% - 26px); align-items: flex-end; padding-top: 30px; }
.etagere::after { display: block !important; content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 26px; background: linear-gradient(180deg, #E3D9C9, #D2C6B2); box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 18px 28px -14px rgba(0,0,0,.25); }
.etagere-rang { min-width: 100%; }
.etagere { overflow-y: visible; }
.livre { margin-inline-end: 1px; }
.livre-dos { padding: 0 !important; gap: 0 !important; justify-content: flex-start; border-radius: 2px 2px 0 0;
  background: linear-gradient(90deg, rgba(0,0,0,.22), rgba(0,0,0,0) 12%, rgba(255,255,255,.08) 40%, rgba(0,0,0,0) 70%, rgba(0,0,0,.3)), var(--toile) !important;
  box-shadow: 1px 0 0 rgba(0,0,0,.35), 0 16px 24px -16px rgba(0,0,0,.55) !important; color: var(--encre-dos); }
.livre-dos::before { content: ''; position: absolute; inset: 0; opacity: .22; mix-blend-mode: multiply; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' seed='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)' opacity='.6'/%3E%3C/svg%3E"); }
.livre-bande { display: block; width: 100%; height: var(--bh, 100px); flex: none; background-size: cover; background-position: center; }
.livre-dos .livre-nom { font-family: inherit !important; font-weight: 800; letter-spacing: -.01em !important; text-transform: none !important; color: var(--encre-dos) !important;
  background: none !important; -webkit-text-fill-color: currentColor; filter: none !important; font-size: calc(var(--t, 24) * 1px) !important; white-space: nowrap !important;
  max-height: none !important; margin-top: 22px; text-align: start !important; line-height: 1 !important; }
.livre-dos .livre-nom--leger { font-weight: 500; letter-spacing: .14em !important; text-transform: uppercase !important; font-size: calc(var(--t, 24) * .72px) !important; }
.livre-dos .livre-spec { color: var(--encre-dos) !important; font-size: 11px !important; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; opacity: .7; margin-top: 14px; white-space: nowrap; }
.livre-dos .livre-spec { max-height: calc(100% - var(--bh, 0px) - 260px); overflow: hidden; }
.livre-editeur { margin-top: auto; margin-bottom: 20px; width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 700; line-height: 1;
  background: var(--encre-dos); color: var(--toile); position: relative; z-index: 1; }
.livre-dos--uni .livre-nom--invite { margin-top: 26px; font-size: 16px !important; font-weight: 700; }
/* le livre présenté de face */
.livre--face { margin: 0 clamp(14px, 2vw, 28px); }
.livre--face > a { height: 100%; }
.livre-face { display: flex; flex-direction: column; height: 100%; width: clamp(200px, 19vw, 280px); background: #fff; transform: rotate(-2deg); transform-origin: bottom center;
  box-shadow: 0 30px 50px -20px rgba(0,0,0,.5), 6px 0 0 -2px #ddd; color: #17140F; }
.livre-face img { flex: 1; min-height: 0; width: calc(100% - 32px); margin: 16px 16px 0; object-fit: cover; }
.livre-face b { font-weight: 800; font-size: clamp(16px, 1.4vw, 21px); padding: 12px 16px 2px; line-height: 1.15; }
.livre-face small { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 0 16px 16px; color: #777; }
@media (hover: hover) { .livre--face:hover > a { transform: translateY(-10px); } }
@media (max-width: 640px) { .etagere { height: 420px; } .livre-dos { width: calc(var(--l) * .82) !important; } .livre-dos .livre-nom { font-size: calc(var(--t, 24) * .78px) !important; } .livre-dos .livre-nom--leger { font-size: calc(var(--t, 24) * .58px) !important; } .livre-face { width: 190px; } }

/* ---------- Accueil (2026-11-13) : la grande photo change toute seule ; « Découvrir les photographes » posé sur la photo ---------- */
.pole .pole-image { opacity: 0; transition: opacity 1.4s ease, transform 1s cubic-bezier(.2, .7, .2, 1); }
.pole .pole-image.actif { opacity: 1; }
.pole-decouvrir { display: inline-flex; align-items: center; gap: 8px; flex: none; padding: 11px 18px 11px 20px; border-radius: 999px; background: #fff; color: #17140F; font-weight: 700; font-size: .95rem; box-shadow: 0 8px 22px rgb(0 0 0 / .25); }
.pole-decouvrir svg { width: 18px; height: 18px; }
@media (hover: hover) { .pole:hover .pole-decouvrir { background: var(--accent, #E0452B); color: #fff; } }
@media (max-width: 759px) { .pole-decouvrir { padding: 9px 14px; font-size: .82rem; } .pole-pied .pole-noms { display: none; } }
@media (prefers-reduced-motion: reduce) { .pole .pole-image { transition: none; } }
/* Nombre de photos d'un photographe, dans un coin de sa vignette (2026-11-13) */
.carte-couv { position: relative; }
.carte-nb-photos { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px 4px 8px; border-radius: 999px; background: rgb(15 12 10 / .72); color: #fff; font-size: .78rem; font-weight: 700; backdrop-filter: blur(4px); }
.carte-nb-photos svg { width: 14px; height: 14px; }
:dir(rtl) .carte-nb-photos { right: auto; left: 10px; }
/* Bouton de téléchargement ou d'envoi : vert avec une coche une fois fait (2026-11-13) */
.est-fait, .est-fait.bouton--plein, .est-fait.bouton--contour, .partage-story.est-fait { background: #16a34a !important; border-color: #16a34a !important; color: #fff !important; }
.est-fait svg { color: #fff; }
.partage-reseau.est-fait { border-radius: 14px; }
/* ---------- Coup de cœur : podium de trois photos indépendantes, chacune avec son badge et ses boutons (2026-11-13) ---------- */
.cdc-tete { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.cdc-tete h2 { margin: 6px 0 6px; }
.cdc-tete .cdc-regle { margin: 0; max-width: 620px; color: var(--encre-2); }
.cdc-podium-grille { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 20px; align-items: end; }
.cdc-place { display: flex; flex-direction: column; background: var(--surface, #fff); border-radius: 18px; overflow: hidden; box-shadow: 0 12px 34px rgb(0 0 0 / .1); }
.cdc-place-photo { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #111; }
.cdc-place--1 .cdc-place-photo { aspect-ratio: 4 / 4.6; }
.cdc-place-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
@media (hover: hover) { .cdc-place:hover .cdc-place-photo img { transform: scale(1.04); } }
.cdc-rang { position: absolute; top: 14px; inset-inline-start: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; color: #2a1d05; font-weight: 800; box-shadow: 0 6px 18px rgb(0 0 0 / .3);
  background: linear-gradient(135deg, #fbe9a8, #d9a733 45%, #f6d978 70%, #b9861f); }
.cdc-rang b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgb(255 255 255 / .55); font-size: 1.1rem; }
.cdc-rang small { font-size: .82rem; letter-spacing: .04em; }
.cdc-place--2 .cdc-rang { background: linear-gradient(135deg, #f4f5f7, #b9bec7 45%, #e9ebef 70%, #8e949e); color: #22252b; }
.cdc-place--3 .cdc-rang { background: linear-gradient(135deg, #f3d2b3, #b8743f 45%, #e2a979 70%, #8a5229); color: #2b1608; }
.cdc-place .cdc-ruban { position: absolute; top: auto; bottom: 14px; inset-inline-start: 14px; }
.cdc-place-bas { display: grid; gap: 12px; padding: 14px 16px 16px; }
.cdc-place-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cdc-place-actions .bouton { flex: 1 1 auto; justify-content: center; }
@media (max-width: 860px) { .cdc-podium-grille { grid-template-columns: 1fr 1fr; } .cdc-place--1 { grid-column: 1 / -1; } .cdc-place--1 .cdc-place-photo { aspect-ratio: 4 / 3.4; } }
@media (max-width: 520px) { .cdc-podium-grille { grid-template-columns: 1fr; } .cdc-place-photo, .cdc-place--1 .cdc-place-photo { aspect-ratio: 4 / 3.6; } }
/* ---------- Ma galerie : ranger par thème (clic droit, appui, sélection multiple) — 2026-11-13 ---------- */
.media-vignette { position: relative; flex: none; align-self: flex-start; cursor: context-menu; border-radius: 10px; }
.media-vignette img { display: block; }
.media-choix { position: absolute; top: 6px; inset-inline-start: 6px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: rgb(255 255 255 / .92); box-shadow: 0 2px 6px rgb(0 0 0 / .25); cursor: pointer; }
.media-choix input { width: 17px; height: 17px; margin: 0; accent-color: var(--accent, #E0452B); cursor: pointer; }
.media-theme { position: absolute; inset-inline: 6px; bottom: 6px; padding: 3px 8px; border-radius: 999px; background: rgb(15 12 10 / .78); color: #fff; font-size: .72rem; font-weight: 700; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.media-ligne.est-choisie .media-vignette { outline: 3px solid var(--accent, #E0452B); outline-offset: 2px; }
.media-ligne.vient-d-etre-range .media-vignette { animation: theme-ok 1.2s ease; }
@keyframes theme-ok { 0% { box-shadow: 0 0 0 0 rgb(22 163 74 / .7); } 100% { box-shadow: 0 0 0 14px rgb(22 163 74 / 0); } }
.barre-themes { position: sticky; top: 72px; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 18px 0 10px; padding: 12px 16px; border-radius: 14px; background: var(--surface, #fff); box-shadow: 0 6px 20px rgb(0 0 0 / .08); }
.barre-themes-aide { display: flex; align-items: center; gap: 8px; margin: 0; font-size: .9rem; color: var(--encre-2); }
.barre-themes-action { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.barre-themes-action [data-nb-choisies] { font-weight: 800; }
.menu-themes { position: fixed; z-index: 1000; min-width: 210px; max-width: 280px; padding: 8px; border-radius: 14px; background: #1f1b17; color: #fff; box-shadow: 0 18px 50px rgb(0 0 0 / .45); }
.menu-themes p { margin: 4px 10px 8px; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .65; }
.menu-themes button { display: block; width: 100%; padding: 10px 12px; border: 0; border-radius: 9px; background: none; color: inherit; font: inherit; font-weight: 600; text-align: start; cursor: pointer; }
.menu-themes button:hover, .menu-themes button:focus-visible { background: rgb(255 255 255 / .12); outline: none; }
.menu-themes .menu-themes-nouveau { margin-top: 4px; border-top: 1px solid rgb(255 255 255 / .12); border-radius: 0 0 9px 9px; color: #ffb7a6; }
.media-vignette img { width: 84px; height: 84px; object-fit: cover; border-radius: 8px; }
@media (min-width: 700px) { .media-ligne { grid-template-columns: 120px 1fr; } .media-vignette img { width: 120px; height: 120px; } }
.cdc-place .cdc-auteur { color: var(--encre, #17140F); }
.cdc-place .cdc-auteur small { color: var(--encre-2, #6b6257); }
.section > .cdc-astuce { margin-top: 18px; padding: 12px 16px; border-radius: 12px; background: rgb(232 176 75 / .14); color: var(--encre-2, #6b6257); }
.section > .cdc-astuce a { color: var(--accent, #E0452B); font-weight: 700; }
.section > .cdc-course { margin-top: 18px; }
.section > .cdc-course p { color: var(--encre-2, #6b6257); }
.section > .cdc-course ol { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.section > .cdc-course a { color: var(--encre, #17140F); background: var(--surface, #fff); box-shadow: 0 4px 14px rgb(0 0 0 / .06); }
.section > .cdc-course a:hover { background: var(--surface-2, #f3eee6); }
/* Podium en escalier (2026-11-13) : la 1re au milieu et la plus grande, la 2e à gauche moyenne, la 3e à droite plus petite,
   alignées par le bas comme les marches d'un podium ; chaque marche porte son numéro. */
.cdc-podium-grille { grid-template-columns: 1fr 1.32fr .82fr; align-items: end; gap: 18px; }
.cdc-place--2 { order: 1; } .cdc-place--1 { order: 2; } .cdc-place--3 { order: 3; }
.cdc-place--1 .cdc-place-photo { aspect-ratio: 4 / 5.2; }
.cdc-place--2 .cdc-place-photo { aspect-ratio: 4 / 4.7; }
.cdc-place--3 .cdc-place-photo { aspect-ratio: 4 / 4.3; }
.cdc-place { border-radius: 18px 18px 0 0; }
.cdc-place::after { content: attr(data-marche); display: grid; place-items: center; font-weight: 800; color: rgb(255 255 255 / .9); font-size: 1.6rem; letter-spacing: .02em; }
.cdc-place--1::after { height: 58px; background: linear-gradient(180deg, #e2b84a, #b9861f); }
.cdc-place--2::after { height: 38px; background: linear-gradient(180deg, #c9cdd4, #8e949e); }
.cdc-place--3::after { height: 22px; font-size: 1rem; background: linear-gradient(180deg, #d79b67, #8a5229); }
.cdc-place--3 .cdc-place-actions .bouton { font-size: .78rem; padding-inline: 10px; }
@media (max-width: 860px) {
  .cdc-podium-grille { grid-template-columns: 1fr 1fr; }
  .cdc-place--1 { order: 0; grid-column: 1 / -1; } .cdc-place--2 { order: 1; } .cdc-place--3 { order: 2; }
  .cdc-place--1 .cdc-place-photo { aspect-ratio: 4 / 3.6; } .cdc-place--2 .cdc-place-photo { aspect-ratio: 4 / 4.4; } .cdc-place--3 .cdc-place-photo { aspect-ratio: 4 / 3.8; }
}
@media (max-width: 520px) { .cdc-podium-grille { grid-template-columns: 1.1fr .9fr; } }
.cdc-place { min-width: 0; }
.cdc-place .cdc-auteur strong { overflow-wrap: anywhere; }
@media (max-width: 520px) {
  .cdc-place--2 .cdc-place-bas, .cdc-place--3 .cdc-place-bas { padding: 10px; gap: 8px; }
  .cdc-place--2 .cdc-auteur .avatar, .cdc-place--3 .cdc-auteur .avatar, .cdc-place--2 .cdc-auteur > img, .cdc-place--3 .cdc-auteur > img { display: none; }
  .cdc-place--2 .cdc-auteur strong, .cdc-place--3 .cdc-auteur strong { font-size: .86rem; line-height: 1.2; }
  .cdc-place--2 .cdc-auteur small, .cdc-place--3 .cdc-auteur small { font-size: .72rem; }
  .cdc-place--2 .cdc-place-actions, .cdc-place--3 .cdc-place-actions { flex-direction: column; }
  .cdc-place--2 .cdc-place-actions .bouton, .cdc-place--3 .cdc-place-actions .bouton { font-size: .74rem; padding: 7px 8px; }
  .cdc-place--2 .cdc-rang small, .cdc-place--3 .cdc-rang small { display: none; }
  .cdc-place--2 .cdc-rang, .cdc-place--3 .cdc-rang { padding: 4px; }
}
@media (max-width: 520px) {
  .cdc-place--2 .cdc-place-actions .bouton, .cdc-place--3 .cdc-place-actions .bouton { width: 100%; min-width: 0; white-space: normal; text-align: center; line-height: 1.2; }
  .cdc-place--2 .cdc-place-actions .bouton svg, .cdc-place--3 .cdc-place-actions .bouton svg { display: none; }
}
/* Podium (2026-11-13, version retenue) : la 1re grande au milieu, la 2e et la 3e de même taille de chaque côté. */
.cdc-podium-grille { grid-template-columns: 1fr 1.35fr 1fr; }
.cdc-place--2 .cdc-place-photo, .cdc-place--3 .cdc-place-photo { aspect-ratio: 4 / 4.5; }
.cdc-place--2::after, .cdc-place--3::after { height: 34px; font-size: 1.3rem; }
@media (min-width: 521px) { .cdc-place--2 .cdc-place-actions .bouton, .cdc-place--3 .cdc-place-actions .bouton { font-size: .84rem; padding-inline: 12px; } }
@media (max-width: 860px) { .cdc-place--2 .cdc-place-photo, .cdc-place--3 .cdc-place-photo { aspect-ratio: 4 / 4.2; } }
@media (max-width: 520px) { .cdc-podium-grille { grid-template-columns: 1fr 1fr; } .cdc-place--2 .cdc-place-photo, .cdc-place--3 .cdc-place-photo { aspect-ratio: 4 / 4.6; } }
/* Sceau métal posé sur chaque photo du podium (or, argent, bronze), même tampon que le visuel à partager (src/sceau.js) */
.cdc-sceau { position: absolute; inset-inline-end: -18px; bottom: -22px; width: 196px; height: 196px; pointer-events: none; transform-origin: 70% 70%; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.cdc-sceau svg { width: 100%; height: 100%; display: block; overflow: visible; }
.cdc-place--2 .cdc-sceau, .cdc-place--3 .cdc-sceau { width: 156px; height: 156px; }
@media (hover: hover) { .cdc-place:hover .cdc-sceau { transform: rotate(6deg) scale(1.04); } }
.cdc-place-photo { overflow: hidden; }
@media (max-width: 860px) { .cdc-sceau { width: 160px; height: 160px; } .cdc-place--2 .cdc-sceau, .cdc-place--3 .cdc-sceau { width: 118px; height: 118px; } }
@media (max-width: 520px) { .cdc-sceau { width: 136px; height: 136px; } .cdc-place--2 .cdc-sceau, .cdc-place--3 .cdc-sceau { width: 104px; height: 104px; inset-inline-end: -14px; bottom: -14px; } }

/* sceau : posé entièrement dans la photo, en bas à droite (au-dessus de la signature de l'image) */
.cdc-sceau { inset-inline-end: 4px; bottom: 0; width: 214px; height: 214px; }
.cdc-place--2 .cdc-sceau, .cdc-place--3 .cdc-sceau { width: 170px; height: 170px; }
@media (max-width: 860px) { .cdc-sceau { width: 176px; height: 176px; } .cdc-place--2 .cdc-sceau, .cdc-place--3 .cdc-sceau { width: 128px; height: 128px; } }
@media (max-width: 520px) { .cdc-sceau { width: 150px; height: 150px; inset-inline-end: 0; } .cdc-place--2 .cdc-sceau, .cdc-place--3 .cdc-sceau { width: 112px; height: 112px; inset-inline-end: -4px; bottom: -4px; } }
.cdc-place .cdc-ruban { top: 14px; bottom: auto; }

/* ---------- Accueil (2026-11-13) : pêle-mêle des photos des membres + une vignette qui s'agrandit au milieu ---------- */
.pole--pele { background: #17120e; overflow: hidden; isolation: isolate; }
.pele { position: absolute; inset: -46px -40px; z-index: -3; }
.pele figure { position: absolute; left: 0; top: 0; margin: 0; padding: 5px 5px 15px; background: #f7f2ea; border-radius: 2px; box-shadow: 0 10px 22px rgb(0 0 0 / .45);
  transform: translate3d(var(--x, 0), var(--y, 0), 0) rotate(var(--r, 0deg)); will-change: transform; opacity: 0; transition: opacity .8s ease; }
.pele.pret figure { opacity: 1; animation: pele-flotte var(--d, 9s) ease-in-out infinite alternate; animation-delay: var(--dl, 0s); }
.pele figure img { display: block; width: var(--w, 130px); height: var(--h, 100px); object-fit: cover; }
.pele figure.en-avant { opacity: 0 !important; }
@keyframes pele-flotte { from { transform: translate3d(var(--x), var(--y), 0) rotate(var(--r)); } to { transform: translate3d(calc(var(--x) + var(--dx, 6px)), calc(var(--y) + var(--dy, -6px)), 0) rotate(calc(var(--r) + 1.6deg)); } }
.pele-voile { position: absolute; inset: 0; z-index: -2; pointer-events: none; background: linear-gradient(180deg, rgb(15 10 8 / .1) 0%, rgb(15 10 8 / 0) 30%, rgb(15 10 8 / .55) 72%, rgb(15 10 8 / .86) 100%); }
/* la vignette qui s'agrandit : un tirage plus grand, posé au milieu, avec le nom du photographe */
.pele-vedette { position: absolute; left: 0; top: 0; z-index: -1; margin: 0; padding: 10px 10px 34px; background: #fbf8f2; border-radius: 3px; pointer-events: none;
  box-shadow: 0 30px 70px rgb(0 0 0 / .6), 0 0 0 1px rgb(0 0 0 / .05); transform-origin: 0 0; will-change: transform;
  transition: transform .95s cubic-bezier(.22, .8, .2, 1); }
.pele-vedette img { display: block; width: 100%; object-fit: cover; }
.pele-vedette figcaption { position: absolute; left: 12px; right: 12px; bottom: 8px; color: #2b241c; font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transition: opacity .4s .5s; }
.pele-vedette.au-centre figcaption { opacity: 1; }
.pole--pele .pole-bas { position: relative; z-index: 1; }
@media (max-width: 759px) { .pele figure:nth-child(n + 25) { display: none; } .pele-vedette { padding: 7px 7px 26px; } .pele-vedette figcaption { font-size: 11px; bottom: 6px; } }
@media (prefers-reduced-motion: reduce) { .pele.pret figure { animation: none; } .pele-vedette { transition: none; } }

/* ---------- Clubs et académies (2026-11-14) : le logo s'affiche en entier, jamais rogné dans un rond ---------- */
.avatar--logo { object-fit: contain; background: #fff; border-radius: 26%; padding: 7%; box-sizing: border-box; }
.avatar--grand.avatar--logo { padding: 9px; }
.carte-couv .couv-logo { position: absolute; inset: 0; display: grid; place-items: center; background: #fff; }
.carte-couv .couv-logo img { position: static; width: 62%; height: 78%; object-fit: contain; }
.carte-artiste:hover .couv-logo img { transform: none; }

/* ---------- Presse & liens (2026-11-14) : cartes vers des pages du web (src/liens.js) ---------- */
.grille-liens { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.grille-liens--espace { margin-bottom: 28px; }
.lien-web { position: relative; display: grid; grid-template-columns: 112px 1fr; overflow: hidden; border-radius: var(--rayon); background: var(--surface); border: 1px solid var(--ligne); box-shadow: var(--ombre-douce); transition: border-color .15s, transform .15s; }
.lien-web:hover { border-color: var(--ligne-forte); transform: translateY(-1px); }
.lien-web-tout { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.lien-web-tout:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lien-web-image { position: relative; display: grid; place-items: center; min-height: 112px; background: var(--surface-2); color: var(--encre-3); }
.lien-web-image .ic { width: 28px; height: 28px; }
.lien-web-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lien-web-corps { padding: 12px 14px 14px; display: grid; gap: 5px; align-content: start; min-width: 0; }
.lien-web-corps h3 { margin: 0; font-size: 1rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lien-web-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0; font-size: .78rem; color: var(--encre-2); }
.lien-web-meta > span:not(.puce-lien) { overflow-wrap: anywhere; }
.lien-web-meta > span + span:not(.puce-lien)::before { content: "·"; margin-inline-end: 8px; }
.puce-lien { padding: 2px 9px; border-radius: 999px; background: var(--accent-pale); color: var(--accent-fonce); font-weight: 700; }
.lien-web--video .puce-lien { background: var(--encre); color: #fff; }
.lien-web-resume { margin: 0; color: var(--encre-2); font-size: .88rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lien-web .lien-fleche { font-size: .88rem; margin-top: 2px; }
.lien-web-retirer { position: absolute; top: 8px; inset-inline-end: 8px; z-index: 2; margin: 0; }
.lien-web-retirer .bouton-icone { background: var(--surface); box-shadow: var(--ombre-douce); }
.lien-web:has(.lien-web-retirer) .lien-web-corps { padding-inline-end: 52px; }
.ajout-lien { margin-top: 16px; }
.ajout-lien > summary { list-style: none; width: max-content; }
.ajout-lien > summary::-webkit-details-marker { display: none; }
.ajout-lien[open] > summary { margin-bottom: 12px; }
.fiche-opp-liens { margin-top: 32px; }
.fiche-opp-liens .grille-liens { grid-template-columns: 1fr; }
@media (max-width: 420px) { .lien-web { grid-template-columns: 88px 1fr; } .lien-web-image { min-height: 96px; } }

/* ---------- Galerie de l'espace (2026-11-14) : envoi groupé, un seul « Tout enregistrer », rien ne remonte ---------- */
.envois-vignettes { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; padding: 0; list-style: none; }
.envois-vignettes li { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--surface-2); }
.envois-vignettes img { width: 100%; height: 100%; object-fit: cover; display: block; }
.envois-vignettes li span { position: absolute; inset-inline: 0; bottom: 0; padding: 4px 6px; font-size: .7rem; font-weight: 600; color: #fff; background: rgb(0 0 0 / .62); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.envois-vignettes li.en-cours img { opacity: .55; }
.envois-vignettes li.ok span { background: #1F7A4D; }
.envois-vignettes li.ko span { background: #B3261E; white-space: normal; }
.zone-envoi[data-progression]::after { content: attr(data-progression); display: block; margin-top: 8px; font-weight: 700; font-variant-numeric: tabular-nums; }
.galerie-auto .media-enregistrer-un { display: none; }
.liste-medias .media-ligne:first-child .media-monter, .liste-medias .media-ligne:last-child .media-descendre { visibility: hidden; }
.media-ligne.est-modifiee { border-color: #C99A2E; box-shadow: inset 4px 0 0 #C99A2E; }
.media-ligne.est-enregistree { border-color: #1F7A4D; box-shadow: inset 4px 0 0 #1F7A4D; transition: box-shadow 1s; }
.media-ligne.est-erreur { border-color: #B3261E; box-shadow: inset 4px 0 0 #B3261E; }
.media-ligne.est-nouvelle { box-shadow: inset 4px 0 0 var(--accent, #E0452B); }
.media-ligne.vient-de-bouger { animation: theme-ok 1s ease; }
.galerie-nouvelles { margin: 18px 0 6px; padding: 10px 14px; border-radius: 10px; background: #FFF4E5; color: #6B4A1F; font-weight: 600; }
.barre-enregistrer { position: sticky; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin: 12px 0; padding: 12px 14px 12px 18px; border-radius: 14px; background: #17120e; color: #fff; box-shadow: 0 14px 34px rgb(0 0 0 / .28); }
.barre-enregistrer span { font-weight: 600; }
.barre-enregistrer.est-ok { background: #1F7A4D; }
.barre-enregistrer.est-ok button { display: none; }
.barre-enregistrer.est-erreur { background: #8C1D18; }
.bloc-liens .deux-colonnes, form#liens .deux-colonnes { align-items: start; }

/* ---------- Bibliothèque (2026-11-14) : trouver un livre, ranger les livres à sa façon ---------- */
.etagere-outils { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.etagere-chercher { display: flex; align-items: center; gap: 8px; flex: 1 1 240px; max-width: 360px; padding: 0 14px; min-height: 42px; border: 1px solid var(--ligne-forte); border-radius: 999px; background: var(--surface); }
.etagere-chercher input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; outline: none; }
.etagere-boutons { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.etagere-fleche { font-size: 1.4rem; line-height: 1; }
.etagere-aide { flex-basis: 100%; margin: 0; padding: 10px 14px; border-radius: 10px; background: #FFF4E5; color: #6B4A1F; font-weight: 600; display: flex; gap: 8px; align-items: center; }
.etagere-aide[hidden] { display: none; }
[data-ranger-livres][aria-pressed="true"] { background: #17120e; color: #fff; border-color: #17120e; }
.etagere--ranger .livre:not(.livre--uni) { cursor: grab; touch-action: none; }
.etagere--ranger .livre:not(.livre--uni) > a { pointer-events: none; }
.etagere--ranger .livre:not(.livre--uni):hover { transform: translateY(-10px); }
.etagere--ranger .livre:focus-visible { outline: 3px solid var(--accent, #E0452B); outline-offset: 3px; }
.livre { transition: transform .25s ease; }
.livre--tenu { opacity: .25; }
.livre--fantome { cursor: grabbing; transform: translateY(-16px) rotate(-2deg); filter: drop-shadow(0 18px 24px rgb(0 0 0 / .35)); list-style: none; }
.livre--trouve { animation: livre-trouve 1.4s ease; }
@keyframes livre-trouve { 0%, 100% { transform: none; } 25% { transform: translateY(-22px); } 55% { transform: translateY(-8px); } }

/* ---------- Accueil (2026-11-14, version A) : grande photo en fondu enchaîné + lent zoom, toutes les 20 s ---------- */
.pole--diaporama { overflow: hidden; isolation: isolate; background: #17120e; }
.pole--diaporama .pole-image { opacity: 0; z-index: -3; transform: scale(1.02); transition: opacity 1.6s ease-in-out; will-change: transform, opacity; }
.pole--diaporama .pole-image.actif { opacity: 1; z-index: -2; animation: pole-zoom calc(var(--duree, 20s) + 2s) linear forwards; }
.pole--diaporama .pole-image.actif.zoom-inverse { animation-name: pole-zoom-inverse; }
.pole--diaporama .pole-image.sortante { opacity: 0; z-index: -2; }
.pole--diaporama.en-pause .pole-image.actif, .pole--diaporama.en-pause .pole-progression i.actif b { animation-play-state: paused; }
@keyframes pole-zoom { from { transform: scale(1.02) translate3d(0, 0, 0); } to { transform: scale(1.12) translate3d(-1.6%, -1.2%, 0); } }
@keyframes pole-zoom-inverse { from { transform: scale(1.12) translate3d(1.4%, -1%, 0); } to { transform: scale(1.02) translate3d(0, 0, 0); } }
@media (hover: hover) { .pole--diaporama:hover .pole-image { transform: none; } }
.pole-progression { position: absolute; inset-inline: 22px; top: 16px; z-index: 2; display: flex; gap: 5px; pointer-events: none; }
.pole-progression i { flex: 1; height: 3px; border-radius: 3px; background: rgb(255 255 255 / .32); overflow: hidden; }
.pole-progression i b { display: block; height: 100%; width: 0; background: #fff; }
.pole-progression i.fait b { width: 100%; }
.pole-progression i.actif b { animation: pole-barre var(--duree, 20s) linear forwards; }
@keyframes pole-barre { to { width: 100%; } }
.pole-credit { position: absolute; inset-inline-end: 22px; top: 30px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: rgb(0 0 0 / .38); color: #fff; font-size: .8rem; font-weight: 600; backdrop-filter: blur(6px); }
.pole-credit svg { width: 15px; height: 15px; }
.pole-credit span:empty, .pole-credit:has(span:empty) { display: none; }
.sans-mouvement .pole-progression { display: none; }
@media (max-width: 759px) { .pole-progression { inset-inline: 14px; top: 12px; } .pole-credit { inset-inline-end: 14px; top: 24px; font-size: .72rem; } }
@media (prefers-reduced-motion: reduce) { .pole--diaporama .pole-image.actif, .pole-progression i.actif b { animation: none; } }
.barre-enregistrer[hidden] { display: none; }
/* Tarifs : onglets Photographes / Clubs (2026-11-14) */
.onglets--pour { justify-content: center; flex-wrap: wrap; }

/* ---------- Pass Premium (proposition 2026-11-14) : bandeau large sous les pass, avec l'exemple de site ---------- */
.tarif-premium { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; margin-top: 18px; padding: clamp(22px, 3.4vw, 40px); border-radius: 22px;
  background: #12100d; color: #f2ebdf; border: 1px solid rgb(214 70 43 / .55); box-shadow: 0 24px 60px -30px rgb(0 0 0 / .6); text-align: start; }
.tarif-premium-surtitre { display: inline-flex; align-items: center; gap: 6px; margin: 0; color: #e8694f; font-weight: 700; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; }
.tarif-premium h3 { margin: 10px 0 6px; font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.1; color: #f2ebdf; }
.tarif-premium .tarif-prix { color: #f2ebdf; }
.tarif-premium .tarif-liste { margin: 14px 0 0; }
.tarif-premium .tarif-liste li { color: #e6dccb; }
.tarif-premium-boutons { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 20px; }
.tarif-premium-bientot { padding: 6px 12px; border-radius: 999px; border: 1px solid rgb(242 235 223 / .3); font-size: .82rem; color: #cfc4b2; }
.tarif-premium-apercu { display: block; border-radius: 14px; overflow: hidden; background: #1d1915; border: 1px solid rgb(242 235 223 / .14); text-decoration: none; color: inherit; transition: transform .3s; }
.tarif-premium-apercu:hover { transform: translateY(-4px) rotate(-.4deg); }
.tarif-premium-barre { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #26211c; font-size: .72rem; color: #a99d8c; }
.tarif-premium-barre i { width: 9px; height: 9px; border-radius: 50%; background: #4a423a; }
.tarif-premium-barre b { margin-inline-start: 8px; font-weight: 500; }
.tarif-premium-ecran { position: relative; display: block; aspect-ratio: 16 / 10; background: linear-gradient(180deg, rgb(18 16 13 / .2), rgb(18 16 13 / .9)), url('https://images.unsplash.com/photo-1614447412838-3f4ebd5c2dc0?auto=format&fit=crop&q=60&w=900') center / cover; }
.tarif-premium-nom { position: absolute; left: 18px; bottom: 34px; font-family: "Readex Pro", sans-serif; font-weight: 800; text-transform: uppercase; font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: .9; letter-spacing: -.01em; color: #f2ebdf; }
.tarif-premium-nom em { font-style: normal; color: transparent; -webkit-text-stroke: 1.5px #f2ebdf; }
.tarif-premium-menu { position: absolute; left: 18px; right: 18px; top: 14px; text-align: end; font-size: .72rem; color: #d8cebd; }
.comparatif .col-premium { color: #c53d24; }
@media (max-width: 860px) { .tarif-premium { grid-template-columns: 1fr; } }
.tarif-premium .tarif-prix { justify-content: flex-start; text-align: start; margin: 14px 0 0; }
.tarif-premium .tarif-prix small { width: auto; margin-inline-start: 2px; }
/* Tarifs clubs sur téléphone : la colonne ne doit pas s'élargir au bouton (texte long, insécable) — 2026-11-14 */
.bande-clubs { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .bande-clubs { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.tarif-club .bouton { white-space: normal; text-align: center; max-width: 100%; }

/* ---------- Mise en avant du Pass Premium auprès des photographes (2026-11-14, src/premium-pub.js) ---------- */
.pub-premium { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(18px, 3.4vw, 40px); align-items: center; margin: 22px 0; padding: clamp(20px, 3vw, 34px); border-radius: 22px; background: radial-gradient(120% 140% at 100% 0%, #3a2a1f 0%, #17130f 60%); color: #e6dccb; box-shadow: var(--ombre-douce); }
.pub-premium-surtitre { display: inline-flex; align-items: center; gap: 6px; margin: 0; color: #e8694f; font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.pub-premium h2 { margin: 10px 0 8px; font-size: clamp(1.35rem, 1rem + 1.6vw, 2rem); line-height: 1.12; color: #f2ebdf; }
.pub-premium-chapo { margin: 0; color: #d6cbb9; max-width: 52ch; }
.pub-premium-liste { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 7px; }
.pub-premium-liste li { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.pub-premium-liste .ic { color: #e8694f; }
.pub-premium-boutons { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 18px; }
.pub-premium .bouton--plein { background: #f2ebdf; color: #17130f; border-color: #f2ebdf; }
.pub-premium .bouton--plein:hover { background: #fff; border-color: #fff; }
.pub-premium-exemple { display: inline-flex; align-items: center; gap: 6px; color: #f2ebdf; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.pub-premium-note { margin: 12px 0 0; font-size: .8rem; color: #a99d8c; }
.pub-premium-apercu { display: block; border-radius: 14px; overflow: hidden; background: #1d1915; border: 1px solid rgb(242 235 223 / .14); text-decoration: none; color: inherit; transition: transform .3s; box-shadow: 0 24px 50px -24px rgb(0 0 0 / .7); }
.pub-premium-apercu:hover { transform: translateY(-4px) rotate(-.4deg); }
.pub-premium-barre { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #26211c; font-size: .72rem; color: #a99d8c; }
.pub-premium-barre i { width: 9px; height: 9px; border-radius: 50%; background: #4a423a; flex: none; }
.pub-premium-barre b { margin-inline-start: 8px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pub-premium-ecran { position: relative; display: block; aspect-ratio: 16 / 10; background: linear-gradient(160deg, #3b2f25, #15110d); background-size: cover; background-position: center; }
.pub-premium-menu { position: absolute; left: 16px; right: 16px; top: 12px; text-align: end; font-size: .7rem; color: #d8cebd; }
.pub-premium-nom { position: absolute; left: 16px; right: 16px; bottom: 22px; font-family: "Readex Pro", sans-serif; font-weight: 800; text-transform: uppercase; font-size: clamp(1.5rem, 3.2vw, 2.4rem); line-height: .92; color: #f2ebdf; overflow-wrap: anywhere; }
.pub-premium-nom em { font-style: normal; color: transparent; -webkit-text-stroke: 1.4px #f2ebdf; }
.pub-premium--compact { margin-top: 10px; }
@media (max-width: 760px) { .pub-premium { grid-template-columns: minmax(0, 1fr); } .pub-premium-apercu { order: -1; } }
.bouton--premium { background: #17130f; border-color: #17130f; color: #f2ebdf; }
.bouton--premium .ic { color: #e8694f; }
.vitrine-site-premium { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 8px 14px; border-radius: 999px; background: #17130f; color: #f2ebdf; font-weight: 600; font-size: .9rem; text-decoration: none; box-shadow: var(--ombre-douce); }
.vitrine-site-premium .ic:first-child { color: #e8694f; }
.vitrine-site-premium:hover { background: #2a221b; }

/* ---------- Logo ف sur les vitrines à ambiance sombre (2026-11-14) ----------
   La règle « body.ambiance .symbole { color: var(--encre) } » (claire) rendait invisible le rond du logo sur fond clair :
   seul le point rouge restait. 1) Carte VIP dorée / Titane : le rond reprend la couleur de la carte, le ف reste clair dedans.
   2) Pied de page : il redevient sombre comme sur le reste du site (son fond suivait var(--encre), devenue claire),
   avec le rond blanc et le ف foncé, comme ailleurs. */
body.ambiance:not(.ambiance--galerie) .cp-carte .symbole { color: currentColor; }
body.ambiance:not(.ambiance--galerie) .pied { background: #17140F; }
body.ambiance:not(.ambiance--galerie) .pied :is(.marque, .symbole) { color: #fff; }
body.ambiance:not(.ambiance--galerie) .pied .marque { --lettre: #17140F; }

/* ---------- Pass Premium : carte de membre « Onyx » sur /tarifs (2026-11-14) ----------
   Noire et vermillon (couleurs du site Premium), pour se distinguer du Titane (Pro) et de l'Or (VIP).
   Matière brossée, liseré vermillon gravé, ف en relief, pastille holographique, reflet qui passe. */
.tarif-premium-an { margin: 4px 0 0; color: #cfc4b2; font-size: .92rem; }
.tarif-premium-physique { display: inline-flex; align-items: center; gap: 7px; margin: 12px 0 0; padding: 5px 12px; border-radius: 999px; border: 1px solid rgb(232 105 79 / .45); background: rgb(232 105 79 / .1); color: #f1c3b6; font-size: .8rem; font-weight: 700; }
.tarif-premium-visuel { position: relative; display: grid; grid-template: "v" 1fr / 1fr; min-height: 340px; padding-bottom: 28px; }
.tarif-premium-visuel > .tarif-premium-apercu { grid-area: v; justify-self: end; align-self: start; width: 78%; opacity: .78; transform: rotate(2deg); }
.tarif-premium-visuel > .tarif-premium-apercu:hover { opacity: 1; }
.carte-onyx {
  grid-area: v; justify-self: start; align-self: end; position: relative; z-index: 2; width: min(78%, 380px); aspect-ratio: 85.6 / 54;
  display: flex; flex-direction: column; padding: 18px 20px; border-radius: 16px; overflow: hidden; isolation: isolate; color: #efe6d6;
  background: radial-gradient(130% 100% at 0% 0%, #2c2621 0%, #141210 46%, #080707 100%);
  box-shadow: 0 1px 0 rgb(255 255 255 / .09) inset, 0 0 0 1px rgb(232 105 79 / .4) inset, 0 34px 60px -26px rgb(0 0 0 / .9), 0 14px 34px -18px rgb(232 105 79 / .45);
  transform: perspective(1200px) rotateY(-13deg) rotateX(7deg) rotateZ(-3deg); transform-origin: 30% 60%; transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}
.tarif-premium:hover .carte-onyx { transform: perspective(1200px) rotateY(-3deg) rotateX(2deg) rotateZ(-1.5deg) translateY(-6px); }
.carte-onyx > * { position: relative; z-index: 3; }
.onyx-texture { position: absolute !important; inset: 0; z-index: 0 !important; background: repeating-linear-gradient(90deg, rgb(255 255 255 / .022) 0 1px, transparent 1px 3px), repeating-linear-gradient(0deg, rgb(0 0 0 / .18) 0 1px, transparent 1px 4px); mix-blend-mode: screen; }
.onyx-filet { position: absolute !important; inset: 9px; z-index: 1 !important; border-radius: 10px; border: 1px solid rgb(232 105 79 / .5); box-shadow: 0 0 0 1px rgb(0 0 0 / .5), inset 0 0 0 1px rgb(0 0 0 / .4); }
.onyx-embleme { position: absolute !important; z-index: 1 !important; inset-inline-end: -8%; bottom: -26%; width: 54%; aspect-ratio: 1; filter: drop-shadow(0 1px 0 rgb(255 255 255 / .07)) drop-shadow(0 -1px 0 rgb(0 0 0 / .7)); }
.onyx-embleme .symbole { width: 100%; height: 100%; color: #1c1916; --lettre: #0b0a09; --point: rgb(232 105 79 / .42); }
.onyx-reflet { position: absolute !important; z-index: 2 !important; inset: -40% -70%; background: linear-gradient(112deg, transparent 42%, rgb(255 235 215 / .16) 49%, rgb(232 105 79 / .14) 51%, transparent 58%); animation: onyx-reflet 7s ease-in-out infinite; pointer-events: none; }
@keyframes onyx-reflet { 0%, 55% { transform: translateX(-38%); } 100% { transform: translateX(38%); } }
.onyx-haut { display: flex; align-items: center; justify-content: space-between; }
.carte-onyx .marque--carte { font-size: .86rem; color: #efe6d6; --lettre: #0b0a09; --point: #E0452B; }
.carte-onyx .marque--carte .marque-ma { color: #a99d8c; }
.onyx-holo { position: relative; width: 40px; height: 30px; border-radius: 6px; overflow: hidden; background: linear-gradient(115deg, #ff7a63, #ffd27a, #8ff0cf, #86aaff, #e49bff, #ff7a63) 0 0 / 300% 100%; animation: onyx-holo 6s linear infinite; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .35), 0 2px 6px rgb(0 0 0 / .5); }
.onyx-holo i { position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgb(255 255 255 / .28) 0 2px, transparent 2px 5px); mix-blend-mode: overlay; }
@keyframes onyx-holo { to { background-position: 300% 0; } }
.onyx-genre { margin-top: auto; font-size: .64rem; font-weight: 800; letter-spacing: .3em; text-transform: uppercase; color: #e8694f; }
.onyx-nom { margin-top: 3px; font-size: clamp(1rem, .8rem + .9vw, 1.3rem); font-weight: 700; letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: linear-gradient(100deg, #f7e9d2 0%, #c9b597 38%, #fff7e8 52%, #a8927a 72%, #efe0c6 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.onyx-bas { display: flex; justify-content: space-between; gap: 10px; margin-top: 6px; font-size: .62rem; letter-spacing: .08em; color: #a99d8c; }
.onyx-bas span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tarif-premium-legende { grid-area: v; align-self: end; justify-self: end; margin: 0 0 -26px; font-size: .78rem; color: #a99d8c; }
@media (max-width: 860px) { .tarif-premium-visuel { min-height: 0; aspect-ratio: 5 / 4; } .carte-onyx { width: 74%; } }
@media (max-width: 480px) { .tarif-premium-visuel { aspect-ratio: 1 / 1; } .carte-onyx { width: 86%; padding: 14px 16px; } .tarif-premium-visuel > .tarif-premium-apercu { width: 84%; } }
@media (prefers-reduced-motion: reduce) { .onyx-reflet, .onyx-holo { animation: none; } .carte-onyx { transition: none; } }
.carte-onyx { direction: ltr; }
.onyx-bas span:last-child { flex: none; white-space: nowrap; }
.onyx-genre { text-align: start; }

/* ---------- Bibliothèque (2026-11-14) : livre « magazine » des membres Premium ---------- */
.livre--magazine { margin: 0 clamp(8px, 1.2vw, 16px); }
.livre--magazine > a { display: block; height: 100%; }
.magazine { position: relative; display: block; height: 100%; aspect-ratio: 0.74; overflow: hidden; background: #111; border-radius: 2px 4px 4px 2px; color: #fff;
  box-shadow: inset 5px 0 0 #d6462b, inset 7px 0 0 rgb(0 0 0 / .25), 10px 14px 26px -12px rgb(0 0 0 / .55), 2px 2px 0 rgb(0 0 0 / .08);
  transform: rotate(1.2deg); transform-origin: bottom center; transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.livre--magazine:nth-child(even) .magazine { transform: rotate(-1.4deg); }
.magazine img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.magazine-voile { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(0 0 0 / .55) 0%, rgb(0 0 0 / 0) 34%, rgb(0 0 0 / 0) 60%, rgb(0 0 0 / .7) 100%),
  linear-gradient(115deg, rgb(255 255 255 / 0) 40%, rgb(255 255 255 / .22) 50%, rgb(255 255 255 / 0) 60%); }
.magazine-haut { position: absolute; left: 14px; right: 12px; top: 10px; display: flex; justify-content: space-between; font-size: 9px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.magazine-marque { color: #ff7a5c; }
.magazine-titre { position: absolute; left: 13px; right: 10px; top: 26px; display: grid; font-weight: 800; text-transform: uppercase; line-height: .86; letter-spacing: -.02em;
  font-size: clamp(26px, 2.6vw, 38px); text-shadow: 0 2px 14px rgb(0 0 0 / .35); font-stretch: 75%; }
.magazine-titre span:last-child:not(:first-child) { font-size: .62em; letter-spacing: .02em; color: #fff; opacity: .92; }
.magazine-bas { position: absolute; left: 14px; right: 12px; bottom: 10px; display: flex; align-items: end; justify-content: space-between; gap: 8px; font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.magazine-code { flex: none; width: 34px; height: 18px; background: repeating-linear-gradient(90deg, #fff 0 1px, transparent 1px 3px, #fff 3px 5px, transparent 5px 6px); opacity: .9; }
@media (hover: hover) { .livre--magazine:hover .magazine { transform: translateY(-12px) rotate(0deg); } }
.etagere--ranger .livre--magazine:hover .magazine { transform: translateY(-10px); }
@media (max-width: 640px) { .magazine-titre { font-size: 24px; } }
/* livre ouvert : couverture de magazine */
.lp-couv--magazine { display: block; overflow: hidden; }
.lp-couv--magazine img, .lp-couv--magazine canvas { position: absolute; inset: 0; }
.lp-mag-voile { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(0 0 0 / .55), rgb(0 0 0 / 0) 35%, rgb(0 0 0 / 0) 62%, rgb(0 0 0 / .72)); }
.lp-mag-haut, .lp-mag-bas { position: absolute; left: 6%; right: 6%; display: flex; justify-content: space-between; gap: 10px; color: #fff; font-size: calc(var(--pl) * .026); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.lp-mag-haut { top: 4%; } .lp-mag-haut span:first-child { color: #ff7a5c; }
.lp-mag-bas { bottom: 4%; font-weight: 600; letter-spacing: .08em; }
.lp-mag-titre { position: absolute; left: 6%; right: 6%; top: 9%; color: #fff; font-size: calc(var(--pl) * .12); font-weight: 800; line-height: .86; text-transform: uppercase; letter-spacing: -.02em; text-shadow: 0 3px 18px rgb(0 0 0 / .4); }
.livre--magazine { height: auto !important; align-self: flex-end; }
.magazine { height: clamp(250px, 27vw, 360px); }
.magazine img { height: 108%; object-position: center top; }
.lp-couv--magazine { inset: 0 !important; border-radius: 0 3px 3px 0; }
.lp-mag-bas { font-size: calc(var(--pl) * .022); }
@media (max-width: 640px) { .magazine { height: 250px; } }

/* ---------- Livre Premium : intérieur de monographie (2026-11-14, pagesPremium dans public/js/fnan.js) ----------
   Papier ivoire, encre chaude, vermillon Fnan en accent ; titres en Readex Pro, textes en Georgia. */
.livre-boite--premium { --pm-encre: #1f1b16; --pm-gris: #7d7366; --pm-vermillon: #c8452c; }
.livre-boite--premium .lb-feuille:not(.lb-feuille--couv) .lb-recto, .livre-boite--premium .lb-feuille:not(.lb-feuille--dos) .lb-verso { background: #f5f0e6 radial-gradient(120% 80% at 50% 0%, rgb(255 255 255 / .55), transparent 70%); }
.livre-boite--premium .lb-face > * { font-family: "Readex Pro", system-ui, sans-serif; color: var(--pm-encre); }
.pm-folio { position: absolute; bottom: 4.2%; font-size: calc(var(--pl) * .021); letter-spacing: .12em; color: var(--pm-gris); z-index: 3; }
.lb-recto .pm-folio { right: 7%; }
.lb-verso .pm-folio { left: 7%; }
.pm-filet { display: block; width: calc(var(--pl) * .09); height: 1.5px; background: var(--pm-vermillon); }
.pm-blanche { position: absolute; inset: 0; display: grid; place-items: center; }
.pm-blanche span { font-size: calc(var(--pl) * .05); color: rgb(125 115 102 / .22); font-weight: 800; }

/* Page de titre */
.pm-titre { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: calc(var(--pl) * .028); padding: 0 13% 0 15%; }
.pm-sur { font-size: calc(var(--pl) * .024); letter-spacing: .32em; text-transform: uppercase; color: var(--pm-vermillon) !important; font-weight: 600; }
.pm-titre h3 { margin: 0; display: grid; font-weight: 800; text-transform: uppercase; line-height: .9; letter-spacing: -.01em; font-size: calc(var(--pl) * .12); }
.pm-titre h3 span:nth-child(2) { color: transparent; -webkit-text-stroke: 1.4px var(--pm-encre); }
.pm-titre p { margin: 0; font-family: Georgia, "Times New Roman", serif !important; font-style: italic; font-size: calc(var(--pl) * .036); color: #4d453b !important; }
.pm-numero { margin-top: calc(var(--pl) * .08); font-size: calc(var(--pl) * .022); letter-spacing: .24em; text-transform: uppercase; color: var(--pm-gris) !important; }
.pm-titre small { font-size: calc(var(--pl) * .022); color: var(--pm-gris) !important; }

/* Sommaire */
.pm-sommaire { position: absolute; inset: 0; padding: 22% 16% 0 14%; }
.pm-sommaire h4 { margin: 0 0 calc(var(--pl) * .07); font-size: calc(var(--pl) * .026); font-weight: 600; letter-spacing: .34em; text-transform: uppercase; color: var(--pm-vermillon); }
.pm-sommaire ol { list-style: none; margin: 0; padding: 0; display: grid; gap: calc(var(--pl) * .04); }
.pm-sommaire li { display: grid; grid-template-columns: calc(var(--pl) * .09) auto minmax(calc(var(--pl) * .04), 1fr) auto; align-items: baseline; gap: calc(var(--pl) * .02); }
.pm-rom { font-family: Georgia, serif !important; font-style: italic; color: var(--pm-vermillon); font-size: calc(var(--pl) * .034); }
.pm-nom { font-size: calc(var(--pl) * .042); font-weight: 600; line-height: 1.15; }
.pm-trait { border-bottom: 1px solid rgb(31 27 22 / .22); transform: translateY(-.25em); }
.pm-page { font-size: calc(var(--pl) * .028); color: var(--pm-gris); }
.pm-total { position: absolute; left: 14%; bottom: 14%; margin: 0; font-family: Georgia, serif !important; font-style: italic; font-size: calc(var(--pl) * .03); color: var(--pm-gris) !important; }

/* Ouverture de chapitre : page sombre */
.pm-chapitre { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: calc(var(--pl) * .025); padding: 0 12% 18% 14%; overflow: hidden; background: #15120f; }
.pm-chapitre-num { position: absolute; top: 7%; right: 8%; font-family: Georgia, serif !important; font-size: calc(var(--pl) * .4); line-height: 1; color: transparent !important; -webkit-text-stroke: 1.2px rgb(200 69 44 / .6); }
.pm-chapitre-sur { font-size: calc(var(--pl) * .024); letter-spacing: .34em; text-transform: uppercase; color: #e8694f !important; font-weight: 600; }
.pm-chapitre h4 { margin: 0; font-size: calc(var(--pl) * .085); line-height: 1; font-weight: 700; color: #f5ecdc !important; }
.pm-chapitre p { margin: 0; font-family: Georgia, serif !important; font-style: italic; font-size: calc(var(--pl) * .03); color: #b9ad99 !important; }

/* Photo à fond perdu (et frontispice) */
.pm-plein { position: absolute; inset: 0; margin: 0; overflow: hidden; background: #15120f; }
.pm-plein img, .pm-plein canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.pm-cartel { display: inline-flex; align-items: baseline; gap: .7em; font-size: calc(var(--pl) * .021); letter-spacing: .04em; }
.pm-cartel b { font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--pm-vermillon); }
.pm-cartel em { font-family: Georgia, serif !important; font-style: italic; color: inherit; }
.pm-plein .pm-cartel, .pm-double .pm-cartel { position: absolute; z-index: 2; left: 6%; bottom: 4.5%; padding: .5em .9em; border-radius: 2px; background: rgb(18 15 12 / .58); color: #f2e9d9; backdrop-filter: blur(4px); }
.pm-plein .pm-cartel b, .pm-double .pm-cartel b { color: #f0866d; }
.pm-frontispice .pm-cartel { display: none; }

/* Planche : la photo posée sur le papier avec de grandes marges, comme un tirage contrecollé */
.pm-planche { position: absolute; inset: 0; margin: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: calc(var(--pl) * .03); padding: 15% 13% 13%; }
.pm-planche--large { padding: 26% 9% 16%; }
.pm-planche--g { padding-right: 7%; padding-left: 17%; }
.pm-planche--d { padding-left: 7%; padding-right: 17%; }
.pm-cadre { position: relative; min-height: 0; display: grid; place-items: center; }
.pm-cadre img, .pm-cadre canvas { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; box-shadow: 0 1px 2px rgb(0 0 0 / .18), 0 14px 26px -16px rgb(0 0 0 / .45); }
.pm-planche figcaption { display: flex; justify-content: center; color: var(--pm-gris); }
.pm-planche--g figcaption { justify-content: flex-end; }
.pm-planche--d figcaption { justify-content: flex-start; }

/* Page de légende, face à sa photo */
.pm-legende { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 0 16% 22% 14%; }
.pm-legende-bloc { display: grid; gap: calc(var(--pl) * .028); }
.pm-legende-num { font-size: calc(var(--pl) * .022); letter-spacing: .3em; text-transform: uppercase; color: var(--pm-vermillon); font-weight: 600; }
.pm-legende h4 { margin: 0; font-size: calc(var(--pl) * .066); line-height: 1.05; font-weight: 700; letter-spacing: -.01em; }
.pm-legende p { margin: 0; font-family: Georgia, "Times New Roman", serif !important; font-size: calc(var(--pl) * .034); line-height: 1.55; color: #3d362e !important; max-width: 30ch; }

/* Grande double page : la même photo coupée à la reliure, à cheval sur les deux pages */
.pm-double { position: absolute; inset: 0; margin: 0; overflow: hidden; background: #15120f; }
.pm-double img, .pm-double canvas { position: absolute; top: 0; height: 100%; width: 200%; max-width: none; object-fit: cover; display: block; }
.pm-double--g img, .pm-double--g canvas { left: 0; }
.pm-double--d img, .pm-double--d canvas { left: -100%; }
.pm-double--d .pm-cartel { left: auto; right: 6%; }

/* Page de fin */
.pm-fin { gap: calc(var(--pl) * .03) !important; }
.pm-fin h3 { font-family: Georgia, serif !important; font-style: italic; font-weight: 400; }
.pm-colophon { font-family: Georgia, serif !important; font-style: italic; color: #4d453b !important; max-width: 32ch; }

/* Page de numéro de planche, face à une photo seule */
.pm-numero-page { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: flex-end; justify-content: flex-end; gap: calc(var(--pl) * .012); padding: 0 14% 22% 14%; }
.pm-numero-grand { font-family: Georgia, serif !important; font-style: italic; font-size: calc(var(--pl) * .2); line-height: .9; color: transparent !important; -webkit-text-stroke: 1px rgb(200 69 44 / .55); }
.pm-numero-mot { font-size: calc(var(--pl) * .022); letter-spacing: .32em; text-transform: uppercase; color: var(--pm-vermillon) !important; font-weight: 600; }
.pm-numero-page em { font-family: Georgia, serif !important; font-style: italic; font-size: calc(var(--pl) * .032); color: #4d453b !important; }

/* Livre d'une discipline : page de présentation à la place du sommaire */
.pm-presentation h4 { margin-bottom: calc(var(--pl) * .03) !important; }
.pm-presentation-titre { margin: 0 0 calc(var(--pl) * .04); font-size: calc(var(--pl) * .07); font-weight: 700; line-height: 1.05; }
.page-livre-seul .livre-boite::backdrop { background: rgb(10 9 8 / .82); }

/* Accueil : une photo toutes les 3 s (demande du 2026-11-14) ; fondu raccourci pour que le défilement reste fluide */
.pole--diaporama .pole-image { transition-duration: .9s; }
.pole--diaporama .pole-image.actif { animation-duration: calc(var(--duree, 3s) + 1s); }

/* Livre Premium bilingue (2026-11-14) : la seconde langue, plus discrète, en Readex Pro (qui a les lettres arabes) */
.livre-boite--premium .pm-ar { font-family: "Readex Pro", system-ui, sans-serif !important; font-style: normal !important; letter-spacing: 0 !important; text-transform: none !important; }
/* le livre est toujours mis en page de gauche à droite : séparateur placé à gauche du second texte, quelle que soit sa langue */
.pm-sur .pm-ar, .pm-numero .pm-ar, .pm-chapitre-sur .pm-ar, .pm-numero-mot .pm-ar { display: inline-block; margin-left: .6em; padding-left: .6em; border-left: 1px solid currentColor; font-weight: 600; }
.pm-sommaire h4 .pm-ar { display: inline-block; margin-left: .5em; font-size: 1.15em; }
.pm-cartel .pm-ar { opacity: .85; }
.pm-cartel em + .pm-ar { display: inline-block; padding-left: .6em; border-left: 1px solid currentColor; }
.pm-total .pm-ar { display: block; margin-top: .3em; font-size: .95em; }
.pm-second { margin-top: calc(var(--pl) * .035); padding-top: calc(var(--pl) * .03); border-top: 1px solid rgb(31 27 22 / .15); font-family: "Readex Pro", system-ui, sans-serif !important; }
.pm-second h5 { margin: 0 0 calc(var(--pl) * .012); font-size: calc(var(--pl) * .042); font-weight: 600; color: #3d362e; line-height: 1.3; }
.pm-second p, p.pm-second { margin: 0; font-family: "Readex Pro", system-ui, sans-serif !important; font-size: calc(var(--pl) * .03) !important; line-height: 1.7 !important; color: #5a5147 !important; font-style: normal !important; }
.pm-legende p:lang(ar), .pm-second p:lang(ar) { line-height: 1.8 !important; }

/* ---------- La Photo du jour (2026-11-14, src/pages/photo-du-jour.js) ----------
   Bandeau sombre façon salle d'exposition ; 5 nominés en cartes ; tampon noir et vermillon pour la gagnante. */
.pdj { background: radial-gradient(120% 90% at 50% 0%, #2a2019 0%, #15110e 58%, #0e0b09 100%); color: #f2ebdf; }
.pdj .surtitre { color: #e8b04b; }
.pdj .surtitre span[lang] { margin-inline-start: .3em; font-weight: 600; }
.pdj-tete { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; margin-bottom: 26px; }
.pdj h2, .pdj h1 { margin: 6px 0 8px; color: #f8f1e6; font-size: clamp(1.6rem, 1.1rem + 2vw, 2.6rem); line-height: 1.1; }
.pdj-chapo { margin: 0; color: #cbbfae; max-width: 60ch; }
.pdj-rebours { display: grid; justify-items: end; gap: 2px; padding: 12px 18px; border-radius: 16px; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .1); }
.pdj-rebours small { color: #a99d8c; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.pdj-rebours b { font-size: 1.6rem; color: #fff; font-variant-numeric: tabular-nums; }
.pdj-grille { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.pdj-carte { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: 16px; overflow: hidden; background: #1d1813; border: 1px solid rgb(255 255 255 / .08); transition: border-color .2s, transform .2s; }
.pdj-carte:hover { transform: translateY(-3px); border-color: rgb(232 176 75 / .45); }
.pdj-carte--mien { border-color: #e0452b; box-shadow: 0 0 0 2px rgb(224 69 43 / .5), 0 20px 40px -20px rgb(224 69 43 / .5); }
.pdj-photo { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #2a231c; }
.pdj-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.pdj-photo--fili img { height: 109%; object-position: top; }   /* la bande « fnan.ma » du bas reste hors cadre */
.pdj-carte:hover .pdj-photo img { transform: scale(1.04); }
.pdj-badge { position: absolute; left: 10px; top: 10px; display: inline-flex; flex-direction: column; gap: 1px; padding: 6px 11px 7px; border-radius: 10px; background: rgb(14 11 9 / .78); backdrop-filter: blur(6px); line-height: 1.15; }
.pdj-badge b { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: #e8b04b; }
.pdj-badge span { font-size: .8rem; color: #f2ebdf; }
.pdj-demo { position: absolute; left: 10px; bottom: 10px; top: auto; right: auto; }
.pdj-bas { display: grid; gap: 10px; padding: 12px; align-content: space-between; }
.pdj-auteur { display: flex; align-items: center; gap: 9px; color: inherit; text-decoration: none; min-width: 0; }
.pdj-auteur span { display: grid; min-width: 0; }
.pdj-auteur strong { font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pdj-auteur small { color: #a99d8c; font-size: .8rem; }
.pdj-voter { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 44px; padding: 8px 8px 8px 16px; border-radius: 999px; border: 1.5px solid rgb(242 235 223 / .35); background: transparent; color: #f2ebdf; font: inherit; font-weight: 600; cursor: pointer; transition: background .2s, border-color .2s; }
.pdj-voter:hover { border-color: #f2ebdf; background: rgb(255 255 255 / .06); }
.pdj-voter[aria-pressed="true"] { background: #e0452b; border-color: #e0452b; color: #fff; }
.pdj-compte { min-width: 34px; padding: 4px 10px; border-radius: 999px; background: rgb(255 255 255 / .12); text-align: center; font-variant-numeric: tabular-nums; }
.pdj-hier { display: grid; grid-template-columns: minmax(0, 260px) 1fr; gap: 22px; align-items: center; margin-top: 30px; padding: 18px; border-radius: 20px; background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .08); }
.pdj-hier-photo { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 12px; }
.pdj-hier-photo img { width: 100%; height: 100%; object-fit: cover; }
.pdj-hier-texte .surtitre { margin: 0; }
.pdj-hier-nom { margin: 4px 0; font-size: 1.5rem; font-weight: 700; }
.pdj-hier-nom a { color: #fff; text-decoration: none; }
.pdj-hier-votes { margin: 0 0 10px; color: #a99d8c; }
.pdj .lien-fleche { color: #f2ebdf; }
.pdj-lien { margin: 22px 0 0; }
/* Le tampon de la gagnante : façon tampon d'agence de presse, noir et vermillon, légèrement penché */
.pdj-tampon { position: absolute; right: 10px; bottom: 12px; display: grid; justify-items: center; gap: 1px; padding: 8px 14px 9px; transform: rotate(-7deg);
  background: rgb(16 12 10 / .82); color: #fbeee0; border: 2px solid #e0452b; outline: 1px solid rgb(224 69 43 / .55); outline-offset: 3px; border-radius: 6px; box-shadow: 0 10px 24px rgb(0 0 0 / .45); line-height: 1.1; }
.pdj-tampon-fr { font-size: .74rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: #ff8a6f; }
.pdj-tampon-ar { font-size: .95rem; font-weight: 700; }
.pdj-tampon-date { font-size: .66rem; letter-spacing: .08em; color: #cbbfae; text-transform: uppercase; }
.pdj-tampon--petit { right: 8px; bottom: 8px; padding: 5px 10px 6px; }
.pdj-tampon--petit .pdj-tampon-fr { font-size: .62rem; } .pdj-tampon--petit .pdj-tampon-ar { font-size: .8rem; }
/* Page /photo-du-jour : archives */
.pdj--page { padding-block: 40px 50px; }
.pdj-archives { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.pdj-archive { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 14px; background: #eee6da; text-decoration: none; }
.pdj-archive img { width: 100%; height: 100%; object-fit: cover; }
.pdj-archive-nom { position: absolute; left: 10px; top: 10px; padding: 5px 11px; border-radius: 999px; background: rgb(255 255 255 / .9); color: #17140f; font-size: .85rem; font-weight: 600; }
@media (max-width: 980px) {
  .pdj-grille { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(230px, 72%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
  .pdj-grille::-webkit-scrollbar { display: none; }
  .pdj-carte { scroll-snap-align: start; }
}
@media (max-width: 560px) { .pdj-hier { grid-template-columns: 1fr; } .pdj-rebours { justify-items: start; } }

/* La Photo du jour : cartes de collection façon Panini (2026-11-14) — cadre doré, photo en fenêtre ivoire, numéro,
   plaque sombre au nom, sceau doré de Fnan.ma (ف au centre), reflet qui passe au survol. Remplace l'ancienne présentation. */
.pdj-grille { gap: 22px; align-items: start; }
.pdj-carte { display: grid; gap: 12px; background: none; border: 0; border-radius: 0; overflow: visible; transform: none; box-shadow: none; transition: none; }
.pdj-carte:hover { transform: none; border-color: transparent; }
.pdj-carte-cadre { position: relative; padding: 9px; border-radius: 18px; background: linear-gradient(145deg, #fbeaa8 0%, #d6a941 30%, #f6dc8e 52%, #b88a2e 74%, #f1d27a 100%);
  box-shadow: 0 1px 0 rgb(255 255 255 / .6) inset, 0 24px 44px -22px rgb(0 0 0 / .9); transition: transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .5s; }
.pdj-carte:hover .pdj-carte-cadre { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 1px 0 rgb(255 255 255 / .6) inset, 0 34px 60px -24px rgb(0 0 0 / .95); }
.pdj-carte--mien .pdj-carte-cadre { box-shadow: 0 0 0 3px #e0452b, 0 24px 44px -22px rgb(224 69 43 / .7); }
.pdj-photo { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 11px; background: #2a231c; box-shadow: 0 0 0 5px #fbf6ec; }
.pdj-photo img { width: 100%; height: 100%; object-fit: cover; }
.pdj-reflet { position: absolute; inset: -40% -70%; background: linear-gradient(115deg, transparent 40%, rgb(255 255 255 / .28) 50%, transparent 60%); transform: translateX(-60%); transition: transform 1s ease; pointer-events: none; }
.pdj-carte:hover .pdj-reflet { transform: translateX(60%); }
.pdj-badge { left: 9px; top: 9px; }
.pdj-numero { position: absolute; right: 9px; top: 9px; display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 8px; border-radius: 50%; background: #17140f; color: #f6dc8e; font-weight: 800; font-size: 1.15rem; line-height: 1; box-shadow: 0 0 0 2px #d6a941; }
.pdj-numero small { font-size: .62rem; color: #cbbfae; font-weight: 600; }
.pdj-demo { left: 9px; bottom: 9px; }
.pdj-plaque { position: relative; display: flex; align-items: center; min-height: 64px; margin-top: 9px; padding: 10px 70px 10px 14px; border-radius: 11px; background: linear-gradient(180deg, #221b15, #17120e); color: #f6ecdc; }
.pdj-plaque .pdj-auteur { display: grid; gap: 1px; color: inherit; text-decoration: none; min-width: 0; }
.pdj-plaque .pdj-auteur strong { font-size: .98rem; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pdj-plaque .pdj-auteur small { color: #d6a941; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.pdj-sceau { position: absolute; right: -10px; bottom: -6px; width: 82px; height: 82px; filter: drop-shadow(0 6px 10px rgb(0 0 0 / .55)); transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.pdj-carte:hover .pdj-sceau { transform: rotate(-14deg) scale(1.06); }
.pdj-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.pdj-partager { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid rgb(242 235 223 / .35); background: transparent; color: #f2ebdf; font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; }
.pdj-partager:hover { border-color: #f2ebdf; background: rgb(255 255 255 / .06); }
.pdj-partager span { display: none; }
.pdj-partager--moi { grid-column: 1 / -1; background: #e8b04b; border-color: #e8b04b; color: #1b130c; }
.pdj-partager--moi span { display: inline; }
.pdj-hier .pdj-partager { margin: 6px 0 12px; } .pdj-hier .pdj-partager span { display: inline; }
.pdj-hier { grid-template-columns: minmax(0, 300px) 1fr; }
.pdj-carte--gagnante .pdj-carte-cadre { background: linear-gradient(145deg, #ffd7c9 0%, #e0452b 34%, #ff9c84 54%, #a8301d 76%, #f07a5f 100%); }
.pdj-carte--gagnante .pdj-tampon { bottom: 14px; }
@media (max-width: 980px) { .pdj-grille { grid-auto-columns: minmax(240px, 74%); } }

/* Cartes de la Photo du jour : le nom peut tenir sur deux lignes (le sceau occupe la droite de la plaque) */
.pdj-plaque .pdj-auteur strong { white-space: normal; font-size: .86rem; line-height: 1.15; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* Cartes de la Photo du jour : numéro en bas à droite de la photo (le badge reste lisible), plaques de même hauteur,
   plaque toujours disposée de gauche à droite (le sceau est à droite, les noms sont en lettres latines) */
.pdj-numero { top: auto; bottom: 9px; }
.pdj-plaque { min-height: 74px; direction: ltr; text-align: left; }
.pdj-plaque .pdj-auteur small { direction: auto; }
/* la bande « fnan.ma » du bas des photos envoyées avant le Pass VIP reste hors cadre (règle rétablie après le nouveau style des cartes) */
.pdj-carte .pdj-photo--fili img, .pdj-hier .pdj-photo--fili img, .pdj-archive.pdj-photo--fili img { height: 110%; object-position: top; }
/* Photo du jour : on rogne toujours la fine bande du bas (certaines photos portent « fnan.ma/… » sans être marquées en base) */
.pdj-carte .pdj-photo img, .pdj-hier .pdj-photo img, .pdj-archive img { height: 110%; object-position: top; }

/* ---------- Pass Premium mis en évidence (2026-11-14, src/pages/premium.js) ----------
   Bandeau « Votre propre site, à votre nom » sous l'ouverture de l'accueil, page /premium, bouton doré de l'en-tête.
   Papier doré clair (contraste avec le bandeau sombre de la Photo du jour juste dessous) ; les vrais sites Premium
   défilent dans une fenêtre de navigateur (l'animation est écrite par premium.js selon le nombre de sites). */
.pp-bandeau { padding-block: clamp(44px, 6vw, 72px); background: linear-gradient(160deg, #fbf5e7 0%, #f4e6c6 100%); border-block: 1px solid #e8d6aa; }
.pp-grille { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.pp-sur { display: inline-flex; align-items: center; gap: 7px; margin: 0; color: #8a6418; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.pp-sur svg { width: 16px; height: 16px; }
.pp-texte h1, .pp-texte h2 { margin: 12px 0 14px; font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.6rem); line-height: 1.02; letter-spacing: -.025em; color: var(--encre); }
.pp-texte h1 em, .pp-texte h2 em { font-style: normal; color: #9a6b12; }
.pp-chapo { margin: 0 0 18px; max-width: 50ch; color: var(--encre-2); font-size: 1.06rem; line-height: 1.55; }
.pp-prix { display: inline-block; margin: 0; padding: 9px 16px; border-radius: 16px; background: var(--encre); color: #f6dc8e; font-weight: 600; font-size: .95rem; }
.pp-boutons { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 24px; }
.bouton.pp-bouton-or { background: linear-gradient(135deg, #f8e3a0 0%, #d6a941 55%, #b8862a 100%); border-color: #b8862a; color: #1b130c; font-weight: 700; box-shadow: 0 12px 26px -14px rgb(150 105 20 / .9); }
.bouton.pp-bouton-or:hover { color: #1b130c; transform: translateY(-1px); filter: brightness(1.05); }
.pp-lien { display: inline-flex; align-items: center; gap: 6px; color: var(--encre); font-weight: 600; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.pp-lien svg { width: 18px; height: 18px; }
[dir="rtl"] .pp-lien svg, [dir="rtl"] .pp-exemple .lien-fleche svg { transform: scaleX(-1); }
.pp-noms { margin: 20px 0 0; color: var(--encre-3); font-size: .9rem; }
.pp-noms a { color: var(--encre-2); text-decoration: none; border-bottom: 1px solid #d9c391; }
.pp-noms a:hover { color: var(--encre); }
/* La fenêtre de navigateur et le site qu'elle montre */
.pp-fenetres { display: grid; }
.pp-ecran { grid-area: 1 / 1; display: block; overflow: hidden; border-radius: 14px; background: #111; color: #fff; text-decoration: none;
  box-shadow: 0 0 0 1px rgb(0 0 0 / .08), 0 44px 80px -38px rgb(60 38 5 / .65); transition: box-shadow .3s; }
.pp-ecran:hover { box-shadow: 0 0 0 1px rgb(0 0 0 / .1), 0 54px 96px -40px rgb(60 38 5 / .8); }
.pp-barre { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: #1d1a16; direction: ltr; }
.pp-barre i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; flex: none; }
.pp-barre i + i { background: #febc2e; } .pp-barre i + i + i { background: #28c840; }
.pp-barre b { flex: 1; display: flex; align-items: center; min-width: 0; height: 22px; margin-inline-start: 10px; padding: 0 10px; border-radius: 6px; background: #2d2924; color: #d5cabb; font-size: .74rem; font-weight: 500; white-space: nowrap; overflow: hidden; }
.pp-vue { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.pp-vue img { width: 100%; height: 110%; object-fit: cover; object-position: center top; transform-origin: 50% 40%; animation: pp-zoom 12s ease-in-out infinite alternate; }
@keyframes pp-zoom { from { transform: scale(1); } to { transform: scale(1.06); } }
.pp-voile { position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / .74) 0%, rgb(0 0 0 / .08) 55%, rgb(0 0 0 / .32) 100%); }
.pp-menu { position: absolute; top: 14px; right: 18px; color: rgb(255 255 255 / .85); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; }
.pp-nom { position: absolute; left: 22px; bottom: 40px; display: grid; font-size: clamp(1.5rem, .9rem + 2.4vw, 2.8rem); font-weight: 700; line-height: .95; letter-spacing: -.01em; text-transform: uppercase; }
.pp-nom em { font-style: normal; font-weight: 300; }
.pp-ville { position: absolute; left: 22px; bottom: 15px; color: #f6dc8e; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; }
@media (prefers-reduced-motion: reduce) {
  .pp-fenetres--defile .pp-ecran { animation: none !important; }
  .pp-fenetres--defile .pp-ecran:not(:first-of-type) { display: none; }
  .pp-vue img { animation: none; }
}
@media (max-width: 860px) {
  .pp-grille { grid-template-columns: minmax(0, 1fr); }
  .pp-menu { display: none; }
  .pp-nom { left: 16px; bottom: 34px; } .pp-ville { left: 16px; bottom: 12px; }
}
/* Page /premium */
.pp-exemples { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 18px; }
.pp-exemple { display: grid; overflow: hidden; border-radius: var(--rayon); background: var(--surface); box-shadow: var(--ombre); color: inherit; text-decoration: none; transition: transform .25s, box-shadow .25s; }
.pp-exemple:hover { transform: translateY(-3px); box-shadow: var(--ombre-forte); }
.pp-exemple-image { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.pp-exemple-image img { width: 100%; height: 110%; object-fit: cover; object-position: center top; }
.pp-exemple-bas { display: grid; gap: 2px; padding: 14px 16px 16px; }
.pp-exemple-bas strong { font-size: 1.05rem; }
.pp-exemple-bas small { color: var(--encre-3); font-size: .82rem; }
.pp-exemple-bas .lien-fleche { margin-top: 8px; }
.pp-avantages { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 16px; }
.pp-avantage { padding: 20px; border-radius: var(--rayon); background: var(--surface); border: 1px solid var(--ligne); }
.pp-avantage-icone { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--or-pale); color: var(--or); }
.pp-avantage-icone svg { width: 22px; height: 22px; }
.pp-avantage h3 { margin: 14px 0 4px; font-size: 1.04rem; }
.pp-avantage p { margin: 0; color: var(--encre-2); font-size: .93rem; line-height: 1.5; }
.pp-offre { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; padding: clamp(24px, 4vw, 52px); border-radius: 26px; background: radial-gradient(120% 120% at 0% 0%, #2a2019 0%, #15110e 60%); color: #f2ebdf; }
.pp-offre .pp-sur { color: #e8b04b; }
.pp-offre h2 { margin: 10px 0 6px; color: #fff; font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); }
.pp-offre-prix { margin: 0; color: #cbbfae; font-size: 1.1rem; }
.pp-offre-prix b { color: #f6dc8e; font-size: clamp(3rem, 2rem + 4vw, 4.4rem); line-height: 1; letter-spacing: -.03em; }
.pp-offre-an { margin: 6px 0 16px; color: #cbbfae; }
.pp-offre-an .economie { color: #ff9c84; font-weight: 600; }
.pp-bientot { display: inline-block; margin: 0 0 18px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgb(232 176 75 / .5); color: #e8b04b; font-size: .85rem; font-weight: 600; }
.pp-offre .pp-lien { display: flex; width: fit-content; color: #f2ebdf; }
.pp-offre-carte { display: grid; place-items: center; }
@media (max-width: 860px) { .pp-offre { grid-template-columns: minmax(0, 1fr); } }
/* Bouton doré « Site Premium » de l'en-tête */
.nav-principale a.nav-premium, .nav-principale a.nav-premium:hover, .nav-principale a.nav-premium[aria-current] { background: linear-gradient(135deg, #f8e3a0 0%, #d6a941 60%, #c1922f 100%); color: #1b130c; font-weight: 700; box-shadow: 0 6px 16px -9px rgb(150 105 20 / .95); }
.nav-principale a.nav-premium:hover { filter: brightness(1.05); }
.nav-mobile-lien.nav-premium { background: linear-gradient(135deg, #f8e3a0 0%, #d6a941 60%, #c1922f 100%); color: #1b130c; font-weight: 700; border-radius: 12px; }

/* ---------- Administration (2026-11-14) : offrir un pass ---------- */
.offrir-court { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--ligne); }
.offrir-court-ligne { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.offrir-court .champ { margin: 0; }
.offrir-court select { min-height: 34px; padding: 4px 8px; border-radius: 8px; border: 1px solid var(--ligne-forte); font: inherit; font-size: .85rem; }
.offrir-pass .champ--bouton { display: flex; align-items: flex-end; }
.badge-statut--premium { background: #17140F; color: #ff8a6a; }

/* ---------- Livres (2026-11-14) : grands formats, moins de blanc ---------- */
.pm-planche { padding: 9% 8% 9%; }
.pm-planche--large { padding: 16% 6% 12%; }
.pm-planche--g { padding-right: 5%; padding-left: 10%; }
.pm-planche--d { padding-left: 5%; padding-right: 10%; }
.lp-photo { padding: 3% 3% 2%; }
.lp-photo--pleine { padding: 0; }

/* ---------- Vignettes (2026-11-14) : photographes avec un site Premium ---------- */
.carte-artiste--premium { position: relative; display: flex; flex-direction: column; border-radius: var(--rayon); box-shadow: 0 0 0 2px #17140F, 0 0 0 4px #d6462b, 0 16px 36px -18px rgb(0 0 0 / .45); background: var(--surface); }
.carte-artiste--premium .carte-lien { flex: 1; }
.etiquette-avant--premium { background: #17140F; color: #ff8a6a; }
.carte-premium-liens { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ligne); }
.carte-premium-liens a { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 8px; font-size: .86rem; font-weight: 700; text-decoration: none; color: inherit; }
.carte-premium-liens a svg { width: 16px; height: 16px; }
.carte-premium-liens a:first-child { border-inline-end: 1px solid var(--ligne); }
.carte-premium-liens a:hover { background: var(--surface-2); }
.carte-premium-site { background: #17140F; color: #fff !important; border-end-end-radius: var(--rayon); }
[dir="rtl"] .carte-premium-site { border-end-end-radius: 0; border-end-start-radius: var(--rayon); }
.carte-premium-site:hover { background: #d6462b !important; }

/* ---------- En-tête (2026-11-14) : avec « Site Premium » et « Ma vitrine à 0 DH », tout tient de 1240 à 1520 px ---------- */
@media (min-width: 1240px) and (max-width: 1519px) {
  .entete .nav-principale { margin-inline-start: 6px; gap: 0; }
  .entete .nav-principale a { padding: 7px 7px; font-size: .85rem; }
  .entete .entete-actions { gap: 2px; }
  .entete .lien-connexion { padding-inline: 6px; font-size: .86rem; }
  .entete .entete-actions > .bouton { padding-inline: 12px; font-size: .84rem; }
}
@media (min-width: 1240px) and (max-width: 1379px) {
  .entete .bascule-langue { font-size: 0; gap: 0; padding-inline: 8px; }
  .entete .bascule-langue .ic, .entete .bascule-langue svg { font-size: 1rem; }
}
.etiquette-avant--premium { display: inline-flex; align-items: center; gap: 5px; }
.etiquette-avant--premium svg { width: 12px; height: 12px; flex: none; }
/* « Son site » en doré (demande du 2026-11-14), comme le bouton « Site Premium » du menu */
.carte-premium-site { background: linear-gradient(135deg, #f3d27a 0%, #d9a63c 55%, #b8862a 100%); color: #17140F !important; }
.carte-premium-site:hover { background: linear-gradient(135deg, #f7dc8f 0%, #e2b14a 55%, #c4912f 100%) !important; }

/* ---------- Galeries privées clients : espace du photographe (2026-11-14) ---------- */
.gc-verrou { align-items: center; }
.gc-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; margin-top: 18px; }
.gc-carte { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; padding: 10px; border: 1px solid var(--ligne); border-radius: var(--rayon); background: var(--surface); text-decoration: none; color: inherit; transition: border-color .2s, transform .2s; }
.gc-carte:hover { border-color: var(--ligne-forte); transform: translateY(-2px); }
.gc-carte-image { width: 96px; height: 96px; border-radius: 10px; overflow: hidden; display: grid; place-items: center; background: var(--surface-2); color: var(--encre-3); }
.gc-carte-image img { width: 100%; height: 100%; object-fit: cover; }
.gc-carte-texte { display: grid; gap: 3px; min-width: 0; }
.gc-carte-texte small { color: var(--encre-2); font-size: .82rem; }
.gc-expiree { color: #b3261e !important; font-weight: 600; }
.gc-partage-grille { display: grid; grid-template-columns: 1fr auto; gap: 14px; margin: 6px 0 14px; }
.gc-partage-grille > div { display: grid; gap: 4px; min-width: 0; }
.gc-etiquette { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--encre-2); }
.gc-partage code { display: block; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); font-size: .9rem; overflow-wrap: anywhere; cursor: copy; }
.gc-partage .gc-code { font-size: 1.4rem; font-weight: 700; letter-spacing: .3em; text-align: center; }
.gc-partage-boutons { display: flex; gap: 8px; flex-wrap: wrap; }
.bouton--whatsapp { background: #25D366 !important; border-color: #25D366 !important; color: #06210f !important; }
.gc-photos-tete { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.gc-selection-recue { padding: 10px 14px; border-radius: 10px; background: #fdecea; color: #8c1d18; font-weight: 600; }
.gc-grille-pro { list-style: none; padding: 0; margin: 12px 0 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.gc-grille-pro li { position: relative; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--surface-2); }
.gc-grille-pro img { width: 100%; height: 100%; object-fit: cover; }
.gc-grille-pro li.est-favorite { outline: 3px solid #d6462b; outline-offset: -3px; }
.gc-grille-pro li.est-couverture::after { content: '★'; position: absolute; left: 6px; top: 4px; color: #f3d27a; text-shadow: 0 1px 4px rgb(0 0 0 / .6); }
.gc-grille-pro .gc-coeur { position: absolute; right: 6px; top: 4px; color: #fff; background: #d6462b; border-radius: 50%; width: 24px; height: 24px; display: grid; place-items: center; font-size: .8rem; }
.gc-actions { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: flex-end; gap: 4px; padding: 6px; background: linear-gradient(transparent, rgb(0 0 0 / .55)); opacity: 0; transition: opacity .2s; }
.gc-grille-pro li:hover .gc-actions, .gc-grille-pro li:focus-within .gc-actions { opacity: 1; }
@media (hover: none) { .gc-actions { opacity: 1; } }
.gc-actions button { width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgb(255 255 255 / .92); cursor: pointer; }
.gc-actions button svg { width: 15px; height: 15px; }
.gc-danger { display: flex; gap: 10px; flex-wrap: wrap; margin: 10px 0 30px; }
@media (max-width: 600px) { .gc-partage-grille { grid-template-columns: 1fr; } }

/* ---------- Administration : activité en direct (2026-11-14) ---------- */
.alertes-wa p { margin: 6px 0 12px; }
.etapes-wa { margin: 0 0 14px; padding-inline-start: 22px; display: grid; gap: 6px; }
.journal-activite { list-style: none; padding: 0; margin: 10px 0 30px; display: grid; gap: 4px; }
.journal-activite li { display: grid; grid-template-columns: 150px 1fr auto; gap: 12px; align-items: baseline; padding: 9px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--ligne); font-size: .92rem; }
.journal-activite time { color: var(--encre-2); font-variant-numeric: tabular-nums; font-size: .84rem; }
.journal-activite small { color: var(--encre-2); }
.journal-etat { font-style: normal; font-size: .76rem; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.journal-etat--0 { background: #FFF4E5; color: #6B4A1F; } .journal-etat--1 { background: #E6F4EA; color: #1F7A4D; } .journal-etat--2 { background: var(--surface-2); color: var(--encre-2); }
@media (max-width: 700px) { .journal-activite li { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Livres (2026-11-14) : pages de texte en français et en arabe ---------- */
.lp-phrase { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: calc(var(--pl, 400px) * .03); padding: 14% 12%; text-align: center; background: #f6f1e7; color: #2a241c; }
.lp-phrase-marque { font-size: calc(var(--pl, 400px) * .07); color: #c4462c; line-height: 1; }
.lp-phrase-fr { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-size: calc(var(--pl, 400px) * .052); line-height: 1.35; }
.lp-phrase-filet { width: 18%; height: 1px; background: #b9a98f; }
.lp-phrase-ar { margin: 0; font-family: 'Readex Pro', 'Noto Naskh Arabic', serif; font-size: calc(var(--pl, 400px) * .05); line-height: 1.6; color: #5b4f40; }
/* Sommaire des livres sans numéros (2026-11-14) : les titres de chapitres prennent toute la ligne */
.pm-sommaire ol li { display: block !important; grid-template-columns: 1fr !important; }
.pm-sommaire .pm-nom { display: block; white-space: normal; }
/* Livres (2026-11-14) : photo en largeur sur une page, entière, toute la largeur, sur fond sombre (pas de pli au milieu) */
.pm-paysage { position: absolute; inset: 0; margin: 0; display: grid; place-items: center; background: #15120f; overflow: hidden; }
.pm-paysage img, .pm-paysage canvas { display: block; width: 100%; height: auto; max-height: 100%; object-fit: contain; }
.pm-paysage .pm-cartel { position: absolute; left: 6%; bottom: 4.5%; padding: .5em .9em; border-radius: 2px; background: rgb(18 15 12 / .58); color: #f2e9d9; }
.pm-paysage--deux { display: flex; flex-direction: column; justify-content: center; gap: 3.5%; padding: 7% 0; }
.pm-paysage--deux img, .pm-paysage--deux canvas { width: 100%; height: auto; max-height: 47%; object-fit: contain; }

/* ---------- Agenda de réservation (2026-11-14) ---------- */
.bouton--reserver { background: #17140F; border-color: #17140F; color: #fff; }
.bouton--reserver:hover { background: var(--accent); border-color: var(--accent); }
.ag-lien { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; justify-content: space-between; }
.ag-lien > div:first-child { flex: 1 1 320px; display: grid; gap: 6px; min-width: 0; }
.ag-lien code { display: block; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); overflow-wrap: anywhere; cursor: copy; }
.ag-lien-boutons { display: flex; gap: 8px; flex-wrap: wrap; }
.ag-prevenir { align-items: center; }
.ag-liste { list-style: none; padding: 0; margin: 10px 0 24px; display: grid; gap: 8px; }
.ag-resa { display: grid; grid-template-columns: 190px 1fr auto; gap: 14px; align-items: center; padding: 12px 14px; border-radius: var(--rayon); background: var(--surface); border: 1px solid var(--ligne); }
.ag-resa--demande { border-color: #C99A2E; box-shadow: inset 4px 0 0 #C99A2E; }
.ag-resa--confirmee { box-shadow: inset 4px 0 0 #1F7A4D; }
.ag-resa-date { display: grid; } .ag-resa-date b { text-transform: capitalize; } .ag-resa-date span { font-variant-numeric: tabular-nums; color: var(--encre-2); }
.ag-resa-qui { display: grid; gap: 2px; min-width: 0; } .ag-resa-qui small { color: var(--encre-2); } .ag-resa-qui em { color: var(--encre-2); font-size: .88rem; }
.ag-resa-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 760px) { .ag-resa { grid-template-columns: 1fr; } .ag-resa-actions { justify-content: flex-start; } }
.ag-semaine { display: grid; gap: 6px; margin: 12px 0; }
.ag-jour { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: var(--surface-2); }
.ag-jour-nom { display: flex; align-items: center; gap: 8px; width: 130px; font-weight: 600; }
.ag-plage { display: inline-flex; align-items: center; gap: 4px; }
.ag-plage input { min-height: 36px; padding: 4px 8px; border: 1px solid var(--ligne-forte); border-radius: 8px; font: inherit; background: var(--surface); }
.ag-jour:has(.ag-jour-nom input:not(:checked)) .ag-plage { opacity: .35; }
.case--interrupteur { padding: 12px 14px; border-radius: 12px; background: var(--surface-2); margin-bottom: 8px; }
/* page publique */
.ag-public { padding-top: 26px; }
.ag-retour { display: inline-flex; align-items: center; gap: 6px; color: var(--encre-2); text-decoration: none; margin-bottom: 14px; }
.ag-tete { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.ag-tete h1 { margin: 2px 0 0; font-size: clamp(1.5rem, 4vw, 2.2rem); }
.ag-mot { display: flex; gap: 8px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: #FFF4E5; color: #6B4A1F; }
.ag-etape { border: 0; padding: 0; margin: 0 0 22px; }
.ag-etape legend { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.05rem; margin-bottom: 10px; }
.ag-etape legend span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #17140F; color: #fff; font-size: .85rem; }
.ag-prestas { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 8px; }
.ag-presta { position: relative; display: block; cursor: pointer; }
.ag-presta input { position: absolute; opacity: 0; }
.ag-presta > span { display: grid; gap: 2px; padding: 12px 14px; border: 1.5px solid var(--ligne); border-radius: 12px; background: var(--surface); transition: border-color .15s, box-shadow .15s; }
.ag-presta small { color: var(--encre-2); }
.ag-presta input:checked + span { border-color: #17140F; box-shadow: inset 0 0 0 1px #17140F; }
.ag-presta input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.ag-jours { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.ag-j { flex: none; display: grid; justify-items: center; gap: 1px; width: 62px; padding: 8px 4px; border: 1.5px solid var(--ligne); border-radius: 12px; background: var(--surface); cursor: pointer; font: inherit; color: inherit; }
.ag-j b { font-size: 1.2rem; } .ag-j small { font-size: .72rem; color: var(--encre-2); text-transform: capitalize; }
.ag-j:disabled { opacity: .3; cursor: not-allowed; }
.ag-j.est-choisi { background: #17140F; color: #fff; border-color: #17140F; } .ag-j.est-choisi small { color: #ddd; }
.ag-heures { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; min-height: 44px; }
.ag-h { min-width: 74px; padding: 9px 12px; border: 1.5px solid var(--ligne); border-radius: 10px; background: var(--surface); font: inherit; font-variant-numeric: tabular-nums; font-weight: 600; cursor: pointer; color: inherit; }
.ag-h:hover { border-color: #17140F; } .ag-h.est-choisi { background: var(--accent); border-color: var(--accent); color: #fff; }
.ag-recap { margin: 0 0 12px; padding: 12px 14px; border-radius: 12px; background: #E6F4EA; color: #1F5136; font-weight: 600; text-transform: none; }
.ag-envoyer { width: 100%; justify-content: center; }
.ag-envoyer:disabled { opacity: .5; cursor: not-allowed; }
.ag-billet { margin: 6px 0 18px; padding: 18px 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--ligne); box-shadow: inset 5px 0 0 #C99A2E; }
.ag-billet--confirmee { box-shadow: inset 5px 0 0 #1F7A4D; } .ag-billet--refusee, .ag-billet--annulee { box-shadow: inset 5px 0 0 #B3261E; opacity: .85; }
.ag-billet p { margin: 0 0 6px; }
.ag-billet-quand { display: grid; font-size: 1.05rem; text-transform: capitalize; } .ag-billet-quand b { font-size: 1.6rem; font-variant-numeric: tabular-nums; }
.ag-wa { width: 100%; justify-content: center; }
.ag-wa.est-mis-en-avant { animation: ag-souligne 1.6s ease 2; }
@keyframes ag-souligne { 50% { box-shadow: 0 0 0 8px rgb(37 211 102 / .25); } }
.ag-suivi-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.avis-verifie--resa { color: #1F7A4D; }
.ag-etape { min-width: 0; min-inline-size: 0; max-width: 100%; }
.ag-jours { max-width: 100%; }
/* Bouton « Réserver une séance » lisible aussi sur les vitrines sombres */
body.ambiance:not(.ambiance--galerie) .bouton--reserver { background: #f3d27a; border-color: #f3d27a; color: #17140F; }
body.ambiance:not(.ambiance--galerie) .bouton--reserver:hover { background: #fff; border-color: #fff; }
.barre-contact-actions { gap: 8px; }

/* ---------- Actualités (espace membre, 2026-11-15) : dates, lieu, plusieurs photos, À venir / Déjà réalisé ---------- */
.actu-form h2 { margin: 0 0 4px; font-size: 1.15rem; }
.actu-dates { display: grid; gap: 14px; align-items: start; }
@media (min-width: 640px) { .actu-dates { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr); } }
.actu-dates input[type="date"] { min-width: 0; width: 100%; }
.actu-dates-aide { display: flex; gap: 8px; align-items: start; margin-top: -4px; }
.actu-dates-aide svg { flex: none; width: 16px; height: 16px; margin-top: 2px; }
.actu-photos { min-width: 0; border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.actu-photos legend { padding: 0; margin-bottom: 6px; font-weight: 600; }
.actu-photos-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 8px; }
.actu-photo { position: relative; display: block; aspect-ratio: 1; border-radius: var(--rayon-s); overflow: hidden; background: var(--surface-2); }
.actu-photo img { width: 100%; height: 100%; object-fit: cover; }
.actu-photo--pdf:empty { display: none; }
.actu-photo-retirer { position: absolute; top: 4px; inset-inline-end: 4px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgb(23 20 15 / .72); color: #fff; font-size: 1.1rem; line-height: 1; cursor: pointer; }
.actu-photo--ajout { display: grid; place-items: center; align-content: center; gap: 4px; padding: 8px; text-align: center; font-size: .8rem; font-weight: 600; color: var(--encre-2); border: 1.5px dashed var(--ligne-forte); background: var(--surface); cursor: pointer; }
.actu-photo--ajout[hidden] { display: none; }
.actu-photo--ajout:hover { border-color: var(--accent); color: var(--accent); }
.actu-photo--attente { background: linear-gradient(100deg, var(--surface-2) 30%, var(--surface) 50%, var(--surface-2) 70%); background-size: 300% 100%; animation: actu-attente 1.2s linear infinite; }
@keyframes actu-attente { from { background-position: 100% 0; } to { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) { .actu-photo--attente { animation: none; } }
.actions-formulaire { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.liste-actus li { grid-template-columns: 56px minmax(0, 1fr) auto; }
.liste-actus li > form { grid-column: 3; grid-row: 1; }
.liste-actus li > a.bouton { grid-column: 2 / -1; justify-self: start; }
@media (min-width: 760px) { .liste-actus li { grid-template-columns: 56px minmax(0, 1fr) auto auto; } .liste-actus li > a.bouton { grid-column: 3; grid-row: 1; } .liste-actus li > form { grid-column: 4; } }
.actu-pastille { justify-self: start; display: inline-block; margin-top: 4px; padding: 2px 9px; border-radius: 999px; font-size: .74rem; font-weight: 700; background: var(--accent-pale); color: var(--accent-fonce); }
.actu-pastille--direct { background: var(--accent); color: #fff; }
.encart--presse > div { flex: 1 1 260px; }
.encart--presse p { margin: 2px 0 0; color: var(--encre-2); }
/* Vitrine : date et lieu d'une actualité datée */
.carte-actu-lieu { display: flex; gap: 6px; align-items: center; margin: 0; color: var(--encre-2); font-size: .88rem; }
.carte-actu-lieu svg { width: 15px; height: 15px; flex: none; }

/* ---------- Ma galerie : plusieurs thèmes par photo, corriger / effacer un thème (2026-11-15) ---------- */
.media-themes { position: absolute; inset-inline: 5px; bottom: 5px; display: flex; flex-wrap: wrap; justify-content: center; gap: 3px; pointer-events: none; }
.media-themes .media-theme { position: static; max-width: 100%; padding: 2px 7px; font-size: .66rem; }
.media-themes .media-theme--plus { background: var(--accent, #E0452B); }
.themes-choix .pastilles-liste { gap: 4px; }
.menu-themes { max-width: min(300px, calc(100vw - 16px)); max-height: min(72vh, 540px); overflow-y: auto; overscroll-behavior: contain; }
.menu-themes-liste { display: grid; gap: 1px; }
.menu-themes .menu-themes-choix { display: flex; align-items: center; gap: 10px; }
.menu-themes-case { display: inline-grid; place-items: center; flex: none; width: 20px; height: 20px; border: 1.5px solid rgb(255 255 255 / .55); border-radius: 6px; font-size: .8rem; line-height: 1; }
.menu-themes-choix.est-coche .menu-themes-case { background: #E0452B; border-color: #E0452B; color: #fff; }
.menu-themes .menu-themes-aucun { margin-top: 2px; color: rgb(255 255 255 / .7); font-weight: 500; font-size: .88rem; }
.menu-themes-creer { display: flex; gap: 6px; margin: 6px 4px 4px; padding-top: 10px; border-top: 1px solid rgb(255 255 255 / .12); }
.menu-themes-creer input { flex: 1; min-width: 0; padding: 8px 10px; border: 1px solid rgb(255 255 255 / .22); border-radius: 8px; background: rgb(255 255 255 / .08); color: #fff; font: inherit; font-size: .9rem; }
.menu-themes-creer input::placeholder { color: rgb(255 255 255 / .5); }
.menu-themes .menu-themes-creer button { width: auto; flex: none; padding: 8px 12px; background: #E0452B; color: #fff; }
.menu-themes .menu-themes-creer button:hover { background: #c93a22; }
.menu-themes-gerer { display: block; margin: 4px; padding: 8px; color: #ffb7a6; font-size: .85rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
/* Liste des thèmes : le nom, puis « Corriger » (le nom devient modifiable) et « Effacer », écrits en toutes lettres */
.gestion-onglets { scroll-margin-top: 90px; }
.onglet-nom { display: none; flex: 1 1 160px; font-weight: 700; overflow-wrap: anywhere; }
.onglet-boutons { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.onglet-corriger, .onglet-annuler { display: none; }
.onglet-ligne--js .onglet-nom { display: block; }
.onglet-ligne--js .onglet-corriger { display: inline-flex; }
.onglet-ligne--js .onglet-champ, .onglet-ligne--js .onglet-valider { display: none; }
.onglet-ligne--js.en-correction .onglet-nom, .onglet-ligne--js.en-correction .onglet-corriger { display: none; }
.onglet-ligne--js.en-correction .onglet-champ { display: block; }
.onglet-ligne--js.en-correction .onglet-valider, .onglet-ligne--js.en-correction .onglet-annuler { display: inline-flex; }
.bouton--danger { background: transparent; color: #b42318; border-color: rgb(180 35 24 / .45); }
.bouton--danger:hover { background: rgb(180 35 24 / .08); }
.gestion-onglets.est-signalee { animation: theme-signale 1.8s ease; }
@keyframes theme-signale { 0%, 45% { box-shadow: 0 0 0 4px rgb(224 69 43 / .45); } 100% { box-shadow: 0 0 0 0 rgb(224 69 43 / 0); } }

/* ---------- Livres : photo en largeur sur une double page, montrée entière quand son format l'exige (2026-11-15) ---------- */
.pm-double--entier img, .pm-double--entier canvas { object-fit: contain; }

/* ---------- Livres : marque Fnan dessinée (2026-11-15, fnan.js : symboleLivre / marqueLivre) ----------
   Le ف calligraphié du logo dans son disque, « FNAN » en capitales très espacées, la gamme dessous, un filet, puis فنان en Ruqʿah. */
.lv-symbole { display: block; flex: none; width: 1em; height: 1em; }
.lv-mot { display: block; flex: none; width: auto; height: 1em; }
.lv-marque { display: inline-flex; align-items: center; gap: .62em; direction: ltr; line-height: 1; white-space: nowrap; color: #1f1b16; --lettre: #f5f0e6; --point: #E0452B; }
.lv-marque .lv-symbole { width: 2.4em; height: 2.4em; }
.lv-marque-texte { display: grid; gap: .42em; }
.lv-marque-nom { font-family: "Readex Pro", system-ui, sans-serif; font-weight: 600; font-size: 1.1em; letter-spacing: .44em; text-transform: uppercase; margin-right: -.44em; }
.lv-marque-gamme { font-family: "Readex Pro", system-ui, sans-serif; font-weight: 500; font-size: .6em; letter-spacing: .66em; text-transform: uppercase; margin-right: -.66em; color: #c8452c; }
.lv-marque-filet { align-self: stretch; width: 1px; margin: .05em .25em; background: currentColor; opacity: .32; }
.lv-marque .lv-mot { height: 2.1em; margin-top: -.3em; }
/* Page de titre du livre Premium : la marque en tête, alignée sur le titre */
.lv-marque--titre { align-self: flex-start; font-size: calc(var(--pl) * .021); margin-bottom: calc(var(--pl) * .045); }
.lv-marque--titre-simple { font-size: calc(var(--pl) * .02); margin-bottom: 6px; }
/* Couverture : en blanc sur la photo, gamme dorée */
.lp-mag-haut { justify-content: flex-start; }
.lp-mag-haut .lv-marque--couv { font-size: calc(var(--pl) * .019); color: #fff; --lettre: #15120f; --point: #E0452B; filter: drop-shadow(0 1px 8px rgb(0 0 0 / .45)); }
.lp-mag-haut .lv-marque--couv .lv-marque-nom { color: #fff; }
.lp-mag-haut .lv-marque--couv .lv-marque-gamme { color: #e9cc85; }
.lp-mag-haut .lv-marque--couv .lv-marque-filet { background: #fff; opacity: .55; }
/* Page de fin et quatrième de couverture */
.lv-marque--fin { font-size: calc(var(--pl) * .019); margin-bottom: calc(var(--pl) * .02); }
.lp-dos { gap: calc(var(--pl) * .035); }
.lv-marque--dos { font-size: calc(var(--pl) * .022); color: #e7c77a; --lettre: var(--toile, #1d1d1f); --point: #E0452B; }
.lv-marque--dos .lv-marque-gamme { color: #e7c77a; opacity: .8; }
.lp-dos small { letter-spacing: .3em; opacity: .7; }
/* Filigranes du logo : pages de garde, page laissée libre, pages de phrases, bande de la couverture simple */
.lp-garde .lv-symbole { width: calc(var(--pl) * .2); height: calc(var(--pl) * .2); color: rgb(120 90 40 / .1); --lettre: #efe7d8; --point: rgb(200 69 44 / .16); }
.pm-blanche .lv-symbole { width: calc(var(--pl) * .07); height: calc(var(--pl) * .07); color: rgb(125 115 102 / .22); --lettre: #f5f0e6; --point: rgb(200 69 44 / .35); }
.lp-phrase .lp-phrase-marque { width: calc(var(--pl, 400px) * .075); height: calc(var(--pl, 400px) * .075); color: #2a241c; --lettre: #f6f1e7; --point: #c4462c; }
.lv-symbole--bande { width: calc(var(--pl) * .065); height: calc(var(--pl) * .065); color: #e7c77a; --lettre: var(--toile, #1d1d1f); --point: #E0452B; }

/* ---------- Livres : titres plus petits (2026-11-15, demande impérative : « l'écriture des titres est très grande ») ----------
   Tailles de départ réduites ; en plus, fnan.js (data-ajuster) baisse encore la taille si un mot long ne tient pas : aucun mot n'est coupé. */
.pm-titre h3 { font-size: calc(var(--pl) * .072); font-weight: 700; line-height: 1.02; letter-spacing: .01em; gap: .06em; }
.pm-titre h3 span:nth-child(2) { -webkit-text-stroke-width: 1px; }
.lp-mag-titre { font-size: calc(var(--pl) * .082); font-weight: 700; line-height: .95; letter-spacing: 0; }
.pm-chapitre h4 { font-size: calc(var(--pl) * .058); line-height: 1.08; }
.pm-presentation-titre { font-size: calc(var(--pl) * .05); }
.pm-legende h4 { font-size: calc(var(--pl) * .05); }
.lp-titre h3 { font-size: calc(var(--pl) * .062); }
.lp-couv-bande strong { font-size: calc(var(--pl) * .048); }
.lp-fin h3 { font-size: calc(var(--pl) * .055); }
[data-ajuster] { overflow-wrap: normal; word-break: normal; hyphens: manual; }
/* Couverture : la marque reste blanche (l'ancienne règle « .lp-mag-haut span:first-child » la teintait) et le titre descend sous elle */
.lp-mag-haut .lv-marque.lv-marque--couv { color: #fff; }
.lp-couv--magazine .lp-mag-titre { top: 14%; }
.lv-marque.lv-marque--titre { font-size: calc(var(--pl) * .025); }

/* ---------- Vitrine d'un membre Premium : « Visiter le site de … » bien visible (2026-11-15) ---------- */
.vitrine-site-premium { margin-top: 14px; padding: 11px 20px; font-size: 1rem; border: 1px solid #c9a14a; }
.vitrine-site-premium .ic:first-child { color: #f3d27a; }
.bouton--site-premium { background: #17130f; border: 1px solid #c9a14a; color: #f6ebd3; }
.bouton--site-premium .ic { color: #f3d27a; }
.bouton--site-premium:hover { background: #2a221b; color: #fff; }
body.ambiance:not(.ambiance--galerie) .bouton--site-premium { background: transparent; border-color: #f3d27a; color: #f3d27a; }
body.ambiance:not(.ambiance--galerie) .bouton--site-premium:hover { background: rgb(243 210 122 / .14); }
@media (max-width: 760px) {
  /* Téléphone : WhatsApp, Réserver, « Son site » et Instagram tiennent dans la barre ; les autres réseaux sont sur le site. */
  /* 2026-11-18 : Facebook et TikTok restent à côté d'Instagram (demande de l'utilisateur) ; seuls Behance et le site web passent sur le site. */
  .barre-contact-actions:has(.bouton--site-premium) .bouton-reseau:not(.bouton-reseau--instagram, .bouton-reseau--facebook, .bouton-reseau--tiktok) { display: none; }
}

/* ---------- Messages de l'équipe (2026-11-16) : carte en haut de l'espace du membre + page admin « Bienvenue » ---------- */
.message-equipe { display: grid; gap: 10px; margin: 6px 0 22px; padding: 18px 20px; border-radius: var(--rayon); background: linear-gradient(120deg, var(--surface), var(--or-pale)); border: 1px solid #E8D3A4; }
.message-equipe-tete { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0; }
.message-equipe-tete small { color: var(--encre-3); margin-inline-start: auto; }
.message-equipe-texte { margin: 0; white-space: pre-line; line-height: 1.6; overflow-wrap: anywhere; }
.message-equipe .bouton { justify-self: start; }
.notif-message { display: block; margin-top: 4px; white-space: pre-line; overflow-wrap: anywhere; }
.bienvenue-message h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 1.1rem; }
.bienvenue-reglages { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: end; margin-bottom: 12px; }
.bienvenue-reglages .champ { margin: 0; }
.bienvenue-langue { border: 0; padding: 0; margin: 0; display: flex; gap: 16px; align-items: center; min-width: 0; }
.bienvenue-langue legend { padding: 0; margin-bottom: 6px; font-weight: 600; }
.bienvenue-colonnes { display: grid; gap: 16px; }
@media (min-width: 980px) { .bienvenue-colonnes { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; } }
.bienvenue-colonnes textarea { width: 100%; font: inherit; line-height: 1.55; }
.bienvenue-colonnes code { padding: 1px 5px; border-radius: 4px; background: var(--surface-2); font-size: .8rem; }
.bienvenue-apercu { display: grid; gap: 8px; }
.bienvenue-apercu-tete { margin: 0; font-size: .9rem; color: var(--encre-2); }
.bienvenue-apercu-bulle { padding: 14px 16px; border-radius: 14px 14px 14px 4px; background: #DCF8C6; color: #111; white-space: pre-line; line-height: 1.55; font-size: .95rem; overflow-wrap: anywhere; box-shadow: var(--ombre); }
.bienvenue-apercu-bulle[dir="rtl"] { border-radius: 14px 14px 4px 14px; }
.bienvenue-barre { position: sticky; top: var(--entete); z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 18px 0 10px; padding: 10px 14px; border-radius: var(--rayon-m); background: var(--surface); border: 1px solid var(--ligne); box-shadow: var(--ombre); }
.bienvenue-barre .bouton { margin-inline-start: auto; }
.bienvenue-tout { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.bienvenue-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bienvenue-membre { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 8px 12px; align-items: center; padding: 12px 14px; border-radius: var(--rayon-m); background: var(--surface); border: 1px solid var(--ligne); }
.bienvenue-membre.est-coche { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.bienvenue-coche input { width: 20px; height: 20px; }
.bienvenue-qui { display: grid; gap: 3px; min-width: 0; }
.bienvenue-qui small { color: var(--encre-2); overflow-wrap: anywhere; }
.bienvenue-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.badge-statut--offert { background: var(--or-pale); color: #7a5a14; }
.bienvenue-etat, .bienvenue-actions { grid-column: 3; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.bienvenue-envoye { display: inline-flex; align-items: center; gap: 6px; color: var(--ok); font-size: .88rem; font-weight: 600; }
.bienvenue-attente { color: var(--encre-3); font-size: .88rem; }
@media (min-width: 980px) { .bienvenue-membre { grid-template-columns: auto auto minmax(0, 1fr) minmax(0, 220px) auto; } .bienvenue-etat, .bienvenue-actions { grid-column: auto; } }
.bienvenue-langue label { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--ligne); border-radius: 999px; background: var(--surface); cursor: pointer; font-weight: 600; }
.bienvenue-langue label:has(input:checked) { border-color: var(--encre); background: var(--encre); color: #fff; }
.bienvenue-langue input { width: 16px; height: 16px; min-height: 0; padding: 0; margin: 0; flex: none; accent-color: var(--accent); }

/* ---------- Vitrine : galerie limitée à 4 rangées, « Voir toutes les photos » et « Continuer la visite » (2026-11-16) ---------- */
.portfolio-fin { display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 26px 0 4px; }
.portfolio-fin[hidden], .portfolio-fin [hidden] { display: none !important; }
.fleche-continuer { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; padding: 6px 14px; border: 0; background: none; color: inherit; font: inherit; font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .78; cursor: pointer; }
.fleche-continuer:hover, .fleche-continuer:focus-visible { opacity: 1; }
.fleche-continuer svg { width: 44px; height: 44px; padding: 10px; border: 1.5px solid currentColor; border-radius: 50%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; animation: fleche-descend 2.2s ease-in-out infinite; }
@keyframes fleche-descend { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@media (prefers-reduced-motion: reduce) { .fleche-continuer svg { animation: none; } }
html[lang="ar"] .fleche-continuer { letter-spacing: 0; text-transform: none; }
/* Bouton « Voir toutes les photos » lisible sur toutes les ambiances de vitrine (claires comme sombres) : il prend la couleur du texte */
.portfolio-fin .portfolio-tout { background: transparent; color: inherit; border: 1.5px solid currentColor; padding: 12px 26px; font-weight: 700; }
.portfolio-fin .portfolio-tout:hover, .portfolio-fin .portfolio-tout:focus-visible { background: rgb(127 127 127 / .14); }
/* Tableau de bord : nouveaux inscrits à vérifier (2026-11-16) */
.inscrits { margin: 0 0 24px; padding: 16px 18px; border-radius: var(--rayon); background: var(--surface); border: 1px solid var(--accent); box-shadow: 0 0 0 3px var(--accent-pale); }
.inscrits--vide { border-color: var(--ligne); box-shadow: none; padding: 12px 16px; }
.inscrits--vide p { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--ok); font-weight: 600; }
.inscrits-tete { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.inscrits-tete h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; font-size: 1.15rem; }
.inscrits-compte { padding: 2px 10px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .8rem; font-weight: 700; }
.inscrits-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.inscrit { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 12px; align-items: center; padding: 10px 12px; border-radius: var(--rayon-m); background: var(--fond); }
.inscrit--jour { background: var(--accent-pale); }
.inscrit-qui { display: grid; gap: 2px; min-width: 0; }
.inscrit-qui small { color: var(--encre-2); overflow-wrap: anywhere; }
.inscrit-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.inscrit-actions form { margin: 0; }
@media (min-width: 900px) { .inscrit { grid-template-columns: auto minmax(0, 1fr) auto; } .inscrit-actions { grid-column: auto; } }

/* ---------- Ma galerie en vignettes (2026-11-17) ----------
   Les photos envoyées se rangent en petites vignettes ; toucher une vignette ouvre son menu (thème, couverture, détails,
   masquer, supprimer) ; « Détails » ouvre la fiche complète sur toute la largeur. Filtres par thème, sauts haut / bas. */
.galerie-aide-vignettes { margin-top: 22px; }
.galerie-filtres { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 4px; position: sticky; top: calc(var(--hauteur-entete, 64px) + 4px); z-index: 5; padding: 6px 0; background: var(--fond, #FBF8F3); }
.galerie-filtres button { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--ligne); background: var(--surface, #fff); color: inherit; font: inherit; font-size: .86rem; font-weight: 600; cursor: pointer; }
.galerie-filtres button b { font-weight: 700; color: var(--doux, #6b645a); }
.galerie-filtres button[aria-pressed="true"] { background: var(--encre, #17140F); border-color: var(--encre, #17140F); color: #fff; }
.galerie-filtres button[aria-pressed="true"] b { color: #fff; opacity: .8; }
.liste-medias.galerie-auto { grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 10px; align-items: start; }
.galerie-auto .media-ligne { display: block; padding: 0; border: 0; background: none; position: relative; min-width: 0; }
.galerie-auto .media-ligne[hidden] { display: none; }
.galerie-auto .media-vignette { cursor: pointer; }
.galerie-auto .media-vignette img, .galerie-auto .media-ligne .media-vignette img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.galerie-auto .media-ligne > .media-form { display: none; }
.galerie-auto .media-ligne.est-ouverte { grid-column: 1 / -1; display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 14px; padding: 12px; border: 2px solid var(--accent, #E0452B); border-radius: var(--rayon); background: var(--surface); }
.galerie-auto .media-ligne.est-ouverte > .media-form { display: flex; }
.galerie-auto .media-ligne.est-masquee .media-vignette img { opacity: .78; }
.galerie-auto .galerie-nouvelles { grid-column: 1 / -1; }
.galerie-auto .media-ligne.est-modifiee, .galerie-auto .media-ligne.est-enregistree, .galerie-auto .media-ligne.est-erreur, .galerie-auto .media-ligne.est-nouvelle { box-shadow: none; }
.galerie-auto .media-ligne.est-modifiee .media-vignette { outline: 3px solid #C99A2E; outline-offset: 2px; border-radius: 12px; }
.galerie-auto .media-ligne.est-nouvelle .media-vignette { outline: 3px solid var(--accent, #E0452B); outline-offset: 2px; border-radius: 12px; }
.galerie-auto .media-ligne.est-erreur .media-vignette { outline: 3px solid #B3261E; outline-offset: 2px; border-radius: 12px; }
.media-masquee { position: absolute; top: 6px; inset-inline-end: 6px; padding: 2px 8px; border-radius: 999px; background: rgb(23 20 15 / .85); color: #fff; font-size: .66rem; font-weight: 700; pointer-events: none; }
.media-couv { position: absolute; top: 6px; inset-inline-end: 6px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: #E8B04B; color: #17140F; font-size: .85rem; font-weight: 800; pointer-events: none; box-shadow: 0 2px 6px rgb(0 0 0 / .25); }
.media-masquee:not([hidden]) ~ .media-couv { top: 30px; }
.menu-photo-actions { display: grid; gap: 2px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--ligne, #E6DED2); }
.menu-photo-action { display: block; width: 100%; padding: 9px 10px; border: 0; border-radius: 8px; background: none; color: inherit; font: inherit; font-size: .9rem; text-align: start; cursor: pointer; }
.menu-photo-action:hover, .menu-photo-action:focus-visible { background: var(--fond-2, #F3EDE4); }
.menu-photo-action.est-coche { font-weight: 700; color: #8C6418; }
.menu-photo-supprimer { color: #B3261E; }
.menu-photo-supprimer.a-confirmer { background: #B3261E; color: #fff; font-weight: 700; }
.sauts-galerie { position: fixed; inset-inline-end: 16px; bottom: 96px; z-index: 30; display: grid; gap: 8px; opacity: 0; pointer-events: none; transition: opacity .25s; }
.sauts-galerie.est-visible { opacity: 1; pointer-events: auto; }
.sauts-galerie button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--encre, #17140F); color: #fff; font-size: 1.25rem; font-weight: 700; cursor: pointer; box-shadow: 0 6px 16px rgb(0 0 0 / .25); }
.sauts-galerie button:disabled { opacity: .35; cursor: default; }
@media (max-width: 640px) {
  .liste-medias.galerie-auto { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .galerie-auto .media-ligne.est-ouverte { grid-template-columns: 1fr; }
  .galerie-auto .media-ligne.est-ouverte .media-vignette img { max-width: 160px; }
  .sauts-galerie { bottom: 84px; inset-inline-end: 10px; }
}

/* ---------- Mes livres (2026-11-17) : liste des livres, éditeur d'un livre, textes, bouton Instagram ---------- */
.mes-livres-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 22px; margin-top: 18px; }
.mon-livre { display: grid; gap: 8px; align-content: start; }
.mon-livre-couv { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 4px 10px 10px 4px; overflow: hidden; box-shadow: 0 14px 28px rgb(0 0 0 / .22), inset 6px 0 10px rgb(0 0 0 / .25); }
.mon-livre-couv img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mon-livre-couv::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgb(10 8 6 / .82)); }
.mon-livre-titre { position: absolute; left: 12px; right: 12px; bottom: 12px; color: #fff; font-family: "Archivo", "Readex Pro", sans-serif; font-stretch: 72%; font-weight: 800; text-transform: uppercase; font-size: 1.25rem; line-height: .95; }
.mon-livre-nb { margin: 0; color: var(--doux, #6b645a); font-size: .85rem; }
.mon-livre-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.bouton-insta, .bouton.bouton-insta { color: #fff; border-color: transparent; background: linear-gradient(45deg, #f6a63b, #e1306c 55%, #8a3ab9); }
.bouton-insta:hover { filter: brightness(1.06); color: #fff; }
/* Facebook et TikTok à côté d'Instagram (2026-11-18) : deux petits boutons ronds, sobres, aux couleurs de chaque réseau */
.bouton.bouton-livre-reseau { width: 42px; min-width: 0; padding: 0; justify-content: center; border-radius: 50%; color: #fff; border-color: transparent; }
.bouton.bouton--petit.bouton-livre-reseau { width: 36px; height: 36px; }
.bouton-livre-reseau .ic { width: 18px; height: 18px; margin: 0; }
.bouton-livre-reseau--facebook { background: #1877f2; }
.bouton-livre-reseau--tiktok { background: #111; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); }
.bouton-livre-reseau--tiktok .ic { filter: drop-shadow(1px .6px 0 #fe2c55) drop-shadow(-1px -.6px 0 #25f4ee); }
.bouton-livre-reseau:hover { filter: brightness(1.1); color: #fff; }
.retour-livres { margin: 0 0 6px; }
.retour-livres a { font-weight: 600; text-decoration: none; }
.concevoir-textes textarea { width: 100%; min-height: 160px; padding: 12px; border-radius: 10px; border: 1px solid var(--ligne-forte, #d9d1c4); font: inherit; line-height: 1.5; resize: vertical; }
.media-couv[hidden], .media-masquee[hidden], .galerie-filtres button[hidden] { display: none; }
.lb-barre .lb-partager { width: auto; height: auto; line-height: 1.2; display: inline-flex; align-items: center; gap: 6px; margin-inline-start: 12px; padding: 7px 14px; border: 0; border-radius: 999px; color: #fff; font: inherit; font-size: .85rem; font-weight: 700; cursor: pointer; background: linear-gradient(45deg, #f6a63b, #e1306c 55%, #8a3ab9); }
.lp-phrase-perso .lp-phrase-fr { font-size: clamp(.82rem, 1.5vw, 1.12rem); line-height: 1.55; max-width: 86%; white-space: pre-line; }
@media (max-width: 640px) { .mes-livres-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } .lb-barre .lb-partager { padding: 9px 12px; } .lb-barre .lb-partager span { display: none; } }

/* Presse & liens : ajouter un document (2026-11-17) */
.presse-document h2 { display: flex; align-items: center; gap: 8px; margin-top: 0; }
.presse-fichier { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 6px 0 12px; }
.presse-apercu { width: 96px; height: 96px; object-fit: cover; border-radius: 10px; border: 1px solid var(--ligne); }
.presse-apercu[hidden] { display: none; }
.presse-fichier .note { margin: 0; flex: 1 1 200px; }

/* Formations & événements : pièces jointes (2026-11-17) */
.pieces-formation { display: grid; gap: 16px; }
.pieces-video { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; }
.pieces-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pieces-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.pieces-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; display: block; }
.pdf-simple { display: grid; gap: 6px; align-content: start; }
.pdf-simple .champ-libelle { font-weight: 600; }

/* Galeries clients : PDF (2026-11-17) */
.gc-docs-pro { margin-block: 24px; }
.gc-docs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.gc-docs li { display: flex; align-items: center; gap: 10px; }
.gc-doc { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid var(--ligne); border-radius: 12px; background: var(--surface, #fff); color: inherit; text-decoration: none; }
.gc-doc:hover { border-color: currentColor; }
.gc-doc-ic { flex: none; display: grid; place-items: center; width: 40px; height: 48px; border-radius: 6px; background: #B3261E; color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .04em; }
.gc-doc-nom { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.gc-doc small { flex: none; opacity: .7; }
.envois-vignettes .envoi-pdf { display: grid; place-items: center; background: #B3261E; color: #fff; font-size: .75rem; font-weight: 800; }

/* Actualités : PDF, photos ou vidéo dès le haut (2026-11-17) */
.pdf-article-boutons { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Vitrine : pêle-mêle « Mes galeries photos », salle des photos, cadre « Mes livres » (2026-11-17) ---------- */
.pelemele-section { margin-block: 18px 26px; }
.pelemele { position: relative; display: block; border-radius: var(--rayon); overflow: hidden; color: #fff; text-decoration: none; background: var(--surface-2); box-shadow: var(--ombre); }
.pelemele-grille { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 5px; aspect-ratio: 3 / 1; }
.pelemele-case { position: relative; overflow: hidden; background: var(--surface-2); }
.pelemele-case--1 { grid-column: 1 / 3; grid-row: 1 / 3; }
.pelemele-case--2 { grid-column: 5 / 7; grid-row: 1 / 3; }
.pelemele-case img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .8, .2, 1); }
.pelemele:hover .pelemele-case img { transform: scale(1.04); }
.pelemele-plaque { position: absolute; inset: auto 0 0; display: flex; align-items: end; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; padding: 60px clamp(14px, 3vw, 26px) clamp(14px, 2.4vw, 22px); background: linear-gradient(180deg, rgb(0 0 0 / 0), rgb(0 0 0 / .78) 70%); pointer-events: none; }
.pelemele-texte { display: grid; gap: 2px; min-width: 0; }
.pelemele-texte b { font-size: clamp(1.35rem, 2.6vw, 2rem); line-height: 1.1; font-weight: 700; letter-spacing: -.01em; }
.pelemele-texte small { font-size: .9rem; opacity: .85; }
.pelemele-entrer { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: #fff; color: #17140F; font-weight: 600; font-size: .95rem; white-space: nowrap; transition: transform .25s; }
.pelemele-entrer svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
[dir="rtl"] .pelemele-entrer svg, [dir="rtl"] .salle-retour svg { transform: scaleX(-1); }
.pelemele:hover .pelemele-entrer { transform: translateX(3px); }
.pelemele:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.pelemele-themes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
@media (max-width: 640px) {
  .pelemele-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 4px; aspect-ratio: 1 / 1; }
  .pelemele-case--2 { grid-column: auto; grid-row: auto; }
  .pelemele-plaque { padding-top: 48px; }
  .pelemele-entrer { padding: 8px 14px; font-size: .88rem; }
  .pelemele-themes { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .pelemele-themes .onglet-pilule { flex: none; }
}

.salle { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--fond); color: var(--encre); }
.salle[open] { display: flex; flex-direction: column; }
.salle::backdrop { background: rgb(0 0 0 / .6); }
body:has(dialog.salle[open]) { overflow: hidden; }
.salle-tete { flex: none; padding: max(10px, env(safe-area-inset-top, 0px)) clamp(12px, 3vw, 28px) 4px; background: var(--surface); border-bottom: 1px solid var(--ligne); }
.salle-ligne { display: flex; align-items: center; gap: 12px; min-height: 48px; }
.salle-retour { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--ligne-forte); border-radius: 999px; background: transparent; color: inherit; font: inherit; font-weight: 600; cursor: pointer; white-space: nowrap; }
.salle-retour svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.salle-titre { flex: 1; min-width: 0; margin: 0; display: grid; text-align: center; }
.salle-titre b { font-size: 1.05rem; }
.salle-titre small { color: var(--encre-3); font-size: .82rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.salle-fermer { flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--surface-2); color: inherit; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.salle-tete .onglets-portfolio { margin: 8px 0 6px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.salle-tete .onglet-pilule { flex: none; }
.salle-corps { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding-block: 18px max(28px, env(safe-area-inset-bottom, 0px)); }
@media (max-width: 640px) {
  .salle-retour span { display: none; }
  .salle-retour { padding: 10px; }
}

.livres-cadre-section { margin-block: 8px 30px; }
.livres-cadre { display: block; width: 100%; padding: 16px clamp(14px, 3vw, 24px) 18px; border: 1px solid var(--ligne); border-radius: var(--rayon); background: var(--surface); color: inherit; font: inherit; text-align: start; cursor: pointer; transition: border-color .25s; }
.livres-cadre:hover, .livres-cadre:focus-visible { border-color: var(--ligne-forte); }
.livres-cadre-tete { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 14px; flex-wrap: wrap; }
.livres-cadre-tete b { font-size: 1.15rem; }
.livres-cadre-tete small { color: var(--encre-3); }
.livres-pose { display: flex; gap: clamp(16px, 2.4vw, 28px); overflow: hidden; padding: 14px 4px 16px; }
.livre-pose { flex: 0 0 clamp(84px, 11vw, 120px); display: block; }
.livre-pose-couv { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 2px 6px 6px 2px; background: #1b1814;
  box-shadow: inset 5px 0 8px -5px rgb(0 0 0 / .7), 10px 14px 22px -12px rgb(0 0 0 / .65); transform: perspective(700px) rotateY(-12deg); transform-origin: 0 50%; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.livre-pose-couv::before { content: ""; position: absolute; z-index: 2; inset: 0 auto 0 0; width: 8%; background: linear-gradient(90deg, rgb(0 0 0 / .45), rgb(255 255 255 / .1) 55%, rgb(0 0 0 / .25)); }
.livre-pose-couv::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(0 0 0 / 0) 45%, rgb(0 0 0 / .8)); }
.livre-pose-couv img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.livre-pose-titre { position: absolute; z-index: 3; left: 14%; right: 8%; bottom: 8%; color: #fff; font-weight: 800; font-size: .72rem; line-height: 1.1; text-transform: uppercase; letter-spacing: .02em; }
.livre-pose--mono .livre-pose-couv { box-shadow: inset 5px 0 8px -5px rgb(0 0 0 / .7), 10px 14px 22px -12px rgb(0 0 0 / .65), 0 0 0 1px var(--accent); }
.livres-cadre:hover .livre-pose-couv, .livre-carte:hover .livre-pose-couv, .livre-carte:focus-visible .livre-pose-couv { transform: perspective(700px) rotateY(-3deg) translateY(-5px); }
.livre-pose-legende { display: grid; gap: 1px; }
.livre-pose-legende b { font-size: .88rem; font-weight: 600; line-height: 1.25; }
.livre-pose-legende small { color: var(--encre-3); font-size: .78rem; }
@media (prefers-reduced-motion: reduce) { .pelemele-case img, .livre-pose-couv, .pelemele-entrer { transition: none; } }

/* Salle à deux niveaux : les thèmes d'abord (vignettes avec couverture), puis les photos ; bibliothèque (2026-11-17) */
.salle-aide { margin: 4px 0 18px; color: var(--encre-3); text-align: center; }
.salle-cartes { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 320px)); justify-content: center; gap: 16px; }
.salle-carte { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--rayon-m); background: var(--surface-2); color: #fff; text-decoration: none; }
.salle-carte img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .8, .2, 1); }
.salle-carte::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(0 0 0 / 0) 45%, rgb(0 0 0 / .82)); }
.salle-carte:hover img { transform: scale(1.05); }
.salle-carte:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.salle-carte-info { position: absolute; z-index: 1; inset: auto 0 0; display: grid; gap: 2px; padding: 14px 16px; }
.salle-carte-info b { font-size: 1.15rem; line-height: 1.2; }
.salle-carte-info small { opacity: .85; }
.salle-onglets[hidden] { display: none; }
.salle-livres { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 30px 22px; padding-top: 6px; }
.livre-carte { display: grid; gap: 10px; align-content: start; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: start; cursor: pointer; }
.livres-cadre-entrer { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--encre); color: var(--fond); font-weight: 600; font-size: .92rem; transition: transform .25s; }
.livres-cadre-entrer svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
[dir="rtl"] .livres-cadre-entrer svg { transform: scaleX(-1); }
.livres-cadre:hover .livres-cadre-entrer { transform: translateX(3px); }
@media (max-width: 640px) {
  .salle-cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .salle-carte-info { padding: 10px 12px; }
  .salle-carte-info b { font-size: 1rem; }
  .salle-livres { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .livres-pose .livre-pose:nth-child(n + 4) { display: none; }
}
@media (prefers-reduced-motion: reduce) { .salle-carte img, .livres-cadre-entrer { transition: none; } }


/* ---------- Inscription simple (2026-11-17) ----------
   Pensée d'abord pour le téléphone : langue + « Photographe / Club ou école » en haut, titre, cadeau (carte VIP Gold
   qui prend le nom tapé), puis 3 petits écrans. Champs de 52 px, texte de 17 px (pas de zoom forcé sur iPhone). */
.page-inscription .entete a.bouton--petit[href$="/rejoindre"] { display: none; }
.inscr { max-width: 560px; margin-inline: auto; padding: 12px 16px 48px; }
.inscr-choix { display: grid; gap: 8px; margin-bottom: 14px; }
.inscr-bascule { display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface-2); }
.inscr-bascule a { flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; padding: 6px 10px;
  border-radius: 999px; color: var(--encre-2); font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap; transition: background .15s, color .15s; }
.inscr-bascule a .ic { width: 18px; height: 18px; flex: none; }
.inscr-bascule a[aria-current] { background: var(--accent); color: #fff; box-shadow: 0 4px 12px -6px rgb(224 69 43 / .7); }
/* « Vous êtes » : petite légende au-dessus des deux choix, dans la même boîte (sinon « Club ou école » sort de l'écran). */
.inscr-bascule:not(.inscr-bascule--langue) { flex-wrap: wrap; border-radius: 22px; padding-top: 2px; }
.inscr-bascule-titre { flex: 1 1 100%; padding: 4px 0 0; text-align: center; font-size: .8rem; font-weight: 600; color: var(--encre-3); }
.inscr-bascule--langue { justify-self: center; width: min(280px, 100%); }
.inscr-bascule--langue a[aria-current] { background: var(--surface); color: var(--encre); box-shadow: 0 1px 2px rgb(23 20 15 / .08), 0 4px 12px -8px rgb(23 20 15 / .4); }
.inscr-bascule--langue a[lang="ar"] { font-size: 1.02rem; }

.inscr-tete { text-align: center; display: grid; gap: 12px; margin-bottom: 16px; }
.inscr-tete h1 { margin: 0; font-size: clamp(1.6rem, 1.1rem + 3vw, 2.6rem); line-height: 1.08; letter-spacing: -.01em; }
.inscr-tete h1 em { display: block; font-style: normal; color: var(--accent); }
[dir="rtl"] .inscr-tete h1 { letter-spacing: 0; }
.inscr-chapo { margin: 0; color: var(--encre-2); }
.inscr-cadeau { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-radius: 18px; text-align: start;
  background: linear-gradient(135deg, #fdf6e3, var(--or-pale)); border: 1px solid #e8d39f; }
.inscr-cadeau p { margin: 0; font-size: .9rem; line-height: 1.4; color: var(--encre-2); }
.inscr-cadeau p strong { display: block; font-size: 1.15rem; line-height: 1.2; color: #8a6414; margin-bottom: 2px; }
.inscr-cadeau .carte-physique { margin: 0; width: auto; flex: none; }
.inscr-cadeau .cp-carte { width: 124px; padding: 7px 9px; border-radius: 9px; box-shadow: 0 1px 0 rgb(255 255 255 / .7) inset, 0 10px 20px -10px rgb(0 0 0 / .6); }
.inscr-cadeau .cp-carte .marque--carte { font-size: .5rem; }
.inscr-cadeau .cp-puce { width: 20px; height: 15px; border-radius: 4px; }
.inscr-cadeau .cp-genre { font-size: .44rem; }
.inscr-cadeau .cp-nom { font-size: .74rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inscr-cadeau .cp-bas { font-size: .44rem; overflow: hidden; white-space: nowrap; }
@media (max-width: 360px) { .inscr-cadeau { flex-direction: column; text-align: center; } }

.inscr-etapes { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 0; margin: 0 0 12px; }
.inscr-etapes li { padding-top: 6px; border-top: 4px solid var(--ligne); font-size: .78rem; color: var(--encre-3); text-align: center; transition: border-color .2s, color .2s; }
.inscr-etapes li.actif { border-color: var(--accent); color: var(--encre); font-weight: 700; }
.inscr-etapes li.fait { border-color: var(--ok); color: var(--ok); }

.inscr-form .etape-form { padding: 18px 16px; gap: 14px; border-radius: 20px; box-shadow: var(--ombre); }
.inscr-q { float: left; width: 100%; padding: 0; margin-bottom: 2px; font-size: 1.22rem; font-weight: 700; line-height: 1.25; }
[dir="rtl"] .inscr-q { float: right; }
.inscr-q + * { clear: both; }
.inscr .champ label { font-weight: 600; }
.inscr .champ input, .inscr .champ select { min-height: 52px; font-size: 1.06rem; }
.inscr-nav { display: flex; gap: 10px; margin-top: 4px; }
.inscr-nav .bouton { min-height: 54px; }
.inscr-nav .bouton--plein { flex: 1 1 auto; justify-content: center; font-size: 1.05rem; }
.inscr-nav .bouton--contour { flex: none; }
.inscr-mdp { position: relative; }
.inscr .inscr-mdp input { padding-inline-end: 84px; }
.inscr-voir { position: absolute; inset-inline-end: 6px; top: 50%; transform: translateY(-50%); min-height: 40px; padding: 0 14px; border: 0; border-radius: 10px;
  background: var(--surface-2); color: var(--encre); font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; }
.inscr-adresse { display: grid; gap: 8px; padding: 12px 14px; border-radius: 14px; background: var(--fond); border: 1px solid var(--ligne); }
.inscr-adresse-ligne { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; font-size: .95rem; color: var(--encre-2); }
.inscr-adresse-ligne .ic { width: 18px; height: 18px; color: var(--encre-3); }
.inscr-adresse-ligne b { color: var(--accent); font-weight: 600; overflow-wrap: anywhere; }
.inscr-modifier { margin-inline-start: auto; padding: 6px 4px; border: 0; background: none; color: var(--encre); font: inherit; font-size: .9rem; font-weight: 600; text-decoration: underline; cursor: pointer; }
.inscr-adresse [data-adresse-etat]:empty { display: none; }
.inscr-adresse .champ-aide { margin: 0; }
.inscr-case { align-items: flex-start; gap: 10px; font-size: .9rem; line-height: 1.4; }
.inscr-case input { flex: none; width: 22px; height: 22px; margin-top: 1px; }
.inscr-bas { margin-top: 20px; text-align: center; }
.inscr-form .bandeau { margin-bottom: 12px; }
/* Un <fieldset> prend par défaut la largeur de son contenu le plus long (adresse, champ à préfixe) : sans min-width 0,
   tout l'écran déborde à droite sur téléphone. Et une règle display l'emporte sur [hidden] : on le redit. */
.inscr-form, .inscr-form .etape-form { min-width: 0; }
.inscr [data-adresse-modif][hidden], .inscr [data-modifier-adresse][hidden] { display: none; }
.inscr .champ-prefixe { min-width: 0; }
.inscr .champ-prefixe input { min-width: 0; }
/* La colonne de la grille d'un écran d'inscription ne dépasse jamais la largeur de l'écran (sinon un titre long
   comme « Choisissez un mot de passe pour ce site » refuse de passer à la ligne et pousse tout à droite). */
.inscr-form .etape-form { grid-template-columns: minmax(0, 1fr); }
.inscr-q { overflow-wrap: break-word; }
/* Dernier écran : le grand bouton « Créer ma vitrine et mon site » prend toute la largeur, « Retour » passe dessous. */
.inscr-nav:has([type="submit"]) { flex-direction: column-reverse; }
.inscr-nav:has([type="submit"]) .bouton { width: 100%; }
.inscr-nav:has([type="submit"]) .bouton--contour { min-height: 46px; }
.inscr-nav .bouton { white-space: normal; text-align: center; }

/* ---------- Premiers pas après l'inscription (2026-11-17) ----------
   Thèmes en pastilles de couleur → photos → rangement au toucher → félicitations. Sans le menu de l'espace. */
.page-bienvenue .espace { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin-inline: auto; }
.page-bienvenue .espace-cote { display: none; }
.page-bienvenue .entete a.bouton--petit[href$="/rejoindre"] { display: none; }
.bv { display: grid; gap: 14px; min-width: 0; }
.bv-tete { display: grid; gap: 6px; }
.bv-tete h1 { margin: 0; font-size: clamp(1.5rem, 1.1rem + 2.4vw, 2.2rem); line-height: 1.12; overflow-wrap: break-word; }
.bv-tete p { margin: 0; color: var(--encre-2); }
.bv-tete a { font-weight: 600; color: var(--accent); overflow-wrap: anywhere; }
.bv-cadeau { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: .88rem; font-weight: 600;
  color: #6f4f0e !important; background: linear-gradient(135deg, #fdf6e3, var(--or-pale)); border: 1px solid #e8d39f; }
.bv-cadeau .ic { width: 16px; height: 16px; color: #b8901c; flex: none; }
.bv-etapes--1 { grid-template-columns: 1fr; }
.bv-etapes--2 { grid-template-columns: repeat(2, 1fr); }
.bv-etapes { margin: 0; }
.bv-carte { display: grid; gap: 14px; padding: 18px 16px; border-radius: 20px; background: var(--surface); border: 1px solid var(--ligne); box-shadow: var(--ombre); min-width: 0; }
.bv-q { margin: 0; font-size: 1.22rem; line-height: 1.25; }
.bv-aide { margin: 0; color: var(--encre-2); font-size: .95rem; }
.bv-pastilles { display: flex; flex-wrap: wrap; gap: 8px; }
.bv-pastille { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px 8px 11px; border-radius: 999px;
  border: 1.5px solid var(--ligne-forte); background: var(--surface); color: var(--encre); font: inherit; font-weight: 600; font-size: .95rem; cursor: pointer;
  transition: border-color .15s, background .15s, transform .1s; -webkit-tap-highlight-color: transparent; }
.bv-pastille:active { transform: scale(.97); }
.bv-pastille > i { width: 16px; height: 16px; border-radius: 50%; flex: none; background: var(--c, var(--ligne-forte)); box-shadow: inset 0 0 0 2px rgb(255 255 255 / .45); }
label.bv-pastille input { position: absolute; opacity: 0; pointer-events: none; }
.bv-pastille:has(input:checked), .bv-pastille.est-pris { border-color: var(--c, var(--accent)); background: color-mix(in srgb, var(--c, var(--accent)) 12%, white); }
.bv-pastille:has(input:checked) > i, .bv-pastille.est-pris > i { background: var(--c, var(--accent)); }
.bv-pastille:has(input:focus-visible), .bv-pastille:focus-visible { outline: 2.5px solid var(--encre); outline-offset: 2px; }
.bv-pastille.est-pris { cursor: default; }
.bv-autre { display: flex; gap: 8px; min-width: 0; }
.bv-autre input { flex: 1 1 auto; min-width: 0; min-height: 48px; padding: 10px 14px; border: 1px solid var(--ligne-forte); border-radius: var(--rayon-m); background: var(--surface); color: var(--encre); font: inherit; font-size: 1.02rem; }
.bv-autre .bouton { flex: none; min-height: 48px; }
.bv-passer { margin: 0; text-align: center; }
.bv-passer a { color: var(--encre-2); font-size: .95rem; }
.bv-envoi .zone-depot { padding: 26px 16px; }
.bv-envoi .zone-depot > .ic { width: 44px; height: 44px; }
.bv-envoi .zone-depot .bouton { min-height: 54px; padding-inline: 26px; font-size: 1.05rem; }
.bv-envoi .envois-en-cours:empty { display: none; }
.bv-nb { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: var(--ok); font-weight: 700; }
.bv-nb .ic { width: 20px; height: 20px; }
.bv-mur { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 0; margin: 0; }
.bv-mur img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; background: var(--surface-2); }
.bv-palette { position: sticky; top: calc(var(--entete) + env(safe-area-inset-top, 0px) + 6px); z-index: 6; display: flex; gap: 8px; overflow-x: auto; padding: 8px;
  margin-inline: -8px; border-radius: 18px; background: rgb(246 243 238 / .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); scrollbar-width: none; }
.bv-palette::-webkit-scrollbar { display: none; }
.bv-palette .bv-pastille { flex: none; }
.bv-palette .bv-pastille[aria-pressed="true"] { border-color: var(--c); background: var(--c); color: #fff; box-shadow: 0 6px 14px -8px var(--c); }
.bv-palette .bv-pastille[aria-pressed="true"] > i { background: var(--c); box-shadow: 0 0 0 2px #fff; }
.bv-ranger { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 0; margin: 0; }
@media (min-width: 560px) { .bv-ranger { grid-template-columns: repeat(4, 1fr); } }
.bv-ranger button { position: relative; display: block; width: 100%; aspect-ratio: 1; padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: var(--surface-2); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.bv-ranger img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bv-points { position: absolute; inset-block-end: 6px; inset-inline-start: 6px; display: flex; flex-wrap: wrap; gap: 3px; max-width: calc(100% - 12px); }
.bv-points i { width: 18px; height: 18px; border-radius: 50%; background: var(--c); border: 2px solid #fff; box-shadow: 0 1px 4px rgb(0 0 0 / .35); }
.bv-ranger .est-pulse { animation: bv-pulse .28s ease-out; }
@keyframes bv-pulse { 50% { transform: scale(.93); } }
@media (prefers-reduced-motion: reduce) { .bv-ranger .est-pulse { animation: none; } }
.bv-bas { position: sticky; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 5; }
.bv-bas .bouton { box-shadow: 0 10px 24px -10px rgb(23 20 15 / .55); }
.bv .inscr-nav .bouton--plein { flex: 1 1 auto; justify-content: center; }
.bv-fini { justify-items: center; text-align: center; padding-block: 28px 10px; }
.bv-fini-icone { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--ok); color: #fff; box-shadow: 0 12px 28px -12px var(--ok); }
.bv-fini-icone .ic { width: 40px; height: 40px; stroke-width: 2.4; }
.bv-fini h1 { margin: 6px 0 0; font-size: clamp(1.8rem, 1.3rem + 3vw, 2.6rem); }
.bv-fini > p { margin: 0; color: var(--encre-2); font-size: 1.05rem; max-width: 30ch; }
.bv-portes { display: grid; gap: 10px; width: min(420px, 100%); margin-top: 8px; }
.bv-portes .bouton { justify-content: center; min-height: 56px; font-size: 1.05rem; }
/* Premiers pas : barre à 4 étapes (Profil · Thèmes · Photos · Rangement) et écran « photo de profil et bannière ». */
.bv-etapes--4 { grid-template-columns: repeat(4, 1fr); }
.bv-etapes li { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bv-vitrine { position: relative; border-radius: 16px; overflow: hidden; background: var(--surface-2); border: 1px solid var(--ligne); padding-bottom: 14px; text-align: center; }
.bv-vitrine-banniere { aspect-ratio: 16 / 5; display: grid; place-items: center; background: linear-gradient(135deg, #2a2620, #4a4237); color: rgb(255 255 255 / .7); font-size: .85rem; font-weight: 600; }
.bv-vitrine-banniere span { display: inline-flex; align-items: center; gap: 6px; }
.bv-vitrine-banniere .ic { width: 18px; height: 18px; }
.bv-vitrine-banniere img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bv-vitrine-avatar { margin-top: -40px; display: flex; justify-content: center; }
.bv-vitrine-avatar .avatar { width: 84px; height: 84px; border: 4px solid var(--surface); box-shadow: 0 6px 16px -8px rgb(0 0 0 / .5); font-size: 1.6rem; }
.bv-vitrine-nom { display: block; margin-top: 6px; font-size: 1.05rem; padding-inline: 12px; overflow-wrap: anywhere; }
.bv-envoi-simple { display: grid; gap: 4px; }
.bv-envoi-simple .bouton { width: 100%; justify-content: center; min-height: 54px; cursor: pointer; }
.bv-envoi-simple .etat-envoi { margin: 0; text-align: center; font-size: .88rem; color: var(--encre-2); }
.bv-envoi-simple .etat-envoi:empty { display: none; }
.bv-aide--petite { display: flex; gap: 8px; align-items: flex-start; font-size: .85rem; color: var(--encre-3); }
.bv-aide--petite .ic { flex: none; width: 16px; height: 16px; margin-top: 2px; }
/* La photo ne doit pas étirer la bande de la bannière : elle remplit le cadre 16:5 sans en changer la hauteur. */
.bv-vitrine-banniere { position: relative; overflow: hidden; min-height: 0; }
.bv-vitrine-banniere img { position: absolute; inset: 0; }
.bv-vitrine-avatar { position: relative; z-index: 1; }
.bv-tete a[dir="ltr"] { display: inline-block; unicode-bidi: isolate; max-width: 100%; }

/* ---------- « Visiter le site de … » encore plus visible (2026-11-18, demande : « de la lumière qui tape dessus,
   que ça incite le client à cliquer ») : pilule dorée pleine, reflet de lumière qui la traverse toutes les 4 s,
   halo doré qui respire. Lumière en dégradé seulement (ni étoiles ni paillettes). Immobile si le visiteur a demandé
   moins d'animations. Même traitement pour « Son site » dans la barre de contact. ---------- */
.vitrine-site-premium, .bouton.bouton--site-premium {
  position: relative; overflow: hidden; isolation: isolate; border: 0; color: #2a1d05;
  background: linear-gradient(135deg, #fdf0b8 0%, #e6b847 36%, #f7dc7e 60%, #c48f26 100%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .7), inset 0 -2px 0 rgb(120 80 10 / .22), 0 10px 26px -10px rgb(201 150 40 / .8);
  animation: site-halo 2.8s ease-in-out infinite;
}
.vitrine-site-premium { margin-top: 18px; padding: 15px 26px 15px 20px; gap: 10px; font-size: 1.08rem; font-weight: 700; letter-spacing: .005em; transition: transform .2s; }
.vitrine-site-premium .ic, .vitrine-site-premium .ic:first-child, .bouton--site-premium .ic { color: #2a1d05; }
.vitrine-site-premium .ic:first-child { width: 20px; height: 20px; }
.vitrine-site-premium .ic:last-child { transition: transform .25s; }
.vitrine-site-premium:hover, .bouton.bouton--site-premium:hover, body.ambiance:not(.ambiance--galerie) .bouton--site-premium:hover {
  color: #2a1d05; transform: translateY(-1px); filter: brightness(1.05);
  background: linear-gradient(135deg, #fdf0b8 0%, #e6b847 36%, #f7dc7e 60%, #c48f26 100%);
}
.vitrine-site-premium:hover .ic:last-child { transform: translateX(4px); }
[dir="rtl"] .vitrine-site-premium:hover .ic:last-child { transform: translateX(-4px); }
body.ambiance:not(.ambiance--galerie) .bouton--site-premium { color: #2a1d05; background: linear-gradient(135deg, #fdf0b8 0%, #e6b847 36%, #f7dc7e 60%, #c48f26 100%); }
/* le reflet : une bande de lumière blanche en biais, entre le fond doré et le texte */
.vitrine-site-premium::after, .bouton.bouton--site-premium::after {
  content: ''; position: absolute; top: -40%; bottom: -40%; left: 0; width: 34%; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, rgb(255 255 255 / 0) 0%, rgb(255 255 255 / .9) 50%, rgb(255 255 255 / 0) 100%);
  transform: translateX(-160%) skewX(-20deg); animation: site-reflet 4s cubic-bezier(.45, .05, .25, 1) infinite;
}
@keyframes site-reflet { 0%, 52% { transform: translateX(-160%) skewX(-20deg); } 82%, 100% { transform: translateX(360%) skewX(-20deg); } }
@keyframes site-halo {
  0%, 100% { box-shadow: inset 0 1px 0 rgb(255 255 255 / .7), inset 0 -2px 0 rgb(120 80 10 / .22), 0 10px 26px -10px rgb(201 150 40 / .8), 0 0 0 0 rgb(242 196 80 / 0); }
  50% { box-shadow: inset 0 1px 0 rgb(255 255 255 / .7), inset 0 -2px 0 rgb(120 80 10 / .22), 0 12px 30px -10px rgb(201 150 40 / .95), 0 0 0 7px rgb(242 196 80 / .2); }
}
@media (prefers-reduced-motion: reduce) {
  .vitrine-site-premium, .bouton.bouton--site-premium { animation: none; }
  .vitrine-site-premium::after, .bouton.bouton--site-premium::after { display: none; }
}

/* ---------- Deux cartes de membre (2026-11-18, demande : « sur les profils Premium, rajoute la carte noire à côté de la carte
   gold, comme ça ils ont deux cartes ») : carte VIP Gold derrière, carte noire Premium devant, en éventail. ---------- */
.cp-paire { --w: 250px; position: relative; width: calc(var(--w) * 1.42); height: calc(var(--w) * .631 * 1.36); }
.cp-paire .cp-carte { position: absolute; top: 4px; left: 4px; width: var(--w); transform: rotate(-6deg); transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.carte-onyx.carte-onyx--profil { grid-area: auto; justify-self: auto; align-self: auto; z-index: 2; width: 280px; padding: 13px 15px; border-radius: 14px;
  transform: rotate(3deg); transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.cp-paire .carte-onyx.carte-onyx--profil { position: absolute; right: 4px; bottom: 6px; width: var(--w); }
.cp-paire:hover .cp-carte { transform: rotate(-9deg) translateX(-8px); }
.cp-paire:hover .carte-onyx--profil { transform: rotate(1deg) translate(8px, -2px); }
.carte-onyx--profil .marque--carte { font-size: .74rem; }
/* le grand ف gravé reste sombre, quelle que soit l'ambiance de la vitrine (elle colore les logos en clair) */
body .carte-onyx--profil .onyx-embleme .symbole { color: #1c1916 !important; --lettre: #0b0a09; --point: rgb(232 105 79 / .42); }
.carte-onyx--profil .onyx-holo { width: 32px; height: 24px; }
.carte-onyx--profil .onyx-genre { font-size: .56rem; letter-spacing: .22em; }
.carte-onyx--profil .onyx-nom { font-size: 1rem; }
.carte-onyx--profil .onyx-bas { font-size: .55rem; }
.carte-physique--premium .cp-badge, .carte-physique--deux .cp-badge { color: #e8694f; background: rgb(232 105 79 / .12); }
.cp-paire .cp-nom { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-paire .cp-bas { gap: 8px; white-space: nowrap; }
.cp-paire .cp-bas span:first-child { flex: none; }
.cp-paire .cp-bas span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 760px) {
  .cp-paire { --w: min(232px, 60vw); margin-inline: auto; }
  .cp-paire .cp-carte { padding: 12px 14px; }
  .cp-paire .cp-nom { font-size: .95rem; }
  .cp-paire .cp-bas { font-size: .55rem; }
  .carte-onyx.carte-onyx--profil { width: min(280px, 82vw); }
  .cp-paire .carte-onyx.carte-onyx--profil { width: var(--w); }
}
@media (prefers-reduced-motion: reduce) { .cp-paire .cp-carte, .carte-onyx--profil { transition: none; } }

/* ---------- APERÇU (2026-11-18) : photos au-delà du pass, floutées avec un cadenas ---------- */
.galerie-item--verrou, .galerie-item--plus { position: relative; overflow: hidden; border-radius: var(--rayon, 12px); cursor: default; user-select: none; }
.verrou-photo { display: block; overflow: hidden; border-radius: inherit; }
.verrou-photo img { display: block; width: 100%; height: auto; filter: blur(14px) saturate(.7) brightness(.8); transform: scale(1.12); pointer-events: none; }
.verrou-badge { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: rgb(14 11 8 / .72); color: #f6e3a1; font-size: .82rem; font-weight: 700; white-space: nowrap; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); box-shadow: 0 0 0 1px rgb(241 213 138 / .35), 0 10px 24px -10px rgb(0 0 0 / .7); }
.galerie-item--plus { display: grid; min-height: 220px; background: radial-gradient(120% 90% at 30% 10%, #3a2a0c, #17120a 60%); box-shadow: inset 0 0 0 1px rgb(241 213 138 / .35); }
.verrou-plus { display: grid; place-content: center; justify-items: center; gap: 4px; padding: 22px 16px; text-align: center; color: #f6e3a1; }
.verrou-plus b { font-size: 2.4rem; line-height: 1; color: #fff3cf; }
.verrou-plus span { font-weight: 600; }
.verrou-plus small { opacity: .8; }
.verrou-bouton { margin-top: 10px; padding: 9px 16px; border-radius: 999px; background: linear-gradient(135deg, #fdf0b8, #e6b847 40%, #c48f26); color: #2a1d05; font-weight: 700; font-size: .86rem; text-decoration: none; }

/* ---------- Page de paiement (2026-11-18) : alerte quand le pass choisi ne couvre pas toutes les photos ---------- */
.alerte-photos { margin: 14px 0 0; padding: 14px 16px; border-radius: 14px; background: #fff6e0; color: #5a3a00; box-shadow: inset 0 0 0 1px #f0c56a; }
.alerte-photos p { margin: 0 0 6px; line-height: 1.5; }
.alerte-photos-titre { font-weight: 700; color: #7a4300; }
.alerte-photos-liens { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 8px 0 0 !important; }
.alerte-photos-liens a { font-weight: 700; color: #7a4300; }
.confirmer-pass { width: min(480px, calc(100vw - 24px)); padding: 22px 22px 18px; border: 0; border-radius: 18px; background: #fffaf0; color: #2a1d05; box-shadow: 0 30px 80px -30px rgb(0 0 0 / .6); }
.confirmer-pass::backdrop { background: rgb(20 17 13 / .55); }
.confirmer-pass p { margin: 0 0 10px; line-height: 1.5; }
.confirmer-pass-sur { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #b06a00; }
.confirmer-pass-titre { font-size: 1.12rem; font-weight: 700; }
.confirmer-pass-boutons { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 14px; }

/* ---------- Fondateur (2026-11-18) : page « Mon pass » ---------- */
.fondateur-pass { display: grid; gap: 10px; }
.fondateur-pass h1 { margin: 0; font-size: clamp(1.5rem, 3.4vw, 2.1rem); line-height: 1.15; }
.fondateur-pass p { margin: 0; line-height: 1.55; }
.fondateur-pass-sur { display: inline-flex; align-items: center; gap: 8px; color: #b8860b; font-weight: 800; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.fondateur-pass-liens { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px !important; }

/* ---------- Billetterie du fondateur (2026-11-18) : espace ---------- */
.bt-espace-liens { margin: 0 0 14px; }
.bt-nouveau > summary { display: inline-flex; list-style: none; cursor: pointer; }
.bt-nouveau > summary::-webkit-details-marker, .bt-ajout > summary::-webkit-details-marker, .bt-modifier > summary::-webkit-details-marker { display: none; }
.bt-nouveau[open] > summary { margin-bottom: 16px; }
.bt-ev-liste { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.bt-ev-ligne-lien { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 14px; border: 1px solid var(--ligne, #e6e0d6); border-radius: 14px; background: var(--carte, #fff); color: inherit; text-decoration: none; }
.bt-ev-ligne-lien:hover { border-color: var(--accent, #E0452B); }
.bt-ev-ligne--passe .bt-ev-ligne-lien { opacity: .62; }
.bt-jour { display: grid; justify-items: center; min-width: 56px; padding: 7px 6px 6px; border-radius: 12px; background: #17140F; color: #F6F3EE; line-height: 1; }
.bt-jour b { font-size: 1.45rem; font-weight: 800; }
.bt-jour span { margin-top: 3px; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.bt-ev-ligne-texte { display: grid; gap: 3px; min-width: 0; }
.bt-ev-ligne-texte b { font-size: 1.05rem; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bt-ev-ligne-texte small { color: var(--doux, #6f665a); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bt-ev-ligne-chiffres { display: grid; justify-items: end; gap: 2px; text-align: end; }
.bt-ev-ligne-chiffres b { font-size: 1.5rem; line-height: 1; }
.bt-ev-ligne-chiffres small { color: var(--doux, #6f665a); font-size: .78rem; }
.bt-ev-ligne-chiffres em { font-style: normal; font-size: .74rem; font-weight: 700; color: #b06a00; }
.bt-tuiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 6px 0 14px; }
.bt-tuile { display: grid; gap: 4px; padding: 14px; border-radius: 14px; background: #17140F; color: #F6F3EE; }
.bt-tuile b { font-size: 1.7rem; line-height: 1; }
.bt-tuile b small { font-size: .9rem; opacity: .6; font-weight: 600; }
.bt-tuile span { font-size: .8rem; opacity: .72; }
.bt-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.bt-visuels-grille { display: grid; grid-template-columns: minmax(0, .56fr) minmax(0, .8fr); gap: 14px; align-items: end; max-width: 620px; }
.bt-visuels-grille figure { display: grid; gap: 8px; margin: 0; }
.bt-visuels-grille img { display: block; width: 100%; height: auto; border-radius: 10px; background: #14110D; box-shadow: 0 14px 30px -18px rgb(0 0 0 / .6); }
.bt-parts { display: grid; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; }
.bt-part { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--ligne, #e6e0d6); border-radius: 12px; }
.bt-part-qui { display: grid; gap: 2px; min-width: 0; }
.bt-part-qui small { color: var(--doux, #6f665a); overflow-wrap: anywhere; }
.bt-part-statut { font-size: .8rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #efe9df; white-space: nowrap; }
.bt-part--reserve .bt-part-statut { background: #fff1d6; color: #8a5300; }
.bt-part--valide .bt-part-statut { background: #e3f5ea; color: #1f6b3d; }
.bt-part--utilise .bt-part-statut { background: #17140F; color: #F6F3EE; }
.bt-part--annule { opacity: .55; }
.bt-part-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.bt-ajout > summary, .bt-modifier > summary { list-style: none; cursor: pointer; }
.bt-modifier > summary h2 { display: inline-flex; margin: 0; }
.bt-ajout[open] > summary { margin-bottom: 12px; }
.bt-statut { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.bt-photos-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 6px; max-height: 280px; overflow: auto; padding: 2px; }
.bt-photo { position: relative; display: block; aspect-ratio: 1; border-radius: 8px; overflow: hidden; cursor: pointer; background: #efe9df; }
.bt-photo input { position: absolute; opacity: 0; }
.bt-photo img { width: 100%; height: 100%; object-fit: cover; }
.bt-photo--aucune { display: grid; place-items: center; font-size: .75rem; text-align: center; color: var(--doux, #6f665a); }
.bt-photo:has(input:checked) { outline: 3px solid var(--accent, #E0452B); outline-offset: -3px; }
.bt-photo:has(input:focus-visible) { box-shadow: 0 0 0 3px #17140F; }
@media (max-width: 640px) {
  .bt-tuiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bt-visuels-grille { grid-template-columns: minmax(0, .7fr) minmax(0, 1fr); }
  .bt-part { grid-template-columns: 1fr; }
  .bt-part-statut { justify-self: start; }
}

/* Scanner des entrées (sur téléphone, le menu de l'espace est caché : le scanner est visible dès l'ouverture) */
@media (max-width: 900px) { .page-scanner .espace-cote { display: none; } }
.bt-scanner { display: grid; gap: 14px; max-width: 560px; }
.bt-scanner-tete { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.bt-scanner-tete h1 { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.bt-scanner-compte { margin: 0; color: var(--doux, #6f665a); }
.bt-scanner-compte b { font-size: 1.8rem; color: var(--encre, #17140F); }
.bt-scanner-video { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: #14110D; }
.bt-scanner-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.bt-scanner.est-actif .bt-scanner-video video { opacity: 1; }
.bt-scanner.est-actif [data-camera] { display: none; }
.bt-scanner-viseur { position: absolute; inset: 18%; border: 3px solid rgb(246 243 238 / .85); border-radius: 22px; box-shadow: 0 0 0 999px rgb(0 0 0 / .25); pointer-events: none; opacity: 0; }
.bt-scanner.est-actif .bt-scanner-viseur { opacity: 1; }
.bt-scanner-video [data-camera] { position: relative; z-index: 1; width: auto; }
.bt-scanner-video.est-masque { display: none; }
.bt-resultat { display: grid; gap: 4px; padding: 18px 20px; border-radius: 16px; color: #fff; background: #5f5547; }
.bt-resultat b { font-size: 1.5rem; line-height: 1.15; }
.bt-resultat span { opacity: .9; }
.bt-resultat--ok { background: #1f8a4c; }
.bt-resultat--deja, .bt-resultat--annule, .bt-resultat--inconnu, .bt-resultat--autre, .bt-resultat--erreur { background: #c0392b; }
.bt-resultat--non_paye { background: #b86e00; }
.bt-scanner-code label { display: block; margin-bottom: 6px; font-weight: 700; }
.bt-scanner-code div { display: flex; gap: 8px; }
.bt-scanner-code input { flex: 1; min-width: 0; padding: 12px 14px; border: 1px solid var(--ligne, #d9d2c6); border-radius: 12px; font: inherit; font-size: 1.2rem; font-family: ui-monospace, Consolas, monospace; letter-spacing: .12em; text-transform: uppercase; }

/* ---------- Page du billet (/billet/<jeton>) ---------- */
.bt-billet-page { max-width: 520px; padding-block: 18px 40px; }
.bt-billet { overflow: hidden; border-radius: 24px; background: #F6F3EE; color: #17140F; box-shadow: 0 30px 60px -34px rgb(0 0 0 / .55); border: 1px solid #e6dfd3; }
.bt-billet-haut { position: relative; aspect-ratio: 2 / 1; overflow: hidden; background: #14110D; }
.bt-billet-photo { width: 100%; height: 112%; object-fit: cover; object-position: 50% 0; display: block; }   /* bande « fnan.ma/… » hors cadre */
.bt-billet-type { position: absolute; top: 14px; inset-inline-end: 14px; padding: 7px 14px; border-radius: 999px; background: #E0452B; color: #fff; font-weight: 800; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; }
.bt-billet-infos { padding: 18px 22px 10px; }
.bt-billet-org { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; color: #5F5547; font-size: .9rem; }
.bt-billet-org .avatar { width: 28px; height: 28px; }
.bt-billet-infos h1 { margin: 0 0 10px; font-size: clamp(1.5rem, 6vw, 2rem); line-height: 1.08; text-transform: uppercase; letter-spacing: -.01em; }
.bt-billet .bt-ligne { display: flex; align-items: center; gap: 7px; margin: 0 0 6px; color: #5F5547; }
.bt-billet-bas { position: relative; display: grid; justify-items: center; gap: 8px; padding: 26px 22px 24px; border-top: 3px dashed #d4cabb; text-align: center; }
.bt-billet-bas::before, .bt-billet-bas::after { content: ""; position: absolute; top: -17px; width: 30px; height: 30px; border-radius: 50%; background: var(--fond, #F6F3EE); box-shadow: inset 0 0 0 1px #e6dfd3; }
.bt-billet-bas::before { left: -16px; } .bt-billet-bas::after { right: -16px; }
.bt-billet-statut { margin: 0; padding: 6px 14px; border-radius: 999px; background: #e3f5ea; color: #1f6b3d; font-weight: 800; font-size: .85rem; }
.bt-billet--reserve .bt-billet-statut { background: #fff1d6; color: #8a5300; }
.bt-billet--utilise .bt-billet-statut { background: #17140F; color: #F6F3EE; }
.bt-billet--annule .bt-billet-statut { background: #f6dcd7; color: #9b2c1c; }
.bt-billet-qr { width: min(300px, 78vw); padding: 12px; border-radius: 16px; background: #fff; }
.bt-billet-qr svg { display: block; width: 100%; height: auto; }
.bt-billet-code { display: grid; gap: 2px; margin: 4px 0 0; }
.bt-billet-code small { color: #5F5547; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.bt-billet-code b { font-family: ui-monospace, "SF Mono", Consolas, monospace; font-size: 1.7rem; letter-spacing: .14em; }
.bt-billet-nom { margin: 0; color: #5F5547; }
.bt-billet-nom b { color: #17140F; }
.bt-billet-aide { margin: 0; color: #5F5547; font-size: .92rem; line-height: 1.5; }
.bt-billet-montant { margin: 4px 0 0; font-weight: 800; font-size: 1.15rem; }
.bt-billet .bt-payer { width: 100%; padding: 12px 14px; border-radius: 12px; background: #fff; text-align: start; }
.bt-billet .bt-payer p { margin: 4px 0 0; white-space: pre-line; }
.bt-billet-actions { display: grid; gap: 8px; margin-top: 18px; text-align: center; }
.bt-billet-aide--alerte { color: #9b2c1c; }
.bt-autres { margin-top: 22px; }
.bt-autres h2 { font-size: 1.05rem; margin: 0 0 8px; }
.bt-autres ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.bt-autres a { display: block; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--ligne, #e6e0d6); color: inherit; text-decoration: none; }
.bt-org { display: grid; gap: 10px; margin-top: 22px; padding: 16px; border-radius: 16px; background: #17140F; color: #F6F3EE; }
.bt-org-titre { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 0; font-weight: 700; }
.bt-org-boutons { display: flex; flex-wrap: wrap; gap: 8px; }
.bt-org .bouton--contour { color: #F6F3EE; border-color: rgb(246 243 238 / .4); }
.bt-entrer { background: #1f8a4c !important; border-color: #1f8a4c !important; font-size: 1.05rem; }

/* ---------- Billetterie v2 (2026-11-18) : numéro, partage, à encaisser sur place ---------- */
.bt-tuiles { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.bt-tuile--orange { background: #8a5300; }
.bt-form-ligne { display: contents; }
.bt-partager-boutons { display: flex; flex-wrap: wrap; gap: 8px; }
.bt-bouton-fb { background: #1877F2; border-color: #1877F2; color: #fff; }
.bt-bouton-ig { background: linear-gradient(45deg, #F58529, #DD2A7B 55%, #8134AF); border-color: transparent; color: #fff; }
.bt-bouton-tt { background: #111; border-color: #111; color: #fff; }
.bt-modes-org .note { display: block; margin-top: 6px; }
.bt-billet-numero { position: absolute; top: 14px; inset-inline-start: 14px; padding: 7px 12px; border-radius: 999px; background: rgb(20 17 13 / .82); color: #F6F3EE; font-weight: 800; font-size: .78rem; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.bt-billet--a-regler .bt-billet-statut { background: #fff1d6; color: #8a5300; }
.bt-billet--a-regler .bt-billet-montant { color: #8a5300; }
.bt-part-num { display: inline-block; margin-inline-end: 4px; padding: 1px 7px; border-radius: 6px; background: #17140F; color: #F6F3EE; font-size: .75rem; font-variant-numeric: tabular-nums; vertical-align: 1px; }
.bt-part--a-regler .bt-part-statut { background: #fff1d6; color: #8a5300; }
.bt-resultat--encaisser { background: #b86e00; }
.bt-billet-page .bandeau--err { margin-bottom: 12px; }

/* ---------- Feuilles de présence du fondateur (2026-11-18) ---------- */
.pz-page { max-width: 520px; padding-block: 20px 48px; }
.pz-carte { display: grid; gap: 12px; padding: clamp(18px, 4vw, 28px); border-radius: 22px; background: var(--carte, #fff); border: 1px solid var(--ligne, #e6e0d6); box-shadow: 0 24px 50px -34px rgb(0 0 0 / .45); }
.pz-sur { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: var(--accent, #E0452B); font-weight: 800; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.pz-carte h1 { margin: 0; font-size: clamp(1.5rem, 6vw, 2rem); line-height: 1.1; }
.pz-org { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 0; color: var(--doux, #6f665a); }
.pz-org .avatar { width: 26px; height: 26px; }
.pz-intro { margin: 0 0 4px; color: var(--doux, #6f665a); }
.pz-form { display: grid; gap: 12px; }
.pz-form .champ input { font-size: 1.05rem; padding: 13px 14px; }
.pz-erreur { color: #b42318; font-size: .85rem; }
.pz-piege { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.pz-donnees { margin: 0; color: var(--doux, #6f665a); font-size: .82rem; text-align: center; }
.pz-message { margin: 0; padding: 18px; border-radius: 14px; background: #f3efe8; text-align: center; }
.pz-ok { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: 16px; background: #e3f5ea; color: #134e2c; }
.pz-ok--deja { background: #eef2ff; color: #23306b; }
.pz-ok p { display: grid; gap: 4px; margin: 0; }
.pz-ok-coche { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: #1f8a4c; color: #fff; font-size: 1.5rem; font-weight: 800; }
.pz-ok--deja .pz-ok-coche { background: #3b4fc4; }
.pz-historique-tete { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.pz-historique-tete h2 { margin: 0; }
.pz-liste { display: grid; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.pz-ligne { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 10px 14px; border: 1px solid var(--ligne, #e6e0d6); border-radius: 12px; }
.pz-ligne > a:first-child { display: grid; gap: 2px; min-width: 0; color: inherit; text-decoration: none; }
.pz-ligne b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pz-ligne small, .pz-ligne-date { color: var(--doux, #6f665a); font-size: .8rem; }
.pz-ligne--ouverte { border-color: #1f8a4c; box-shadow: inset 3px 0 0 #1f8a4c; }
.pz-ligne-n { white-space: nowrap; color: var(--doux, #6f665a); }
.pz-ligne-n b { color: var(--encre, #17140F); font-size: 1.3rem; }
.pz-grille { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 16px; align-items: start; }
.pz-qr-bloc { display: grid; justify-items: center; gap: 10px; text-align: center; }
.pz-qr { width: 100%; max-width: 260px; padding: 10px; border-radius: 16px; background: #fff; border: 1px solid var(--ligne, #e6e0d6); }
.pz-qr svg { display: block; width: 100%; height: auto; }
.pz-lien { margin: 0; color: var(--doux, #6f665a); font-size: .8rem; word-break: break-all; }
.pz-etat { margin: 0; padding: 5px 12px; border-radius: 999px; background: #efe9df; font-weight: 700; font-size: .82rem; }
.pz-etat--ouverte { background: #e3f5ea; color: #1f6b3d; }
.pz-boutons { display: grid; gap: 8px; width: 100%; }
.pz-boutons .bouton, .pz-boutons form .bouton { width: 100%; justify-content: center; }
.pz-presents-tete { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.pz-presents-tete h2 { margin: 0; margin-inline-end: auto; }
.pz-presents-tete h2 b { font-size: 1.6rem; }
.pz-direct { display: inline-flex; align-items: center; gap: 6px; color: #1f6b3d; font-size: .8rem; font-weight: 700; }
.pz-direct::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #1f8a4c; animation: pz-pouls 1.6s infinite; }
@keyframes pz-pouls { 50% { opacity: .25; } }
.pz-table-zone { overflow-x: auto; margin-top: 12px; }
.pz-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.pz-table th, .pz-table td { padding: 8px 10px; border-bottom: 1px solid var(--ligne, #e6e0d6); text-align: start; white-space: nowrap; }
.pz-table th { color: var(--doux, #6f665a); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; }
.pz-table td:nth-child(2) { white-space: normal; font-weight: 600; }
.pz-nouveau { animation: pz-nouveau 2.4s ease; }
@keyframes pz-nouveau { 0% { background: #e3f5ea; } 100% { background: transparent; } }
@media (max-width: 760px) { .pz-grille { grid-template-columns: 1fr; } .pz-ligne { grid-template-columns: minmax(0, 1fr) auto; } .pz-ligne .bouton-icone { display: none; } }
@media print { .page-presences .espace-cote, .page-presences .pz-qr-bloc, .page-presences .pz-presents-tete .bouton, .page-presences .pz-table td:last-child, .page-presences .pz-table th:last-child, .page-presences details, .page-presences header, .page-presences footer { display: none !important; } .page-presences .pz-grille { grid-template-columns: 1fr; } }

/* ---------- Glisser-déposer et sous-galeries (2026-11-18) ---------- */
.rangement-actif, .rangement-actif * { cursor: grabbing !important; user-select: none !important; -webkit-user-select: none !important; }
.rangement-place { opacity: .28; outline: 2px dashed var(--accent, #E0452B); outline-offset: -2px; border-radius: 12px; }
.rangement-fantome { opacity: .96; box-shadow: 0 22px 40px -16px rgb(0 0 0 / .55); border-radius: 12px; transition: none !important; }
.liste-medias[data-rangeable] .media-vignette { touch-action: manipulation; -webkit-touch-callout: none; }
.liste-medias[data-rangeable] .media-vignette img { -webkit-user-drag: none; user-select: none; }
.poignee { display: inline-grid; place-items: center; flex: none; width: 28px; height: 32px; border-radius: 8px; color: var(--doux, #8a8072); font-size: 1.1rem; line-height: 1; cursor: grab; touch-action: none; user-select: none; }
.poignee:hover { background: rgb(0 0 0 / .05); color: var(--encre, #17140F); }
.liste-onglets > li { display: grid; gap: 6px; }
.liste-sous { display: grid; gap: 4px; margin: 0 0 0 30px; padding: 0; list-style: none; }
.liste-sous:empty { display: none; }
.onglet-ligne--sous { padding-block: 4px; }
.onglet-ligne--sous .onglet-nom { font-weight: 500; }
.onglet-sous-fleche { color: var(--doux, #8a8072); }
.ajout-sous { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px 30px; }
.ajout-sous input { flex: 1 1 200px; min-width: 0; padding: 7px 10px; border: 1px dashed var(--ligne, #d9d2c6); border-radius: 10px; font: inherit; font-size: .9rem; background: transparent; }
.ajout-sous input:focus { border-style: solid; }
.pastille--sous span { font-size: .85em; }
.filtre-sous-nb { margin-inline-start: 2px; color: var(--doux, #8a8072); font-size: .8em; }
.galerie-filtres [data-filtre].est-parent-actif { box-shadow: inset 0 0 0 2px var(--accent, #E0452B); }
.sous-barre { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: -4px 0 12px; padding: 10px 12px; border-radius: 14px; background: #f5f1ea; border: 1px solid var(--ligne, #e6e0d6); }
.sous-barre-titre { display: inline-flex; align-items: center; gap: 6px; margin-inline-end: 4px; font-weight: 700; font-size: .85rem; }
.sous-barre [data-filtre] { padding: 6px 12px; border: 1px solid var(--ligne, #d9d2c6); border-radius: 999px; background: #fff; font: inherit; font-size: .88rem; cursor: pointer; }
.sous-barre [data-filtre][aria-pressed="true"] { background: #17140F; color: #F6F3EE; border-color: #17140F; }
.sous-barre-ajout { display: flex; gap: 6px; flex: 1 1 260px; min-width: 0; }
.sous-barre-ajout input { flex: 1; min-width: 0; padding: 7px 10px; border: 1px dashed var(--ligne, #d9d2c6); border-radius: 999px; font: inherit; font-size: .88rem; background: #fff; }
.mon-livre-tete { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.mon-livre-visible { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 600; cursor: pointer; }
.mon-livre.est-masque .mon-livre-couv { opacity: .4; filter: grayscale(.6); }
.mes-livres-ranger { margin-top: 0; }
/* éléments masqués (attribut hidden) : un display posé plus haut ne doit pas les faire réapparaître */
.sous-barre[hidden], .pz-presents [data-vide][hidden], .pz-direct[hidden] { display: none !important; }

/* Billetterie (2026-11-19) : « Nouvel événement » toujours en haut d'un événement ; photos et PDF envoyés depuis l'ordinateur */
.bt-ligne-haut { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.bt-fichiers { display: grid; gap: 16px; margin-top: 28px; }
.bt-fichiers-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.bt-fichiers-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; display: block; }
.bt-fichiers .bouton { justify-self: start; }

/* Sous-galeries simples (2026-11-19) : menu du clic droit « Déplacer cette photo vers… » */
.menu-themes .menu-deplacer-titre { font-weight: 700; margin: 0 0 8px; }
.menu-deplacer { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; margin: 0 4px 12px; min-width: 300px; }
.menu-themes .menu-deplacer-liste { width: 100%; min-width: 0; height: 42px; padding: 0 10px; border-radius: 10px; border: 1px solid #d9d2c6; background: #fff; color: #1d1a16; font: inherit; font-size: .95rem; }
.menu-themes .menu-deplacer-ok { height: 42px; padding: 0 16px; }
.menu-deplacer-ok[disabled] { opacity: .45; cursor: not-allowed; }
.menu-creer-legende { display: block; width: 100%; font-size: .85em; opacity: .75; margin-bottom: 4px; }
.menu-themes-creer { flex-wrap: wrap; }
.menu-themes:has(.menu-deplacer) { min-width: 340px; }

/* Tableau de bord de l'administration (2026-11-19) : 4 blocs lisibles d'un coup d'œil */
.tb { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 18px 0 32px; }
.tb-bloc { background: #fff; border: 1px solid #e7e0d4; border-radius: 22px; padding: 20px 22px; box-shadow: 0 8px 28px rgb(20 17 13 / .06); min-width: 0; }
.tb-bloc h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 1.15rem; }
.tb-pastille { margin-inline-start: auto; min-width: 2em; padding: 2px 10px; border-radius: 999px; background: #F1ECE3; font-size: .85rem; text-align: center; }
.tb-pastille--chaud { background: #E0452B; color: #fff; }
.tb-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.tb-tuile { display: grid; gap: 2px; padding: 12px 14px; border-radius: 16px; background: #F7F4EE; color: inherit; text-decoration: none; opacity: .6; transition: transform .15s, box-shadow .15s; }
.tb-tuile b { font-size: 1.6rem; line-height: 1; }
.tb-tuile span:last-child { font-size: .82rem; color: #6b6257; }
.tb-ic { color: #8a8073; }
.tb-tuile--active { opacity: 1; background: #FFF0EC; box-shadow: inset 0 0 0 1.5px #E0452B; }
.tb-tuile--active .tb-ic, .tb-tuile--active b { color: #C7361E; }
.tb-tuile:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgb(20 17 13 / .08); }
.tb-calme { margin: 10px 0 0; color: #3f7a4a; font-weight: 600; }
.tb-argent { background: #14110D; color: #F6F3EE; border-color: #14110D; }
.tb-argent .tb-note { color: #B9AE9C; }
.tb-ca { display: grid; gap: 2px; padding: 14px 16px; border-radius: 16px; background: linear-gradient(135deg, #2a231b, #1b1712); margin-bottom: 14px; }
.tb-ca span { color: #B9AE9C; font-size: .85rem; }
.tb-ca b { font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.05; color: #F2C14E; }
.tb-ca b small { font-size: .45em; color: #E9E1D3; }
.tb-ca em { font-style: normal; color: #E9E1D3; font-size: .85rem; }
.tb-ligne-chiffres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tb-ligne-chiffres div { display: grid; gap: 2px; }
.tb-ligne-chiffres b { font-size: 1.35rem; }
.tb-ligne-chiffres span { font-size: .8rem; color: #B9AE9C; }
.tb-discret b { color: #8a8073; }
.tb-note { font-size: .8rem; margin: 12px 0; }
.tb-zero { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.tb-argent .bouton--contour { color: #F6F3EE; border-color: rgb(246 243 238 / .4); }
.tb-argent .lien-discret { color: #B9AE9C; }
.tb-barres { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tb-barres li { display: grid; grid-template-columns: 6.5em minmax(0, 1fr) 2.5em; align-items: center; gap: 10px; font-size: .92rem; }
.tb-barres i { display: block; height: 12px; border-radius: 999px; background: #F1ECE3; position: relative; overflow: hidden; }
.tb-barres i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p); border-radius: inherit; background: linear-gradient(90deg, #E0452B, #F2994A); }
.tb-barres b { text-align: end; }
.tb-nouveaux { margin: 14px 0 0; color: #6b6257; }
.tb-nouveaux b { color: #3f7a4a; font-size: 1.1rem; }
.tb-fil { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; max-height: 330px; overflow: auto; }
.tb-fil li { display: grid; grid-template-columns: 5.5em minmax(0, 1fr); gap: 10px; padding: 7px 4px; border-bottom: 1px solid #f0ebe2; font-size: .9rem; }
.tb-fil time { color: #8a8073; font-variant-numeric: tabular-nums; font-size: .82rem; }
.tb-fil a { font-weight: 700; color: inherit; }
.tb-fil .tb-nouveau { animation: tb-arrivee 1.6s ease; }
@keyframes tb-arrivee { from { background: #FFF0EC; } to { background: transparent; } }
.tb-notif { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 14px; }
@media (max-width: 860px) { .tb { grid-template-columns: minmax(0, 1fr); } .tb-ligne-chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .tb-tuile, .tb-fil .tb-nouveau { transition: none; animation: none; } }
.tb-argent .tb-zero .bouton { background: transparent; color: #F6F3EE; border: 1.5px solid rgb(246 243 238 / .55); opacity: 1; }
.tb-argent .tb-zero .bouton:hover { background: #F6F3EE; color: #14110D; }
.tb-argent .tb-zero .bouton .ic, .tb-argent .tb-zero .bouton svg { color: currentColor; }

/* Coffre-fort cloud du fondateur (2026-11-19) : porte d'acier à code, intérieur sombre, paliers */
.cf-salle, .cf-interieur { --acier-1: #6a717c; --acier-2: #2c3137; --or-1: #E7C77E; --or-2: #A9823E; position: relative; border-radius: 28px; padding: clamp(20px, 4vw, 40px); color: #E9E6DF;
  background: radial-gradient(120% 80% at 50% 0%, #2a2f37 0%, #14171c 55%, #0d0f12 100%); box-shadow: 0 30px 80px rgb(0 0 0 / .35); overflow: hidden; }
.cf-salle h1, .cf-interieur h1 { color: #F6F3EE; margin: 6px 0 0; font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.05; }
.cf-sur { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: var(--or-1); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.cf-sur svg { width: 15px; height: 15px; }
.cf-entete { text-align: center; display: grid; justify-items: center; }
.cf-consigne { margin: 10px 0 0; color: #C9C3B8; font-size: 1.02rem; }
.cf-scene { display: grid; grid-template-columns: auto auto; justify-content: center; align-items: center; gap: clamp(24px, 5vw, 64px); margin: 30px 0 10px; }
.cf-coffre { position: relative; width: min(330px, 78vw); aspect-ratio: 33 / 40; perspective: 1500px; border-radius: 22px; background: #07080a; box-shadow: 0 0 0 10px #1e2228, 0 0 0 12px #3a4048, 0 24px 60px rgb(0 0 0 / .6); }
.cf-interieur-vu { position: absolute; inset: 16px; display: grid; grid-template-rows: repeat(3, 1fr); gap: 10px; }
.cf-interieur-vu span { border-bottom: 3px solid #2a2e35; background: linear-gradient(180deg, transparent 60%, rgb(231 199 126 / .12)); border-radius: 4px; }
.cf-porte { position: absolute; inset: 0; border-radius: 20px; transform-origin: 0 50%; transition: transform 1.3s cubic-bezier(.6, .05, .25, 1); transform-style: preserve-3d;
  background: repeating-linear-gradient(115deg, rgb(255 255 255 / .035) 0 2px, transparent 2px 5px), linear-gradient(140deg, var(--acier-1) 0%, #3b4148 40%, #555c66 62%, var(--acier-2) 100%);
  box-shadow: inset 0 2px 0 rgb(255 255 255 / .18), inset 0 -3px 0 rgb(0 0 0 / .45), 0 10px 30px rgb(0 0 0 / .5); }
.cf-porte-cadre { position: absolute; inset: 18px; border-radius: 14px; display: grid; place-items: center; align-content: center; gap: 26px;
  box-shadow: inset 0 0 0 3px rgb(0 0 0 / .35), inset 0 0 0 4px rgb(255 255 255 / .06); }
.cf-molette { --tour: 0deg; position: relative; width: 58%; aspect-ratio: 1; border-radius: 50%; transform: rotate(var(--tour)); transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); isolation: isolate;
  background: repeating-conic-gradient(rgb(255 255 255 / .55) 0 .7deg, transparent .7deg 10deg), radial-gradient(circle, #8e96a1 0 40%, #4a5059 41% 62%, #2b2f35 63% 100%);
  box-shadow: 0 6px 16px rgb(0 0 0 / .55), inset 0 0 0 6px #23272c; }
.cf-molette::before { content: ""; position: absolute; inset: 30%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #c9ced6, #6a717c 60%, #3b4148); box-shadow: 0 3px 8px rgb(0 0 0 / .5); z-index: 1; }
.cf-molette i { position: absolute; top: 4%; left: 50%; width: 4px; height: 14%; margin-left: -2px; border-radius: 2px; background: var(--or-1); box-shadow: 0 0 8px var(--or-1); }
.cf-poignee { position: absolute; top: 50%; left: -16%; right: -16%; height: 12px; margin-top: -6px; border-radius: 999px; background: linear-gradient(180deg, #d5d9df, #7b828c 55%, #4a5059); box-shadow: 0 4px 10px rgb(0 0 0 / .5); z-index: -1; }
.cf-ecran { display: flex; gap: 10px; padding: 10px 14px; border-radius: 10px; background: #0b0d10; box-shadow: inset 0 2px 6px rgb(0 0 0 / .8), 0 1px 0 rgb(255 255 255 / .08); }
.cf-ecran span { width: 26px; height: 8px; border-radius: 3px; background: #262a30; transition: background .15s, box-shadow .15s; }
.cf-ecran span.plein { background: var(--or-1); box-shadow: 0 0 10px rgb(231 199 126 / .8); }
.cf-charniere { position: absolute; left: -7px; width: 12px; height: 54px; border-radius: 4px; background: linear-gradient(90deg, #1b1e22, #50575f, #1b1e22); }
.cf-charniere--haut { top: 16%; } .cf-charniere--bas { bottom: 16%; }
.cf-ouverture .cf-porte { transform: rotateY(-112deg); }
.cf-ouverture .cf-molette { transform: rotate(calc(var(--tour) + 450deg)); transition-duration: .9s; }
.cf-secoue { animation: cf-secoue .45s; }
@keyframes cf-secoue { 20%, 60% { translate: -8px 0; } 40%, 80% { translate: 8px 0; } }
.cf-clavier { display: grid; grid-template-columns: repeat(3, 66px); gap: 12px; }
.cf-touche { height: 66px; border: 0; border-radius: 16px; font: 700 1.5rem/1 system-ui, sans-serif; color: #F6F3EE; cursor: pointer;
  background: linear-gradient(160deg, #4b525b, #2b3036); box-shadow: inset 0 1px 0 rgb(255 255 255 / .15), 0 5px 0 #15181c, 0 8px 16px rgb(0 0 0 / .4); transition: transform .08s, box-shadow .08s; }
.cf-touche:active { transform: translateY(4px); box-shadow: inset 0 1px 0 rgb(255 255 255 / .1), 0 1px 0 #15181c; }
.cf-touche--ok { background: linear-gradient(160deg, var(--or-1), var(--or-2)); color: #1b1610; }
.cf-touche--eff { background: linear-gradient(160deg, #343a41, #1f2328); font-size: 1.2rem; }
.cf-message { min-height: 1.4em; margin: 14px 0 0; text-align: center; font-weight: 700; }
.cf-err { color: #FF9A85; } .cf-ok { color: var(--or-1); }
.cf-oublie { margin: 10px auto 0; text-align: center; color: #B9B2A6; }
.cf-oublie summary { cursor: pointer; display: inline-block; text-decoration: underline; text-underline-offset: 3px; }
.cf-oublie form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 12px; align-items: end; }
.cf-oublie label, .cf-changer label { display: grid; gap: 4px; font-size: .85rem; text-align: start; }
.cf-oublie input, .cf-changer input { height: 42px; border-radius: 10px; border: 1px solid #3a4048; background: #0f1215; color: #F6F3EE; padding: 0 12px; font: inherit; }
.cf-bouton-or, .cf-bouton-acier { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border: 0; border-radius: 999px; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; }
.cf-bouton-or { background: linear-gradient(160deg, var(--or-1), var(--or-2)); color: #1b1610; box-shadow: 0 6px 18px rgb(169 130 62 / .35); }
.cf-bouton-acier { background: linear-gradient(160deg, #4b525b, #2b3036); color: #F6F3EE; }
.cf-bouton-or svg, .cf-bouton-acier svg { width: 17px; height: 17px; }
.cf-interieur { animation: cf-entree .7s ease both; }
@keyframes cf-entree { from { opacity: 0; transform: scale(.98); } }
.cf-tete { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.cf-tete-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cf-changer { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; margin-top: 16px; padding: 14px; border-radius: 14px; background: rgb(255 255 255 / .04); }
.cf-changer[hidden] { display: none !important; }
.cf-palier-actuel { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; margin: 22px 0; }
.cf-jauge, .cf-offert { padding: 16px 18px; border-radius: 16px; background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .06); margin: 0; }
.cf-jauge-texte { color: #C9C3B8; margin-bottom: 10px; } .cf-jauge-texte b { color: #F6F3EE; font-size: 1.2rem; }
.cf-jauge i { display: block; height: 10px; border-radius: 999px; background: #262a30; position: relative; overflow: hidden; }
.cf-jauge i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: max(var(--p), 2%); border-radius: inherit; background: linear-gradient(90deg, var(--or-2), var(--or-1)); }
.cf-offert { display: grid; gap: 2px; } .cf-offert span { color: #B9B2A6; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.cf-offert b { color: var(--or-1); font-size: 1.5rem; } .cf-offert small { color: #9d968a; font-size: .78rem; }
.cf-zone { display: grid; justify-items: center; gap: 12px; padding: 30px 20px; border: 2px dashed rgb(231 199 126 / .35); border-radius: 20px; text-align: center; color: #C9C3B8; transition: background .15s, border-color .15s; }
.cf-zone > svg { width: 36px; height: 36px; color: var(--or-1); } .cf-zone p { margin: 0; }
.cf-survol { background: rgb(231 199 126 / .08); border-color: var(--or-1); }
.cf-envois { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.cf-envois li { display: grid; grid-template-columns: minmax(0, 1fr) 140px 7em; gap: 10px; align-items: center; font-size: .9rem; }
.cf-envois li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cf-envois i { height: 8px; border-radius: 999px; background: #262a30; overflow: hidden; }
.cf-envois i b { display: block; height: 100%; width: 0; background: var(--or-1); transition: width .2s; }
.cf-envois em { font-style: normal; color: #B9B2A6; } .cf-envois .cf-ok em { color: var(--or-1); font-weight: 700; } .cf-envois .cf-erreur em { color: #FF9A85; }
.cf-liste { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.cf-fichier { background: #1b1f25; border-radius: 16px; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .07); }
.cf-apercu { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; background: #0f1215; overflow: hidden; color: inherit; text-decoration: none; }
.cf-apercu img, .cf-apercu video { width: 100%; height: 100%; object-fit: cover; display: block; }
.cf-lecture { position: absolute; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgb(0 0 0 / .65); color: #fff; pointer-events: none; }
.cf-type { font-weight: 800; letter-spacing: .1em; color: var(--or-1); font-size: 1.05rem; }
.cf-infos { padding: 10px 12px 4px; display: grid; gap: 2px; min-width: 0; }
.cf-infos b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .92rem; color: #F6F3EE; }
.cf-infos small { color: #9d968a; font-size: .78rem; }
.cf-actions { display: flex; justify-content: flex-end; gap: 4px; padding: 4px 8px 8px; }
.cf-actions form { margin: 0; }
.cf-icone { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 10px; background: rgb(255 255 255 / .06); color: #E9E6DF; cursor: pointer; }
.cf-icone svg { width: 17px; height: 17px; } .cf-icone--danger { color: #FF9A85; }
.cf-vide { color: #9d968a; text-align: center; margin: 22px 0; }
.cf-paliers { margin-top: 34px; padding-top: 26px; border-top: 1px solid rgb(255 255 255 / .08); }
.cf-paliers h2 { margin: 0; color: #F6F3EE; font-size: 1.25rem; } .cf-paliers-note { margin: 6px 0 18px; color: #B9B2A6; font-size: .92rem; }
.cf-paliers ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cf-palier { position: relative; display: grid; gap: 6px; padding: 18px 16px; border-radius: 18px; background: linear-gradient(160deg, #262b32, #171a1f); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .07); }
.cf-palier--conseil { box-shadow: inset 0 0 0 1.5px var(--or-1), 0 10px 26px rgb(169 130 62 / .18); }
.cf-palier-badge { position: absolute; top: -10px; inset-inline-start: 14px; padding: 3px 10px; border-radius: 999px; background: var(--or-1); color: #1b1610; font-size: .72rem; font-weight: 800; }
.cf-palier-taille { font-size: 1.6rem; color: #F6F3EE; } .cf-palier-prix { font-size: 1.3rem; font-weight: 800; color: var(--or-1); } .cf-palier-prix small { font-size: .62em; color: #C9C3B8; font-weight: 600; }
.cf-palier-detail { color: #9d968a; font-size: .8rem; }
.cf-palier-etat { justify-self: start; margin-top: 6px; padding: 4px 12px; border-radius: 999px; background: rgb(255 255 255 / .07); color: #C9C3B8; font-size: .8rem; font-weight: 700; }
.cf-palier-etat--offert { background: rgb(231 199 126 / .15); color: var(--or-1); }
@media (max-width: 900px) { .cf-scene { grid-template-columns: minmax(0, 1fr); justify-items: center; } .cf-paliers ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cf-palier-actuel { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .cf-clavier { grid-template-columns: repeat(3, 58px); gap: 10px; } .cf-touche { height: 58px; } .cf-envois li { grid-template-columns: minmax(0, 1fr) 80px; } .cf-envois em { grid-column: 1 / -1; } }
@media (prefers-reduced-motion: reduce) { .cf-porte, .cf-molette { transition: none; } .cf-interieur, .cf-secoue { animation: none; } }

/* Espace rangé en 7 familles (2026-11-19, proposition A) : accueil en cartes, menu groupé, fil d'Ariane */
.page-espace-accueil .espace { grid-template-columns: minmax(0, 1fr) !important; }
.page-espace-accueil .espace-cote { display: none; }
.espace-nav--familles { display: grid !important; gap: 4px; overflow: visible; }
.espace-nav--familles .ef-accueil { font-weight: 700; }
.ef-groupe { border-radius: 12px; }
.ef-groupe > summary { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 12px; cursor: pointer; list-style: none; font-weight: 700; font-size: .94rem; color: var(--encre); }
.ef-groupe > summary::-webkit-details-marker { display: none; }
.ef-groupe > summary::after { content: ""; margin-inline-start: auto; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); opacity: .45; transition: transform .2s; }
.ef-groupe[open] > summary::after { transform: rotate(-135deg); }
.ef-groupe > summary:hover { background: var(--surface); }
.ef-pastille { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--c); color: #fff; flex: none; }
.ef-pastille svg, .ef-pastille .ic { width: 16px; height: 16px; }
.ef-groupe > a { display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 50px; border-radius: 10px; text-decoration: none; font-size: .92rem; color: var(--encre-2); }
[dir=rtl] .ef-groupe > a { padding: 8px 50px 8px 12px; }
.ef-groupe > a:hover { background: var(--surface); color: var(--encre); }
.ef-groupe > a[aria-current] { background: var(--surface); color: var(--encre); font-weight: 600; box-shadow: inset 3px 0 0 var(--c); }
.ef-ariane { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; font-size: .85rem; color: var(--encre-2); }
.ef-ariane a { color: inherit; text-decoration: none; } .ef-ariane a:hover { text-decoration: underline; }
.ef-ariane a[style] { color: var(--c); font-weight: 700; }
.ef-ariane span { opacity: .5; } .ef-ariane b { color: var(--encre); }
.ef-onglets-tel { display: none; }
@media (max-width: 979px) {
  .page-espace .espace-cote { display: none; }
  .ef-onglets-tel { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: -4px 0 16px; padding-bottom: 2px; }
  .ef-onglets-tel a { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--ligne); text-decoration: none; font-weight: 600; font-size: .88rem; color: var(--encre); }
  .ef-onglets-tel a svg { width: 15px; height: 15px; }
  .ef-onglets-tel a[aria-current] { background: var(--encre); color: #fff; box-shadow: none; }
}
/* accueil */
.ef-hero { position: relative; display: flex; align-items: center; gap: 24px; padding: clamp(22px, 4vw, 36px); border-radius: 26px; overflow: hidden; color: #fff; background: #14110D; isolation: isolate; }
.ef-hero-fond { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; z-index: -2; }
.ef-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(20 17 13 / .92), rgb(20 17 13 / .4)); }
[dir=rtl] .ef-hero::after { background: linear-gradient(270deg, rgb(20 17 13 / .92), rgb(20 17 13 / .4)); }
.ef-hero .avatar { width: clamp(64px, 9vw, 96px); height: clamp(64px, 9vw, 96px); flex: none; box-shadow: 0 0 0 3px #fff; border-radius: 50%; }
.ef-hero h1 { margin: 0; color: #fff; font-size: clamp(1.4rem, 3vw, 2.1rem); line-height: 1.1; }
.ef-hero-texte p { margin: 6px 0 0; opacity: .82; font-size: .92rem; }
.ef-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.ef-clair { background: #fff !important; color: #14110D !important; border: 0; }
.ef-anneau { margin-inline-start: auto; flex: none; display: grid; place-items: center; width: 118px; height: 118px; border-radius: 50%; position: relative; text-decoration: none; color: #fff;
  background: conic-gradient(#E0452B 0 var(--p), rgb(255 255 255 / .18) 0); }
.ef-anneau::before { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: #14110D; }
.ef-anneau span { position: relative; display: grid; justify-items: center; line-height: 1.1; text-align: center; }
.ef-anneau b { font-size: 1.55rem; } .ef-anneau small { font-size: .7rem; opacity: .75; max-width: 72px; }
.ef-afaire { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 18px 0 6px; padding: 2px; }
.ef-afaire a { flex: none; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px; background: #fff; box-shadow: 0 6px 18px rgb(20 17 13 / .06); text-decoration: none; color: var(--encre); font-size: .9rem; font-weight: 500; }
.ef-afaire a b { display: grid; place-items: center; min-width: 28px; height: 28px; padding: 0 8px; border-radius: 999px; background: #E0452B; color: #fff; font-size: .82rem; }
.ef-tout-ok { display: flex; align-items: center; gap: 8px; margin: 0; padding: 12px 16px; border-radius: 16px; background: #E5F1EA; color: #2F6B4F; font-weight: 600; }
.ef-titre { margin: 20px 0 12px; font-weight: 700; font-size: 1.15rem; }
.ef-cartes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ef-carte { background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 8px 26px rgb(20 17 13 / .07); min-width: 0; }
.ef-carte--large { grid-column: span 2; }
.ef-carte--fin2 { grid-column: span 2; } .ef-carte--fin1 { grid-column: span 3; }
.ef-carte-tete { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--fond); }
.ef-carte-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--c); color: #fff; flex: none; }
.ef-carte-ic svg, .ef-carte-ic .ic { width: 22px; height: 22px; }
.ef-carte h2 { margin: 0; font-size: 1.08rem; } .ef-carte-tete p { margin: 2px 0 0; font-size: .82rem; color: var(--encre-2); }
.ef-bande { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; padding: 14px 18px 0; }
.ef-bande img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; display: block; }
.ef-carte ul { list-style: none; margin: 0; padding: 8px 10px 12px; }
.ef-carte li a, .ef-carte li button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 10px; border: 0; border-radius: 12px; background: none; font: inherit; color: var(--encre); text-decoration: none; cursor: pointer; text-align: start; }
.ef-carte li a:hover, .ef-carte li button:hover { background: var(--surface); }
.ef-carte li span { flex: 1; font-weight: 600; font-size: .95rem; } .ef-carte li small { color: var(--encre-2); font-size: .8rem; text-align: end; }
.ef-carte li svg, .ef-carte li .ic { width: 16px; height: 16px; opacity: .45; flex: none; }
.ef-carte li a > svg:last-child { transform: rotate(-90deg); }
[dir=rtl] .ef-carte li a > svg:last-child { transform: rotate(90deg); }
.ef-carte li form { margin: 0; }
@media (max-width: 1100px) { .ef-cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ef-carte--large { grid-column: span 2; } .ef-carte--fin1, .ef-carte--fin2 { grid-column: auto; } }
@media (max-width: 640px) {
  .ef-hero { flex-wrap: wrap; gap: 14px; } .ef-anneau { display: none; }
  .ef-cartes { grid-template-columns: minmax(0, 1fr); gap: 12px; } .ef-carte--large { grid-column: auto; }
  .ef-bande { grid-template-columns: repeat(4, minmax(0, 1fr)); } .ef-bande img:nth-child(n + 5) { display: none; }
}
.espace-contenu { min-width: 0; }
.ef-onglets-tel { max-width: 100%; }

/* ---------- Contrastes des boutons (2026-11-19) : plus jamais de blanc sur blanc ---------- */
/* 1. Boutons « contour » posés sur un fond sombre : l'ancien fond de verre blanc à 82 % cachait le texte blanc */
.section--sombre .bouton--contour, .pass:not(.pass--aucun) .bouton--contour { background: rgb(255 255 255 / .08); color: #fff; }
.section--sombre .bouton--contour:hover, .pass:not(.pass--aucun) .bouton--contour:hover { background: #fff; color: #17140f; border-color: #fff; }
/* 2. Vitrines en ambiance sombre : --encre devient clair, donc les boutons « encre » ont un fond clair */
body.ambiance:not(.ambiance--galerie) .bouton:not(.bouton--plein, .bouton--contour, .bouton--whatsapp, .bouton--premium, .bouton--danger, .bouton--reserver, .bouton--site-premium, .bouton-insta) { color: #111; }
body.ambiance:not(.ambiance--galerie) .bouton:not(.bouton--plein, .bouton--contour, .bouton--whatsapp, .bouton--premium, .bouton--danger, .bouton--reserver, .bouton--site-premium, .bouton-insta):hover { background: #fff; border-color: #fff; color: #111; }
body.ambiance:not(.ambiance--galerie) .bouton--contour { background: color-mix(in srgb, var(--surface) 88%, transparent); color: var(--encre); border-color: var(--ligne-forte); }
body.ambiance:not(.ambiance--galerie) .bouton--contour:hover { background: var(--surface-2); color: var(--encre); border-color: var(--encre); }
body.ambiance:not(.ambiance--galerie) .bouton-reseau--site:hover { background-color: var(--encre); border-color: var(--encre); color: #111; }
/* 3. Barre du propriétaire : boutons blancs, texte toujours foncé (même quand --encre est clair) */
.barre-proprio .bouton { color: #17140f; }
.barre-proprio .bouton:hover { background: #f2ebdf; border-color: #f2ebdf; color: #17140f; }
/* 4. Cas isolés */
.pdj-partager--moi:hover { background: #f2c262; border-color: #f2c262; color: #1b130c; }
.hero-qr-insta, .bouton-insta, .bouton.bouton-insta, .bouton-reseau--instagram:hover { text-shadow: 0 1px 2px rgb(0 0 0 / .35); }
.bouton-icone--danger:hover { background: #fdecea; color: #b42318; }

/* ---------- Espace d'un club : son site (2026-11-19, /espace/club) ---------- */
.club-g-boutons{display:flex;flex-wrap:wrap;gap:10px;margin:6px 0 18px}
.club-g-ok{padding:12px 16px;border-radius:14px;background:#E3F3EA;color:#145C3A;font-weight:500}
.club-g-vign{width:56px;height:56px;border-radius:12px;object-fit:cover;flex:none}
.club-g-nouvelle{margin:14px 0}.club-g-nouvelle>summary{list-style:none;cursor:pointer;display:inline-flex}.club-g-nouvelle>summary::-webkit-details-marker{display:none}
.club-g-nouvelle[open]>summary{margin-bottom:14px}
.club-g-form{display:grid;gap:12px}
.club-g-ligne{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}
.club-g-images{border:0;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(88px,1fr));gap:8px}
.club-g-images legend{font-weight:600;margin-bottom:8px;font-size:.92rem}
.club-g-images label{position:relative;display:block;aspect-ratio:1;border-radius:12px;overflow:hidden;cursor:pointer;border:2px solid transparent;background:var(--surface-2)}
.club-g-images label:has(input:checked){border-color:var(--accent);box-shadow:0 0 0 2px var(--accent)}
.club-g-images input{position:absolute;opacity:0}
.club-g-images img{width:100%;height:100%;object-fit:cover}
.club-g-sans{display:grid!important;place-items:center;font-size:.8rem;color:var(--encre-2);text-align:center;padding:6px}
.club-g-defi{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}.club-g-defi p{margin:0}

/* Carte « Pass Club / Académie » (fond clair) : ses boutons gardaient le texte blanc des cartes sombres (2026-11-19) */
.pass--structure .bouton--contour { background: #fff; color: #1F7A6B; border-color: #BFE1D7; }
.pass--structure .bouton--contour:hover { background: #1F7A6B; color: #fff; border-color: #1F7A6B; }
.pass--structure .pass-fin { color: #2C4F48; opacity: 1; }

/* En ligne / pas encore en ligne (2026-11-19, jour J de fnan.ma) : contour rouge + étiquette = visible seulement par le
   photographe ; pastille verte = visible au public (montrée seulement quand la galerie mélange les deux). */
.galerie-auto .media-ligne.est-masquee .media-vignette { outline: 3px solid #D7372B; outline-offset: 2px; border-radius: 12px; }
.media-masquee { background: #D7372B; }
.liste-medias:has(.est-masquee) .media-ligne:not(.est-masquee) .media-vignette { position: relative; }
.liste-medias:has(.est-masquee) .media-ligne:not(.est-masquee) .media-vignette::after { content: ''; position: absolute; bottom: 8px; inset-inline-end: 8px; width: 14px; height: 14px; border-radius: 50%; background: #1E9E5A; box-shadow: 0 0 0 2px #fff, 0 1px 4px rgb(0 0 0 / .3); pointer-events: none; }
.legende-en-ligne { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 6px 0 10px; font-size: .88rem; color: var(--encre-2); }
.legende-en-ligne[hidden] { display: none; }
.pastille-en-ligne, .pastille-hors-ligne { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.pastille-en-ligne { background: #1E9E5A; }
.pastille-hors-ligne { border: 3px solid #D7372B; border-radius: 4px; margin-inline-start: 8px; }
.barre-themes-action .bouton-en-ligne { background: #1E9E5A; border-color: #1E9E5A; color: #fff; }
.barre-themes-action .bouton-en-ligne:hover { background: #167A45; border-color: #167A45; color: #fff; }
