/* ============================================================
   Gabriel Comeau Photographe — noir et or (v18)
   Retour à l'OR d'origine (#c9a24a / #e8c877) : Gabriel a
   essayé l'orange de la maquette nº 3 en v17 et l'a rejeté
   (« la couleur orange fit pas »). Typographie MODERNE et
   UNIFORME : Montserrat (chargée dans index.html) pour les
   titres ET le corps — fini le mélange serif/script, jugé
   « ancien ». Le logo reste son lockup officiel en image.
   ============================================================ */
:root {
  --noir: #0a0a0b;
  --noir-2: #141416;
  --noir-3: #1e1e21;
  --or: #c9a24a;
  --or-clair: #e8c877;
  --texte: #f2ead8;
  --texte-doux: #b8b0a0;
  --rouge: #e4574d;
  --vert: #58b368;
  --rayon: 14px;
  --police: 'Montserrat', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Thèmes saisonniers (v51) ----------
   Les 7 thèmes choisis par Gabriel dans son admin (document
   config/theme). La base noire ne change JAMAIS : seul
   l'accent (--or / --or-clair) varie, via data-theme sur
   <html>. Tout le doré du site passe par ces deux variables
   (titres, boutons, filets, pastilles, bandeau) : un thème
   s'applique donc partout d'un coup, sans toucher aux photos
   ni au logo. « Or classique » = les valeurs de :root
   ci-dessus (pas de surcharge — l'attribut est retiré).
   Les couleurs sont aussi recopiées dans app.js (THEMES_SITE,
   pour les pastilles du panneau admin) : les deux listes
   doivent rester d'accord (voir README, section « La v51 »).
   Noël : rouge ÉCLAIRCI (#e2574c, pas le #c0392b envisagé
   d'abord) — le rouge sombre ne se lisait pas sur le noir. */
html[data-theme="printemps"] { --or: #8fce7a; --or-clair: #c2e8b8; }
html[data-theme="ete"] { --or: #f0a35e; --or-clair: #ffd9a8; }
html[data-theme="automne"] { --or: #c96f2e; --or-clair: #e8a878; }
html[data-theme="hiver"] { --or: #7fb8d8; --or-clair: #c8e4f2; }
html[data-theme="halloween"] { --or: #e8721c; --or-clair: #ffb347; }
html[data-theme="noel"] { --or: #e2574c; --or-clair: #f2a9a2; }

/* Fond de page photo (v51) : l'image (voile sombre + photo)
   est posée en ligne par app.js (style.backgroundImage) ; la
   classe ne porte que le comportement — fixe, couvrante,
   centrée. Le voile (rgba(5,5,5,.72)) assombrit juste assez
   pour que les bandes latérales restent discrètes : le texte,
   lui, repose sur des surfaces opaques (cartes, sections,
   barre latérale), il ne dépend pas du voile pour se lire.
   Sur les mobiles qui ignorent background-attachment: fixed,
   le fond défile avec la page (dégradation acceptable). */
body.fond-photo {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--noir);
  color: var(--texte);
  font-family: var(--police);
  min-height: 100vh;
}

.sans { font-family: var(--police); }

/* ---------- En-tête ---------- */
.entete {
  text-align: center;
  padding: 28px 16px 10px;
}
/* Logo officiel blanc (v14) : l'image est le lockup complet
   (GC + GABRIEL COMEAU + PHOTOGRAPHE) sur fond transparent.
   Hauteur 118 px plutôt que ~72 : à 72 px, le nom du lockup
   ferait ~4 px et serait illisible. Le nom n'est donc plus
   affiché en texte (.logo-nom reste pour compatibilité). */
.logo-img {
  display: block;
  margin: 0 auto;
  height: 118px;
  width: auto;
  max-width: 86vw;
}
.logo-gc {
  font-size: 56px;
  letter-spacing: 6px;
  color: var(--or);
  line-height: 1;
  font-weight: 700;
}
.logo-nom {
  margin-top: 6px;
  font-size: 15px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--texte);
}
.logo-slogan {
  margin-top: 6px;
  font-style: italic;
  color: var(--or-clair);
  font-size: 15px;
}
.ligne-or {
  width: 120px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--or), transparent);
  margin: 14px auto 0;
}
/* v53 : icônes sociales dans l'en-tête mobile, sous le logo, le
   slogan et la ligne dorée (mêmes ronds .pub-social que la barre
   latérale). Sur ordinateur, .coquille .entete est masqué, donc
   ces icônes sont mobiles seulement ; la barre latérale garde
   les siennes, inchangée. */
.entete-sociaux {
  display: flex; gap: 14px; justify-content: center; margin-top: 16px;
}

/* ---------- Contenu ---------- */
.contenu {
  max-width: 980px;
  margin: 0 auto;
  padding: 18px 16px 60px;
}
.carte {
  background: var(--noir-2);
  border: 1px solid #2b2b30;
  border-radius: var(--rayon);
  padding: 20px;
  margin-bottom: 18px;
}
.carte h2 { color: var(--or-clair); font-size: 22px; margin-bottom: 10px; font-weight: 700; }
.carte h3 { color: var(--texte); font-size: 18px; margin-bottom: 8px; font-weight: 600; }
.doux { color: var(--texte-doux); }
.petit { font-size: 13px; }
.gros-code {
  font-size: 30px; letter-spacing: 8px; color: var(--or-clair);
  font-family: 'Courier New', monospace; font-weight: bold;
}
.lien-boite {
  word-break: break-all;
  background: var(--noir-3);
  border: 1px dashed var(--or);
  border-radius: 10px;
  padding: 10px 12px;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  color: var(--or-clair);
  margin: 8px 0;
}

/* ---------- Accueil : hero ----------
   Hero dans le style de la maquette approuvée par Gabriel :
   sa vraie photo (hero-gabriel.jpg, portrait N&B) dans un panneau
   à droite sur desktop / en haut sur mobile, texte à gauche sur
   fond noir — le visage n'est jamais sous le texte. Un voile
   dégradé sur le bord de la photo fusionne les deux zones.
   (v21 : la section « Mes galeries » qui suivait le hero a été
   retirée — ses styles ont été supprimés avec elle.) */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  background:
    radial-gradient(620px 320px at 16% 28%, rgba(201, 162, 74, .13), transparent 62%),
    var(--noir-2);
  border: 1px solid #2b2b30;
  border-radius: var(--rayon);
  overflow: hidden;
  margin-bottom: 18px;
}
.hero-photo { position: relative; min-height: 300px; }
.hero-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}
.hero-photo::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, var(--noir-2) 0, transparent 42%);
}
.hero-contenu { padding: 26px 22px 30px; }
.hero-titre {
  font-size: clamp(30px, 6vw, 46px);
  line-height: 1.12; font-weight: 800; color: var(--texte);
}
.hero-sous-titre {
  margin-top: 14px;
  font-family: var(--police);
  font-size: 13px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--or-clair);
}
/* Le H1 du hero EST le slogan officiel ; « immortalisés » en
   accent OR (v18 : même police moderne que le titre, italique
   gras — la script de la v17 a été retirée, Gabriel trouvait
   le mélange serif/script « ancien »). */
.hero-accent {
  color: var(--or-clair);
  font-style: italic; font-weight: 700;
}
.hero-boutons { margin-top: 22px; }
@media (min-width: 820px) {
  .hero { grid-template-columns: 1.02fr .98fr; min-height: 460px; }
  .hero-contenu { order: 1; align-self: center; padding: 42px 38px; }
  .hero-photo { order: 2; min-height: 100%; }
  .hero-photo img { object-position: center 20%; }
  .hero-photo::after { background: linear-gradient(to right, var(--noir-2) 0, transparent 38%); }
}

/* Carte « lien d'album » (id acces-client) en style DISCRET
   (v18) : cette carte-ci, plus bas dans l'accueil, reste
   facile à trouver (menu latéral + défilement) mais ne rivalise
   pas avec les contenus publics : fond neutre, titre blanc
   plus petit, bouton en contour plutôt qu'en or plein. */
.carte-acces { background: var(--noir-3); border-color: #26262b; }
.carte-acces h2 { color: var(--texte); font-size: 19px; }

/* ---------- Section « À propos » de l'accueil (v18) ----------
   Personnalité : le visiteur rencontre le photographe avant
   les cartes d'action. Panneau sobre noir/or, même famille
   visuelle que le hero : titre + texte vrai + bouton or vers
   la réservation.
   v45 : la photo de gauche (portrait noir et blanc,
   photo-a-propos.jpg, en place depuis la v22) est retirée à
   la demande de Gabriel — « ça fait de trop ». La carte est
   donc texte seul : une colonne de lecture centrée dans la
   carte, largeur max confortable (~76 caractères), aucun
   espace vide résiduel, bureau comme mobile. */
.a-propos {
  background: var(--noir-2);
  border: 1px solid #2b2b30;
  border-radius: var(--rayon);
  overflow: hidden;
  margin-bottom: 18px;
}
.a-propos-contenu { padding: 22px; max-width: 76ch; margin: 0 auto; }
.a-propos-contenu h2 { color: var(--or-clair); font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.a-propos-contenu p { line-height: 1.55; }
.a-propos-contenu p + p { margin-top: 10px; }
.a-propos-accroche { color: var(--or-clair); font-style: italic; font-size: 17px; }
.a-propos-lieu { color: var(--or-clair); font-weight: 600; }
@media (min-width: 760px) {
  .a-propos-contenu { padding: 30px 26px; }
}

/* ---------- « Pourquoi choisir » + bande d'action (v28) ----------
   Idées de Gabriel : trois atouts en cartes juste après
   l'À propos de l'accueil (côte à côte sur bureau, empilées
   sur mobile), puis la bande « On crée quelque chose
   ensemble? » avec son gros bouton .btn-cta. La même bande
   ferme la page portfolio, après la grille des photos. */
.pourquoi { margin-bottom: 18px; }
.pourquoi-titre {
  color: var(--or-clair); font-size: 22px; font-weight: 700;
  text-align: center; margin-bottom: 14px;
}
.pourquoi-grille { display: grid; gap: 14px; }
.pourquoi-carte {
  background: var(--noir-2);
  border: 1px solid #2b2b30;
  border-radius: var(--rayon);
  padding: 22px 18px;
  text-align: center;
}
.pourquoi-icone { font-size: 34px; line-height: 1; margin-bottom: 10px; }
.pourquoi-carte h3 { color: var(--or-clair); font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.pourquoi-carte p { color: var(--texte-doux); line-height: 1.55; }
@media (min-width: 760px) {
  .pourquoi-grille { grid-template-columns: repeat(3, 1fr); }
}
.bande-cta {
  background: var(--noir-2);
  border: 1px solid #2b2b30;
  border-radius: var(--rayon);
  padding: 32px 20px;
  margin-bottom: 18px;
  text-align: center;
}
.bande-cta h2 { color: var(--or-clair); font-size: 25px; font-weight: 700; margin-bottom: 10px; }
.bande-cta p { line-height: 1.55; }
.bande-cta .btn-cta { margin-top: 14px; }

/* ---------- Formulaires et boutons ---------- */
label.champ { display: block; margin: 12px 0 6px; color: var(--texte-doux); font-size: 14px; }
input[type="text"], input[type="email"], input[type="password"], input[type="file"], input[type="number"] {
  width: 100%;
  padding: 13px 14px;
  border-radius: 10px;
  border: 1px solid #3a3a40;
  background: var(--noir-3);
  color: var(--texte);
  font-size: 16px;
  font-family: var(--police);
}
input:focus { outline: 2px solid var(--or); border-color: var(--or); }

/* Panneau « Tarifs » de l'admin (v49) : prix + durée côte à
   côte sur bureau, empilés sur téléphone. */
.tarifs-admin-ligne { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 760px) {
  .tarifs-admin-ligne { grid-template-columns: 1fr; }
}

.btn {
  display: inline-block;
  border: none; cursor: pointer;
  border-radius: 999px;
  padding: 13px 22px;
  font-size: 16px;
  font-family: var(--police);
  text-decoration: none;
  text-align: center;
  margin: 6px 6px 6px 0;
  transition: filter .2s ease, transform .2s ease;
}
.btn:hover { filter: brightness(1.1); transform: translateY(-1px); }
/* Écriture brun-noir sur le dégradé or : lisible sur l'or clair
   (la v17 mettait du blanc sur l'orange ; revenu en v18). */
.btn-or { background: linear-gradient(180deg, var(--or-clair), var(--or)); color: #191204; font-weight: 700; }
.btn-contour { background: transparent; color: var(--or-clair); border: 1px solid var(--or); }
.btn-doux { background: var(--noir-3); color: var(--texte); border: 1px solid #3a3a40; }
.btn-rouge { background: transparent; color: var(--rouge); border: 1px solid var(--rouge); }
.btn-vert { background: transparent; color: var(--vert); border: 1px solid var(--vert); }
/* Bouton Messenger de l'admin (v56) : bleu Messenger plein
   (#0084ff, comme la maquette approuvée) — « 💬 Envoyer sur
   Messenger » à côté d'« Approuver » dans les demandes de
   téléchargement. Nom distinct du bouton flottant public
   .btn-messenger (v31, position: fixed) : la première version
   réutilisait ce nom et le bouton flottait hors de sa ligne. */
.btn-messenger-admin { background: #0084ff; color: #fff; }
.btn:disabled { opacity: .5; cursor: wait; }
.btn-grand { width: 100%; padding: 16px; font-size: 17px; }
/* Bouton d'appel à l'action (v28) : plus imposant que .btn
   ordinaire (padding et texte augmentés, toujours doré plein
   via .btn-or) — c'est LE bouton « Réserver une séance → »
   des bandes .bande-cta (accueil + bas de la page portfolio). */
.btn-cta { padding: 17px 38px; font-size: 19px; }

.message {
  border-radius: 10px; padding: 12px 14px; margin: 12px 0;
  font-family: var(--police); font-size: 15px;
}
.message.erreur { background: #3a1714; border: 1px solid var(--rouge); color: #ffd9d5; }
.message.ok { background: #14301a; border: 1px solid var(--vert); color: #d8f5de; }
.message.info { background: #24231a; border: 1px solid var(--or); color: var(--or-clair); }

.badge-demo {
  display: inline-block;
  background: var(--or); color: #191204;
  font-family: var(--police); font-weight: 700; font-size: 12px;
  padding: 4px 10px; border-radius: 999px; letter-spacing: 1px;
}

/* ---------- Grille photos ---------- */
.grille {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}
@media (min-width: 700px) { .grille { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); } }
/* État vide d'une grille filtrée (v29 : une spécialité peut
   viser une catégorie encore sans photos). */
.pf-vide { grid-column: 1 / -1; text-align: center; padding: 18px 0; }

.tuile {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--noir-3);
  aspect-ratio: 4 / 5;
  cursor: pointer;
  -webkit-touch-callout: none;
  user-select: none;
}
.tuile img.photo {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  pointer-events: none;
  -webkit-user-drag: none;
  transition: transform .45s ease;
}
.tuile:hover img.photo, .tuile:focus-visible img.photo { transform: scale(1.04); }
.filigrane {
  position: absolute; inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.filigrane span {
  position: absolute;
  transform: translate(-50%, -50%) rotate(-28deg);
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--police);
  font-size: 13px; font-weight: 700;
  letter-spacing: .4px;
  text-shadow: 0 1px 4px rgba(0,0,0,.8), 0 0 3px rgba(0,0,0,.55);
}
.btn-coeur {
  position: absolute; top: 8px; right: 8px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(0,0,0,.55);
  font-size: 21px; line-height: 1;
  color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.btn-coeur.actif { color: var(--rouge); border-color: var(--rouge); background: rgba(60,10,8,.65); }
.statut-photo {
  position: absolute; left: 8px; bottom: 8px;
  font-family: var(--police); font-size: 11px; font-weight: 700;
  padding: 4px 8px; border-radius: 999px;
  background: rgba(0,0,0,.65); color: #fff;
}
.statut-photo.pending { color: #ffd97a; }
.statut-photo.approved { color: #9be3a8; }
.statut-photo.rejected { color: #ff9d94; }
/* Pastille dorée d'une photo approuvée/livrée (v36). */
.statut-photo.doree { color: var(--or-clair); box-shadow: inset 0 0 0 1px var(--or); }
/* Bouton « Télécharger » d'une photo approuvée (v36) : bas-droite
   de la tuile, bien doré et visible par-dessus la photo. */
.btn-telecharger {
  position: absolute; right: 8px; bottom: 8px; z-index: 3;
  font-family: var(--police); font-size: 12px; font-weight: 700;
  padding: 7px 12px; border-radius: 999px;
  background: var(--or); color: #171410; text-decoration: none;
  box-shadow: 0 2px 10px rgba(0,0,0,.55);
}
.btn-telecharger:hover { background: var(--or-clair); }

/* ---------- Visionneuse ---------- */
.visionneuse {
  position: fixed; inset: 0;
  background: #000;
  z-index: 60;
  display: none;
  flex-direction: column;
}
.visionneuse.ouverte { display: flex; }
.visionneuse .barre {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px; color: var(--texte);
  font-family: var(--police);
}
.visionneuse .scene {
  flex: 1; position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  -webkit-touch-callout: none; user-select: none;
}
.visionneuse .scene img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  pointer-events: none; -webkit-user-drag: none;
}
.visionneuse .filigrane span { font-size: 19px; }
.nav-photo {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(20,20,20,.7); color: #fff;
  border: 1px solid rgba(255,255,255,.3);
  font-size: 22px; cursor: pointer; z-index: 3;
}
.nav-photo.gauche { left: 10px; }
.nav-photo.droite { right: 10px; }
.masque-cache {
  position: absolute; inset: 0; z-index: 5;
  background: #000;
  display: none;
  align-items: center; justify-content: center;
  color: var(--or-clair); font-style: italic; text-align: center; padding: 20px;
}
.masque-cache.visible { display: flex; }
.blur-on .scene img, .blur-on .tuile img.photo,
.blur-on .pfv-tuile img, .blur-on .pfv-vedette img, .blur-on .pfv-hero-img { filter: blur(28px) brightness(.4); }

/* ---------- Listes admin ---------- */
.ligne-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 0; border-bottom: 1px solid #2b2b30;
}
/* v54 : la colonne de droite (légende / catégorie / Retirer)
   doit pouvoir rétrécir sous sa largeur de contenu, sinon les
   champs à largeur fixe poussent la carte hors de l'écran sur
   téléphone (repro v54 : 24 champs sur 27 dépassaient 390 px). */
.ligne-item > div { min-width: 0; }
.ligne-item:last-child { border-bottom: none; }
.ligne-item .mini {
  width: 64px; height: 80px; object-fit: cover; border-radius: 8px; flex: none;
  pointer-events: none;
}
.pastille {
  font-family: var(--police); font-size: 11px; font-weight: 700;
  padding: 3px 9px; border-radius: 999px; border: 1px solid #555; color: var(--texte-doux);
}
.pastille.pending { color: #ffd97a; border-color: #ffd97a; }
.pastille.approved { color: #9be3a8; border-color: #9be3a8; }
.pastille.rejected { color: #ff9d94; border-color: #ff9d94; }
.pastille.cancelled { color: #b9b3c9; border-color: #b9b3c9; }
/* (v44 : .pastille.non-affichee retirée avec le plafond v27 —
   toutes les photos du portfolio sont affichées.) */

/* ---------- Tableau de bord admin (v15) ----------
   Refonte de présentation de l'espace photographe, dans le
   style de la maquette approuvée : actions rapides en grosses
   cartes-boutons, albums en cartes visuelles avec couverture
   (première photo), badges de comptage et demandes en attente.
   Noir/or du site, aucun changement de comportement. */
.titre-admin {
  font-size: 20px; font-weight: 700; color: var(--texte);
  margin: 24px 0 12px;
}
.qa-rangee {
  display: grid; grid-template-columns: 1fr; gap: 12px;
  margin-bottom: 4px;
}
@media (min-width: 700px) { .qa-rangee { grid-template-columns: repeat(3, 1fr); } }
.qa-carte {
  display: flex; flex-direction: column; align-items: flex-start; gap: 5px;
  text-align: left; cursor: pointer; width: 100%;
  background: var(--noir-2); color: var(--texte);
  border: 1px solid #2b2b30; border-radius: var(--rayon);
  padding: 18px;
  font-family: var(--police);
  transition: filter .2s ease, transform .2s ease;
}
.qa-carte:hover { filter: brightness(1.13); transform: translateY(-2px); }
.qa-or {
  background: linear-gradient(180deg, var(--or-clair), var(--or));
  color: #191204; border-color: var(--or);
}
.qa-icone { font-size: 26px; line-height: 1; font-weight: 700; }
.qa-titre { font-size: 17px; font-weight: 700; }
.qa-desc { font-size: 13px; opacity: .78; }

.albums-grille {
  display: grid; grid-template-columns: 1fr; gap: 18px;
  margin-bottom: 18px;
}
@media (min-width: 760px) { .albums-grille { grid-template-columns: repeat(2, 1fr); } }
.album-carte { margin-bottom: 0; padding: 14px; }
.album-carte-ouverte { grid-column: 1 / -1; }
.album-carte h3 { margin-top: 12px; }
.album-couverture {
  position: relative; border-radius: 10px; overflow: hidden;
  aspect-ratio: 16 / 10; background: var(--noir-3);
}
.album-couverture img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.album-couverture-vide {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, var(--noir-2), var(--noir-3));
}
.album-gc {
  font-size: 64px; letter-spacing: 8px; line-height: 1;
  color: rgba(201, 162, 74, .32);
}
.album-badge-photos {
  position: absolute; top: 8px; right: 8px;
  background: rgba(0, 0, 0, .65); color: #fff;
  font-family: var(--police); font-size: 12px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
}
.album-badge-attente {
  position: absolute; left: 8px; bottom: 8px;
  background: var(--rouge); color: #fff;
  font-family: var(--police); font-size: 12px; font-weight: 700;
  padding: 5px 11px; border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .5);
}

/* Filtres par catégorie du portfolio (page d'accueil) */
.filtres-portfolio {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 14px;
}
.pastille-filtre {
  font-family: var(--police); font-size: 13px; font-weight: 700;
  padding: 8px 16px; border-radius: 999px; cursor: pointer;
  background: var(--noir-3); color: var(--texte-doux); border: 1px solid #3a3a40;
}
.pastille-filtre.actif {
  background: linear-gradient(180deg, var(--or-clair), var(--or));
  color: #191204; border-color: var(--or);
}
/* Créneau déjà pris (v25, #/reserver et #/gerer) : désactivé,
   grisé et pointillé — l'heure reste lisible avec « · Pris ». */
.pastille-filtre.prise {
  opacity: .45; cursor: not-allowed; border-style: dashed;
}

/* ---------- Portfolio v43 : la page en « univers » ----------
   Refonte approuvée par Gabriel sur aperçu (maquette validée
   visuellement, puis portée dans la vraie page) : hero
   vedette pleine largeur, puis une section par catégorie —
   titre doré + filet, phrase d'intro, vedette en grand avec
   sa légende-histoire, mosaïque aux ratios NATURELS (aucun
   rognage, règle de Gabriel). Préfixe .pfv- partout pour ne
   rien casser d'existant ; fonds alternés de la maquette
   (#0a0a0a / #101010). Les sections débordent du rembourrage
   de .contenu (marges négatives) pour respirer pleine
   largeur de la colonne. */
.pfv-hero {
  position: relative;
  height: 78vh; min-height: 480px;
  overflow: hidden;
  margin: 0 -16px;
}
.pfv-hero-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 30%;
  display: block; cursor: zoom-in;
}
.pfv-hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(5,5,5,.88) 0%, rgba(5,5,5,.35) 38%, rgba(5,5,5,0) 62%);
}
/* Bureau seulement : certaines photos portent le logo GC
   incrusté dans l'image (coin gauche, au centre) — sur grand
   écran il tombe sous le texte du hero. Un voile radial
   sombre, dans le même esprit que le dégradé du bas, le fond
   dans l'ombre. Sur mobile, le recadrage de la photo le
   laisse déjà hors champ : rien à faire. */
@media (min-width: 761px) {
  .pfv-hero::after {
    background:
      radial-gradient(ellipse 27% 33% at 10% 54%, rgba(5,5,5,1) 0%, rgba(5,5,5,1) 58%, rgba(5,5,5,.72) 80%, rgba(5,5,5,0) 100%),
      linear-gradient(to top, rgba(5,5,5,.88) 0%, rgba(5,5,5,.35) 38%, rgba(5,5,5,0) 62%);
  }
}
.pfv-hero-texte { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 0 6% 5.5vh; }
.pfv-hero-surtitre { font-size: 13px; font-weight: 700; letter-spacing: 6px; color: var(--or); text-transform: uppercase; margin-bottom: 14px; }
.pfv-hero-slogan { font-size: clamp(30px, 4.6vw, 58px); font-style: italic; font-weight: 700; color: var(--or-clair); line-height: 1.15; max-width: 16em; text-shadow: 0 2px 22px rgba(0,0,0,.6); }
.pfv-hero-ligne { margin-top: 16px; font-size: clamp(14px, 1.5vw, 17px); color: #efece4; max-width: 34em; text-shadow: 0 1px 10px rgba(0,0,0,.8); }
.pfv-entete-titre { color: var(--or-clair); font-size: 26px; font-weight: 700; }

.pfv-univers { background: #0a0a0a; margin: 0 -16px; padding: 56px 0 48px; }
.pfv-univers.alt { background: #101010; }
.pfv-univers + .pfv-univers { border-top: 1px solid #232323; }
.pfv-contenu { padding: 0 22px; }
.pfv-titre { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.pfv-titre h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; letter-spacing: 3px; text-transform: uppercase; color: var(--or); }
.pfv-filet { flex: 1; height: 1px; min-width: 60px; background: linear-gradient(90deg, var(--or), transparent); opacity: .55; transform: translateY(-6px); }
.pfv-intro { margin-top: 12px; font-style: italic; font-size: clamp(16px, 1.8vw, 19px); color: var(--texte); max-width: 44em; line-height: 1.5; }
.pfv-corps { margin-top: 30px; }
.pfv-vedette { margin: 0; }
.pfv-vedette img { width: 100%; height: auto; display: block; border-radius: 4px; cursor: zoom-in; }
.pfv-histoire { margin-top: 10px; font-style: italic; font-size: 15px; color: var(--texte-doux); line-height: 1.45; }
.pfv-histoire::before { content: '— '; color: var(--or); }
.pfv-mosaique { column-gap: 14px; margin-top: 14px; }
.pfv-mosaique.cols-3 { column-count: 3; }
.pfv-mosaique.cols-2 { column-count: 2; }
.pfv-tuile { margin: 0 0 14px; break-inside: avoid; }
.pfv-tuile img { width: 100%; height: auto; display: block; border-radius: 4px; cursor: zoom-in; }
/* Vedette portrait : panneau latéral — la vedette à gauche
   (5/12), la mosaïque à droite en 2 colonnes. */
.pfv-corps.portrait { display: grid; grid-template-columns: 5fr 7fr; gap: 20px; align-items: start; }
.pfv-corps.portrait .pfv-mosaique { margin-top: 0; column-count: 2; }
/* Section à une seule photo, vedette portrait (v50 —
   « Couple et amis » n'a qu'une photo, verticale) : sans
   mosaïque, la grille 5/7 du panneau latéral laisserait une
   colonne vide à droite. Pas de grille ici : la vedette
   garde une largeur contenue, bien cadrée. */
.pfv-corps.seul.portrait { display: block; }
.pfv-corps.seul.portrait .pfv-vedette { max-width: 560px; }
/* Section à 2 photos : duo éditorial — la colonne de la
   vedette est la plus large si elle est paysage (7/12),
   la plus étroite si elle est portrait (5/12). */
.pfv-corps.duo { display: grid; grid-template-columns: 7fr 5fr; gap: 20px; align-items: start; }
.pfv-corps.duo.portrait { grid-template-columns: 5fr 7fr; }
.pfv-corps.duo .pfv-mosaique { margin-top: 0; column-count: 1; }
@media (max-width: 760px) {
  .pfv-hero { height: 72vh; min-height: 420px; }
  .pfv-hero-img { object-position: 50% 28%; }
  .pfv-hero-texte { padding: 0 20px 4.5vh; }
  .pfv-univers { padding: 42px 0 36px; }
  .pfv-contenu { padding: 0 14px; }
  .pfv-corps.portrait, .pfv-corps.duo { grid-template-columns: 1fr; }
  .pfv-corps.portrait .pfv-mosaique, .pfv-corps.duo .pfv-mosaique { margin-top: 14px; }
  .pfv-mosaique { column-count: 2; }
}

/* Sélecteurs (admin) : même look que les champs */
select {
  padding: 8px 10px; border-radius: 8px; border: 1px solid #3a3a40;
  background: var(--noir-3); color: var(--texte); font-size: 14px;
  font-family: var(--police);
  max-width: 100%;
}

/* v46 : champ libre de catégorie par photo (admin) — même look
   et largeur comparable à l'ancien <select> fermé qu'il remplace.
   v47 : le champ légende éditable partage le même look, un peu
   plus large (c'est le nom de la photo, il peut être long). */
input[type="text"].pf-cat-input,
input[type="text"].pf-legende-input {
  width: 210px; max-width: 100%;
  padding: 8px 10px; border-radius: 8px; border: 1px solid #3a3a40;
  background: var(--noir-3); color: var(--texte); font-size: 14px;
  font-family: var(--police);
}
input[type="text"].pf-legende-input { width: 300px; }
/* v54 : sur téléphone, les champs légende / catégorie de la
   liste admin passent sous leur étiquette, en pleine largeur —
   à 300 px / 210 px en ligne avec le libellé, ils dépassaient
   de l'écran (repro v54 : débordement horizontal à 390 px). */
@media (max-width: 760px) {
  input[type="text"].pf-cat-input,
  input[type="text"].pf-legende-input {
    display: block; width: 100%; margin-top: 4px;
  }
}

/* ---------- Admin v16 : barre latérale + activité récente ----------
   Desktop (≥1024 px) : deux colonnes, barre fixe à gauche avec
   le logo blanc réduit et une navigation qui défile vers les
   blocs du tableau de bord. Mobile : la barre devient une
   rangée horizontale défilante de pastilles au-dessus du
   contenu (pas de menu hamburger). */
.contenu-admin { max-width: 1280px; }
.admin-layout { display: block; }
.admin-barre {
  background: var(--noir-2); border: 1px solid #2b2b30; border-radius: var(--rayon);
  padding: 14px; margin-bottom: 18px;
}
.admin-logo { height: 64px; margin-bottom: 12px; }
.admin-nav { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.admin-nav-item {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px;
  background: var(--noir-3); color: var(--texte);
  border: 1px solid #3a3a40; border-radius: 999px; padding: 10px 14px;
  font-family: var(--police);
  font-size: 14px; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: filter .2s ease;
}
.admin-nav-item:hover { filter: brightness(1.22); }
.nav-badge {
  background: var(--rouge); color: #fff;
  font-size: 11px; font-weight: 700; line-height: 1;
  min-width: 20px; text-align: center; padding: 4px 6px; border-radius: 999px;
}
@media (min-width: 1024px) {
  .admin-layout { display: grid; grid-template-columns: 248px minmax(0, 1fr); gap: 20px; align-items: start; }
  .admin-barre { position: sticky; top: 16px; margin-bottom: 0; }
  .admin-nav { flex-direction: column; overflow: visible; padding-bottom: 0; }
  .admin-nav-item { width: 100%; border-radius: 10px; }
  .admin-nav-item .nav-badge { margin-left: auto; }
}
.activite-icone { font-size: 20px; line-height: 1.3; flex: none; }
#section-ensemble, #section-activite, #section-albums, #section-demandes,
#section-dispo, #section-portfolio, #carte-creer-album, #section-spots { scroll-margin-top: 14px; }
.seance-refusee { opacity: .55; }

/* ---------- Spots photo (v24 — admin seulement) ----------
   Cartes de la section « Mes spots photo » : repère stylisé
   quand il n'y a pas de photo d'exemple (mêmes dimensions que
   .ligne-item .mini), notes affichées au complet, retours de
   ligne respectés. */
.spot-repere {
  width: 64px; height: 80px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--noir-3); border: 1px solid #3a3a40; border-radius: 8px;
  font-size: 26px;
}
.spot-notes { white-space: pre-line; margin-top: 4px; }

/* ---------- Calendriers (réservation clients + disponibilités admin) ---------- */
.cal-nav { display: flex; align-items: center; justify-content: space-between; margin: 14px 0 10px; }
.cal-nav .btn { margin: 0; padding: 8px 16px; }
.cal-entetes, .cal-grille { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-entetes { margin-bottom: 6px; }
.cal-entete {
  text-align: center;
  font-family: var(--police); font-size: 12px; font-weight: 700;
  color: var(--texte-doux);
}
.cal-jour {
  padding: 10px 0; text-align: center; border-radius: 10px;
  border: 1px solid #3a3a40; background: var(--noir-3); color: var(--texte);
  font-family: var(--police); font-size: 14px; cursor: pointer;
  transition: filter .15s ease;
}
.cal-jour:hover:not(:disabled) { filter: brightness(1.25); }
.cal-jour:disabled { opacity: .35; cursor: default; }
.cal-jour.aujourdhui { outline: 2px solid var(--or-clair); outline-offset: -2px; }
.cal-jour.bloque {
  background: repeating-linear-gradient(45deg, #33150f, #33150f 6px, #1e1e21 6px, #1e1e21 12px);
  color: #ff9d94; border-color: var(--rouge); opacity: 1;
}
.cal-jour.choisi {
  background: linear-gradient(180deg, var(--or-clair), var(--or));
  color: #191204; font-weight: 700; border-color: var(--or); opacity: 1;
}

/* Champs longs du formulaire de réservation */
textarea, select.select-plein {
  width: 100%;
  padding: 13px 14px; border-radius: 10px; border: 1px solid #3a3a40;
  background: var(--noir-3); color: var(--texte); font-size: 16px;
  font-family: var(--police);
}
textarea:focus, select.select-plein:focus { outline: 2px solid var(--or); border-color: var(--or); }

/* ---------- Animations (douces, noir/or — v13) ----------
   Apparition en douceur : les cartes et les tuiles photo
   entrent avec un fondu + un léger glissement vers le haut
   quand elles arrivent dans l'écran (IntersectionObserver
   dans app.js : .reveal → .visible). La visionneuse du
   portfolio fondu à chaque changement de photo. Rien de
   lourd, rien qui clignote. */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
@keyframes pf-fondu {
  from { opacity: 0; }
  to { opacity: 1; }
}
.visionneuse #pf-img.fondu { animation: pf-fondu .45s ease; }

/* Accessibilité : pas d'animations si l'appareil demande
   de réduire les mouvements. */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .tuile img.photo { transition: none; }
  .tuile:hover img.photo, .tuile:focus-visible img.photo { transform: none; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
  .qa-carte { transition: none; }
  .qa-carte:hover { transform: none; }
  .admin-nav-item { transition: none; }
  .pub-nav-item { transition: none; }
  .pub-social { transition: none; }
  .cal-jour { transition: none; }
  .visionneuse #pf-img.fondu { animation: none; }
}

/* ---------- Coquille publique (v17, thème or en v18) ----------
   Les vues publiques (accueil, portfolio, tarifs, réserver,
   porte d'album, espace client) vivent dans une coquille :
   sur desktop (≥1024 px), barre latérale FIXE à gauche
   (~250 px, fond légèrement différent, bordure droite fine) :
   logo blanc officiel en haut, navigation verticale (icône À
   GAUCHE du libellé ; l'entrée active est or avec une barre
   verticale or à son bord gauche), rangée sociale (Facebook,
   Instagram, TikTok, courriel) et slogan en bas.
   Sur mobile : pas de barre — l'en-tête habituel (logo centré)
   reste, suivi d'une rangée horizontale défilante des mêmes
   entrées en pastilles. L'admin garde SA barre (v16). */
.coquille { min-height: 100vh; }
.barre-pub { display: none; }
.pub-nav-item {
  position: relative;
  display: flex; align-items: center; gap: 10px;
  color: var(--texte); text-decoration: none;
  background: transparent; border: none; cursor: pointer;
  font-family: var(--police);
  font-size: 15px; text-align: left;
  transition: filter .2s ease, background .2s ease, color .2s ease;
}
.pub-nav-icone { font-size: 18px; line-height: 1; flex: none; }
.pub-nav-mobile {
  display: flex; gap: 8px; overflow-x: auto;
  max-width: 980px; margin: 0 auto;
  padding: 2px 16px 12px;
  scrollbar-width: none;
}
.pub-nav-mobile::-webkit-scrollbar { display: none; }
.pub-nav-mobile .pub-nav-item {
  flex: 0 0 auto; white-space: nowrap;
  background: var(--noir-3); border: 1px solid #3a3a40; border-radius: 999px;
  padding: 9px 14px;
}
.pub-nav-mobile .pub-nav-item.actif {
  background: linear-gradient(180deg, var(--or-clair), var(--or));
  color: #191204; border-color: var(--or); font-weight: 700;
}
@media (min-width: 1024px) {
  .barre-pub {
    display: flex; flex-direction: column;
    position: fixed; left: 0; top: 0; bottom: 0;
    width: 250px; z-index: 40;
    background: #101013;
    border-right: 1px solid #26262b;
    padding: 24px 14px 18px;
  }
  .coquille-corps { margin-left: 250px; }
  .coquille .entete { display: none; }
  .pub-nav-mobile { display: none; }
  .barre-pub-logo { display: block; width: 186px; max-width: 100%; height: auto; margin: 2px auto 0; }
  .barre-pub .pub-nav { display: flex; flex-direction: column; gap: 4px; margin-top: 26px; }
  .barre-pub .pub-nav-item { width: 100%; padding: 11px 12px 11px 16px; border-radius: 10px; }
  .barre-pub .pub-nav-item:hover { background: var(--noir-3); }
  .barre-pub .pub-nav-item.actif { color: var(--or); font-weight: 700; }
  .barre-pub .pub-nav-item.actif::before {
    content: ''; position: absolute; left: 0; top: 7px; bottom: 7px;
    width: 4px; border-radius: 2px; background: var(--or);
  }
  /* Section « Mes spécialités » (v29) : entre la navigation
     principale et le bas de la barre, séparée par un filet.
     Les entrées réutilisent .pub-nav-item (même texte doux,
     même survol que la navigation). */
  .barre-pub-spec { margin-top: 26px; border-top: 1px solid #26262b; padding-top: 18px; }
  .barre-pub-spec-titre {
    color: var(--or); font-size: 12.5px; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase;
    padding: 0 12px 0 16px; margin-bottom: 8px;
  }
  .barre-pub-spec-nav { display: flex; flex-direction: column; gap: 4px; }
  .barre-pub-bas { margin-top: auto; text-align: center; padding-top: 18px; }
}
.pub-sociaux { display: flex; gap: 10px; justify-content: center; margin-bottom: 12px; }
.pub-social {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid #3a3a40;
  display: flex; align-items: center; justify-content: center;
  color: #fff; text-decoration: none;
  transition: color .2s ease, border-color .2s ease;
}
.pub-social svg { width: 20px; height: 20px; display: block; }
.pub-social:hover { color: var(--or); border-color: var(--or); }
.barre-pub-slogan {
  color: var(--or-clair);
  font-size: 15px; line-height: 1.4;
  font-style: italic; font-weight: 600;
}
/* Signature personnelle tout en bas de la barre (v30) :
   bloc centré séparé par un filet — 📷 doré, phrase en
   italique dorée, nom complet en petites capitales espacées,
   ville en texte atténué. La ligne de localisation autonome
   de la v29 (.barre-pub-lieu) est absorbée ici : la ville
   n'apparaît qu'une fois dans la barre. */
.barre-pub-signature {
  border-top: 1px solid #26262b;
  margin-top: 18px; padding-top: 16px;
}
.barre-pub-sig-icone { font-size: 22px; line-height: 1; margin-bottom: 8px; }
.barre-pub-sig-phrase {
  color: var(--or-clair);
  font-size: 15.5px; line-height: 1.4;
  font-style: italic; font-weight: 600;
}
.barre-pub-sig-nom {
  color: var(--texte);
  font-size: 12.5px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  margin-top: 10px;
}
.barre-pub-sig-lieu {
  color: var(--texte-doux);
  font-size: 12.5px;
  margin-top: 6px;
}
/* Bande de badges sous le contenu des vues publiques (v17) :
   trois gages sobres en blanc — qualité, service, passion.
   Conservée en v18. */
.pied-badges {
  display: flex; flex-wrap: wrap; gap: 8px 30px; justify-content: center;
  max-width: 980px; margin: 0 auto;
  padding: 2px 16px 4px;
}
.pied-badge {
  font-family: var(--police);
  font-size: 13.5px; font-weight: 600; color: var(--texte);
  white-space: nowrap;
}
/* Ancre de défilement de la coquille (Espace clients) */
#acces-client { scroll-margin-top: 16px; }

.pied {
  text-align: center; padding: 26px 16px 40px; color: var(--texte-doux); font-size: 13px;
}
.pied a, a.lien-or { color: var(--or-clair); }
.cache { display: none !important; }
progress { width: 100%; height: 10px; accent-color: var(--or); }

@media print {
  body { display: none; } /* impression bloquée */
}

/* ============================================================
   V31 — les nouveautés du « tout au travail » de Gabriel
   (témoignages, tarifs texte, FAQ, Messenger, disponibilités,
   préparation, cartes-cadeaux, événements, bannière,
   avant/après, Instagram, secteurs). Même famille visuelle
   noir/or que le reste du site.
   ============================================================ */

/* ---------- Bannière promotionnelle gérable ----------
   Bande dorée mince tout en haut du contenu public (premier
   enfant de <main>, remplie par remplirBanniere() seulement
   si le document config/banniere est actif). Fermable pour
   la session (sessionStorage). */
.banniere-pub {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(180deg, var(--or-clair), var(--or));
  color: #191204;
  border-radius: 10px;
  padding: 9px 38px 9px 14px;
  margin-bottom: 16px;
  font-size: 14.5px; font-weight: 600; text-align: center;
  position: relative;
}
.banniere-pub-lien { color: #191204; font-weight: 800; white-space: nowrap; }
.banniere-pub-fermer {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%;
  border: none; background: rgba(0, 0, 0, .14); color: #191204;
  font-size: 18px; line-height: 1; cursor: pointer;
}

/* ---------- Bouton Messenger flottant ----------
   Pastille fixe bas-droite des pages publiques marketing
   (jamais dans l'admin ni sur les pages d'album client —
   géré par majBoutonMessenger dans app.js). Bleu Messenger
   #0084ff ; l'étiquette texte disparaît sur mobile (seuil
   760 px depuis la v48 — le même que le reste du site, pour
   que le bouton ne couvre pas le contenu en affichage étroit).
   Marge de sécurité (v48) : tant que le bouton fixe est
   présent (classe avec-messenger sur <body>), le pied de page
   gagne du rembourrage en bas — le dernier contenu peut
   défiler au-dessus du bouton au lieu de finir dessous
   (texte du pied, prix, cases du calendrier…). */
.btn-messenger {
  position: fixed; right: 16px; bottom: 16px; z-index: 55;
  display: inline-flex; align-items: center; gap: 9px;
  background: #0084ff; color: #fff; text-decoration: none;
  border-radius: 999px; padding: 13px 18px 13px 15px;
  font-family: var(--police); font-size: 15px; font-weight: 700;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .45);
}
.btn-messenger-icone { font-size: 19px; line-height: 1; }
body.avec-messenger .pied { padding-bottom: 96px; }
@media (max-width: 760px) {
  .btn-messenger { padding: 15px; border-radius: 50%; }
  .btn-messenger-texte { display: none; }
}

/* Bouton Ko-fi flottant (v63) : doré, empilé AU-DESSUS du
   bouton Messenger (même colonne à droite) — jamais sur la
   barre latérale bureau (250 px à gauche) ni sur le bouton
   Messenger. Sur mobile : rond, icône seule, comme lui. */
.btn-kofi {
  position: fixed; right: 16px; bottom: 86px; z-index: 55;
  display: inline-flex; align-items: center; gap: 9px;
  background: linear-gradient(180deg, var(--or-clair), var(--or));
  color: #191204; text-decoration: none;
  border-radius: 999px; padding: 13px 18px 13px 15px;
  font-family: var(--police); font-size: 15px; font-weight: 700;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .45);
}
.btn-kofi-icone { font-size: 19px; line-height: 1; }
@media (max-width: 760px) {
  .btn-kofi { padding: 15px; border-radius: 50%; bottom: 84px; }
  .btn-kofi-texte { display: none; }
}

/* ---------- Témoignages (accueil) ---------- */
.temoignages { margin-bottom: 18px; }
.temoignages-grille { display: grid; gap: 14px; }
@media (min-width: 760px) { .temoignages-grille { grid-template-columns: repeat(3, 1fr); } }
.temoignage-carte {
  background: var(--noir-2); border: 1px solid #2b2b30;
  border-radius: var(--rayon); padding: 20px 18px;
}
.etoiles { color: var(--or); font-size: 18px; letter-spacing: 3px; margin-bottom: 10px; }
.etoiles-vides { color: #4a4436; }
.temoignage-texte { line-height: 1.55; font-style: italic; }
.temoignage-signature { color: var(--or-clair); font-weight: 600; margin-top: 12px; font-size: 14px; }

/* ---------- Prochaines disponibilités (accueil) ---------- */
.dispos { margin-bottom: 18px; }
.dispo-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (min-width: 760px) { .dispo-grille { grid-template-columns: repeat(4, 1fr); } }
.dispo-carte {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  background: var(--noir-2); border: 1px solid #2b2b30;
  border-radius: var(--rayon); padding: 18px 12px;
  text-decoration: none; color: var(--texte); text-align: center;
  transition: filter .2s ease, transform .2s ease;
}
a.dispo-carte:hover { filter: brightness(1.15); transform: translateY(-2px); }
.dispo-date { font-weight: 700; font-size: 15.5px; line-height: 1.3; }
.dispo-pastille {
  font-family: var(--police); font-size: 12px; font-weight: 700;
  padding: 4px 11px; border-radius: 999px;
  color: #9be3a8; border: 1px solid #9be3a8;
}
.dispo-pastille.complet { color: #b9b3c9; border-color: #555; }

/* ---------- FAQ (accordéon) ---------- */
.faq-item { border-bottom: 1px solid #2b2b30; }
.faq-item:last-child { border-bottom: none; }
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  background: transparent; border: none; cursor: pointer;
  color: var(--texte); font-family: var(--police);
  font-size: 16px; font-weight: 600; text-align: left;
  padding: 16px 4px;
}
.faq-question:hover { color: var(--or-clair); }
.faq-fleche { color: var(--or); font-size: 15px; transition: transform .25s ease; flex: none; }
.faq-question.ouverte .faq-fleche { transform: rotate(180deg); }
.faq-reponse { padding: 0 4px 18px; }
.faq-reponse p { color: var(--texte-doux); line-height: 1.6; }

/* ---------- Tarifs en texte ---------- */
.tarifs-grille { display: grid; gap: 14px; margin-top: 6px; }
@media (min-width: 760px) { .tarifs-grille { grid-template-columns: repeat(3, 1fr); } }
.tarif-carte {
  background: var(--noir-3); border: 1px solid #2b2b30;
  border-radius: var(--rayon); padding: 18px 16px; text-align: left;
}
.tarif-carte h3 { color: var(--or-clair); font-size: 17px; margin-bottom: 10px; }
.tarif-ligne { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px dashed #33333a; }
.tarif-ligne:last-child { border-bottom: none; }
.tarif-detail { color: var(--texte-doux); font-size: 13.5px; }
.tarif-prix { color: var(--texte); font-weight: 700; white-space: nowrap; }

/* ---------- Guide de préparation ---------- */
.prep-liste { list-style: none; text-align: left; }
.prep-liste li {
  position: relative; padding-left: 20px; margin-top: 8px;
  color: var(--texte-doux); line-height: 1.5; font-size: 14.5px;
}
.prep-liste li::before {
  content: '•'; position: absolute; left: 4px; color: var(--or); font-weight: 700;
}

/* ---------- Avant / Après (curseur de comparaison) ---------- */
.avant-apres { margin-bottom: 18px; }
.aa-figure { margin-bottom: 20px; }
.aa-figure:last-child { margin-bottom: 0; }
.aa {
  position: relative; border-radius: var(--rayon); overflow: hidden;
  background: var(--noir-3);
  border: 1px solid #2b2b30;
  /* v35 : plus de format forcé — le cadre prend le format naturel
     de la photo (voir .aa-img), centré et plafonné en largeur pour
     que les portraits ne deviennent pas géants. */
  max-width: 880px; margin: 0 auto;
}
.aa-img {
  /* L'image « avant » (couche du dessous) définit la hauteur du
     cadre : photo entière, jamais recadrée, portrait ou paysage. */
  position: relative; width: 100%; height: auto;
  display: block; pointer-events: none;
}
.aa-img.aa-dessus {
  /* La couche « après » recouvre exactement le cadre. Avant et
     après sont la même photo (mêmes dimensions) : le cover ne
     recadre rien, il assure juste le remplissage parfait. */
  position: absolute; inset: 0; height: 100%;
  object-fit: cover;
}
.aa-dessus { clip-path: inset(0 0 0 var(--pos, 50%)); }
.aa-ligne {
  position: absolute; top: 0; bottom: 0; left: var(--pos, 50%);
  width: 3px; margin-left: -1.5px; background: var(--or);
  box-shadow: 0 0 8px rgba(0, 0, 0, .6); pointer-events: none;
}
.aa-etiquette {
  position: absolute; top: 10px; z-index: 2;
  background: rgba(0, 0, 0, .65); color: #fff;
  font-family: var(--police); font-size: 12px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px; pointer-events: none;
}
.aa-etiquette.gauche { left: 10px; }
.aa-etiquette.droite { right: 10px; }
.aa-range {
  position: absolute; inset: 0; z-index: 3;
  width: 100%; height: 100%;
  opacity: 0; cursor: ew-resize; margin: 0;
  -webkit-appearance: none; appearance: none; background: transparent;
}

/* ---------- Instagram statique (accueil) ---------- */
.insta { margin-bottom: 18px; }
.insta-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.insta-tuile { border-radius: 10px; overflow: hidden; aspect-ratio: 1; display: block; background: var(--noir-3); }
.insta-tuile img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Admin : nouvelles sections (v31) ---------- */
#section-cadeaux, #section-temoignages, #section-avantapres, #section-banniere, #section-tarifs, #section-theme { scroll-margin-top: 14px; }
input[type="checkbox"].case-admin { width: auto; margin-right: 8px; accent-color: var(--or); }
.aa-mini-rangee { display: flex; gap: 8px; }
.aa-mini-rangee img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }

/* ---------- Admin : panneau Thème du site (v51) ----------
   Les couleurs des pastilles sont posées EN LIGNE par app.js
   (style="...") : l'admin reste en or classique, les
   pastilles doivent quand même montrer les VRAIES couleurs de
   chaque thème. La carte active est encadrée d'or. */
.theme-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.theme-carte {
  background: var(--noir-3); border: 2px solid #2b2b30; border-radius: 12px;
  padding: 10px; cursor: pointer; text-align: left;
  font-family: inherit; color: var(--texte); font-size: 14px;
}
.theme-carte.actif { border-color: var(--or); box-shadow: 0 0 0 2px rgba(201, 162, 74, .35); }
.theme-echantillon { display: block; background: #0a0a0b; border-radius: 8px; padding: 10px 12px; margin-bottom: 8px; }
.theme-ech-titre { display: block; font-weight: 800; font-size: 15px; line-height: 1.3; }
.theme-ech-barre { display: block; height: 5px; border-radius: 3px; margin: 7px 0; }
.theme-ech-texte { display: block; font-size: 12px; color: var(--texte-doux); text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.theme-nom { font-weight: 700; font-size: 14px; }
.theme-actif-badge { color: var(--or-clair); font-size: 12px; font-weight: 700; margin-top: 2px; }
.fond-choix { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.fond-option {
  background: var(--noir-3); border: 2px solid #2b2b30; border-radius: 12px;
  padding: 12px 16px; cursor: pointer; text-align: left;
  font-family: inherit; color: var(--texte); font-size: 14px; font-weight: 600;
}
.fond-option.actif { border-color: var(--or); box-shadow: 0 0 0 2px rgba(201, 162, 74, .35); }
.fond-option .doux { font-weight: 400; font-size: 12px; display: block; margin-top: 2px; }
.fond-couleur-rangee { display: flex; gap: 10px; align-items: center; margin-top: 10px; flex-wrap: wrap; }
input[type="color"].fond-couleur-pick {
  width: 54px; height: 42px; padding: 2px; border: 1px solid #3a3a40;
  border-radius: 8px; background: var(--noir-3); cursor: pointer;
}
.fond-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; margin-top: 10px; }
.fond-photo-carte {
  border: 2px solid #2b2b30; border-radius: 10px; overflow: hidden; cursor: pointer;
  background: var(--noir-3); padding: 0; font-family: inherit; text-align: left;
}
.fond-photo-carte img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.fond-photo-legende { font-size: 11px; padding: 6px 8px; color: var(--texte-doux); line-height: 1.35; }
.fond-photo-legende strong { color: var(--texte); font-weight: 600; }
.fond-photo-carte.choisi { border-color: var(--or); box-shadow: 0 0 0 2px rgba(201, 162, 74, .35); }
/* Import d'une photo de fond (v52) : aperçu de la photo qui
   vient d'être importée ou de celle déjà sauvegardée (« Ma
   photo importée ») — assez grand pour la reconnaître, sans
   écraser le panneau. */
.fond-upload-apercu { margin-top: 12px; }
.fond-upload-apercu-img { max-width: 260px; width: 100%; border-radius: 10px; border: 1px solid var(--noir-3); display: block; }
input[type="file"]#th-fond-upload-fichier { margin-top: 10px; }

/* ============ v60 ============ */
/* Approbation en lot (admin) : barre de boutons au-dessus des
   demandes en attente + cases à cocher sur chaque ligne. */
.lot-barre { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 12px 0 6px; }
.lot-barre .doux { flex-basis: 100%; }
input[type="checkbox"].case-lot { width: 20px; height: 20px; margin: 4px 10px 0 0; accent-color: var(--or); flex-shrink: 0; cursor: pointer; }
/* Petit bouton (le ✕ des lignes de distance). */
.btn-petit { padding: 8px 12px; font-size: 13px; }
/* Distances de déplacement (admin) : ville + km + ✕. */
.depl-ligne { display: grid; grid-template-columns: 1fr 92px 42px; gap: 8px; margin-bottom: 8px; align-items: center; }
/* Carte « Tes photos te plaisent ? » (album du client). */
.carte-avis { border: 1px solid var(--or); border-radius: var(--rayon); padding: 16px 18px; margin-top: 14px; background: var(--noir-2); }
.carte-avis h3 { color: var(--or-clair); margin-bottom: 6px; }
.etoiles-avis { color: var(--or-clair); font-size: 22px; letter-spacing: 4px; margin: 6px 0 10px; }
/* Calculateur de déplacement (page Tarifs). */
#calc-ville { width: 100%; }
.calc-resultat { margin-top: 14px; }
.calc-prix { font-size: 30px; font-weight: 700; color: var(--or-clair); margin: 4px 0; }
.calc-exemple { color: var(--or-clair); }
