/* Site de Tsanta Fiderana — partagé par le site public et l'espace d'édition.
   Style inspiré de hotel-maison-lovasoa.com (demande de l'utilisateur,
   2026-09-28) : titres serif italiques (Vollkorn), texte léger (Nunito Sans),
   mauve pour l'action, brun pour les titres, bandes couleur sable, angles
   droits, bandeau photo à vague. Seuls les codes visuels sont repris — ni
   logo, ni texte, ni image de ce site. Polices hébergées ici (src/polices/). */

@font-face { font-family: "Vollkorn"; font-style: italic; font-weight: 500; font-display: swap;
  src: url("polices/vollkorn-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Vollkorn"; font-style: italic; font-weight: 700; font-display: swap;
  src: url("polices/vollkorn-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("polices/nunito-sans-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-style: italic; font-weight: 300; font-display: swap;
  src: url("polices/nunito-sans-latin-300-italic.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("polices/nunito-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("polices/nunito-sans-latin-700-normal.woff2") format("woff2"); }

:root {
  --fond: #ffffff;
  --sable: #f4e7d4;
  --surface: #ffffff;
  --texte: #2d3748;
  --titre: #1a202c;
  --doux: #6b6358;
  --trait: #e6dccd;
  --mauve: #b668a8;
  --mauve-fonce: #9a4f8c;
  --brun: #765539;
  --brun-clair: #efe3d2;
  --bleu: #2b6cb0;
  --danger: #b42318;
  --ok: #117a4a;
  --rayon: 0;
  --ombre: 0 2px 14px rgba(26, 32, 44, .08);
  --serif: "Vollkorn", Georgia, "Times New Roman", serif;
  --sans: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --fond: #1b1714; --sable: #28211b; --surface: #221c17; --texte: #ece4da; --titre: #f7f0e7;
    --doux: #b9ab9b; --trait: #3a3027; --mauve: #d38bc6; --mauve-fonce: #e3a5d8;
    --brun: #d9a57c; --brun-clair: #33281f; --bleu: #7fb0e8; --danger: #f07166; --ok: #4cc38a;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
/* Sans cette règle, un `display` de classe (.btn…) l'emporte sur l'attribut hidden. */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--fond); color: var(--texte); font: 300 18px/1.7 var(--sans); }
body.fige { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--mauve-fonce); }
strong { font-weight: 700; }
h1, h2, h3 { font-family: var(--serif); font-style: italic; font-weight: 500; line-height: 1.2; color: var(--titre); }

.conteneur { max-width: 68rem; margin: 0 auto; padding: 0 1rem; }
.bande-sable { background: var(--sable); }

/* ── En-tête : blanc, marque à gauche, bouton « Menu » mauve sur téléphone ── */
.entete { position: sticky; top: 0; z-index: 30; background: var(--fond); box-shadow: 0 1px 0 var(--trait); }
.nav { max-width: 72rem; margin: 0 auto; padding: .75rem 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.marque { font: italic 500 1.55rem/1 var(--serif); color: var(--brun); text-decoration: none; white-space: nowrap; }
.marque span { color: var(--mauve); }
.liens { display: flex; gap: 1.6rem; }
.liens a { color: var(--texte); text-decoration: none; font-size: 1rem; font-weight: 400; padding: .25rem 0; border-bottom: 2px solid transparent; }
.liens a:hover { color: var(--mauve); border-bottom-color: var(--mauve); }
.bouton-menu { display: none; align-items: center; gap: .5rem; background: var(--mauve); color: #fff; border: 0; font: 400 1.05rem var(--sans); padding: .45rem .9rem; cursor: pointer; }
.bouton-menu svg { width: 1.1rem; height: 1rem; stroke: currentColor; stroke-width: 2.2; fill: none; }

main { display: block; }

/* ── Bandeau d'accueil ── */
.couverture { position: relative; min-height: min(82vh, 40rem); display: grid; place-items: center; overflow: hidden; color: #fff; text-align: center; }
.couverture-fond { position: absolute; inset: 0; background: #3b2f25; overflow: hidden; }
/* Diaporama : fondu 0,5 s ; la diapo active zoome lentement (1 → 1,3 en 10 s).
   En sortie, le zoom est remis à 1 APRÈS le fondu (délai 0,5 s), sinon on
   verrait l'image rétrécir d'un coup pendant qu'elle disparaît. */
.diapo { position: absolute; inset: 0; background: center / cover no-repeat; opacity: 0; transform: scale(1);
  transition: opacity .5s ease, transform 0s linear .5s; }
.diapo.active { opacity: 1; transform: scale(1.3); transition: opacity .5s ease, transform 10s linear; }
@media (prefers-reduced-motion: reduce) {
  .diapo, .diapo.active { transform: none !important; transition: opacity .5s ease !important; }
}
.couverture-fond::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,14,10,.35), rgba(20,14,10,.55)); }
.couverture-texte { position: relative; z-index: 1; padding: 4rem 1.2rem 6rem; max-width: 52rem; }
.couverture-surtitre { font-size: .95rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 400; margin: 0 0 1rem; opacity: .92; }
.couverture h1 { color: #fff; font-size: clamp(2.3rem, 6vw, 3.6rem); margin: 0; text-shadow: 0 2px 18px rgba(0,0,0,.35); overflow-wrap: anywhere; }
.couverture h1 .famille { display: block; font-family: var(--sans); font-style: normal; font-weight: 300; font-size: .38em; letter-spacing: .22em; margin-bottom: .5rem; }
.couverture-sous-titre { font: italic 500 clamp(1.2rem, 2.6vw, 1.6rem) var(--serif); margin: .6rem 0 1.8rem; }
.bouton { display: inline-block; background: var(--mauve); color: #fff; text-decoration: none; font: 400 1.15rem var(--sans); padding: .6rem 1.4rem; transition: background .2s; }
.bouton:hover { background: var(--mauve-fonce); }
.vague { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 4.5rem; z-index: 1; }
.vague path { fill: var(--fond); }

/* ── Accroche centrée + ornement ── */
.accroche { text-align: center; padding: 3.2rem 1rem 2.4rem; }
.accroche h2 { color: var(--brun); font-size: clamp(1.5rem, 3.2vw, 2rem); margin: 0 0 .9rem; }
.ornement { width: 7.5rem; height: 1rem; fill: none; stroke: var(--brun); stroke-width: 1.4; opacity: .75; }
.ornement circle { fill: var(--brun); stroke: none; }

/* ── Présentation : photo pleine hauteur / texte centré ── */
.partage { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; min-height: 34rem; }
.partage-photo img { width: 100%; height: 100%; min-height: 26rem; object-fit: cover; }
.partage-texte { padding: 3rem clamp(1.2rem, 5vw, 4.5rem); text-align: center; display: flex; flex-direction: column; justify-content: center; }
.partage-texte h3 { font-size: 2rem; color: var(--brun); margin: 0 0 .3rem; }
.localite { color: var(--doux); margin: 0; font-style: italic; }
.bio { margin-top: 1.1rem; }
.bio p { margin: 0 0 .9rem; }
.chiffres { display: flex; justify-content: center; gap: .6rem; flex-wrap: wrap; margin-top: 1.4rem; }
.chiffre { border: 1px solid var(--trait); padding: .55rem 1rem; min-width: 5.8rem; background: var(--surface); }
.chiffre strong { display: block; font: italic 700 1.6rem/1.2 var(--serif); color: var(--mauve); }
.chiffre span { color: var(--doux); font-size: .85rem; }

/* ── Bandes de contenu ── */
.bloc { padding: 4rem 0; }
.titre-section { text-align: center; color: var(--brun); font-size: clamp(1.7rem, 3.5vw, 2.3rem); margin: 0 0 .4rem; }
.titre-section::after { content: ""; display: block; width: 7.5rem; height: 1rem; margin: .7rem auto 0;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 16'%3E%3Cg fill='none' stroke='%23765539' stroke-width='1.4' opacity='.75'%3E%3Cpath d='M2 8h40M78 8h40'/%3E%3Cpath d='M46 8c4-6 10-6 14 0s10 6 14 0'/%3E%3C/g%3E%3Ccircle cx='60' cy='8' r='2' fill='%23765539'/%3E%3C/svg%3E"); }
.chapo { color: var(--doux); margin: 0 auto 2rem; text-align: center; max-width: 40rem; font-style: italic; }
.surtitre { color: var(--mauve-fonce); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 .5rem; text-align: center; }
.vide { color: var(--doux); font-style: italic; list-style: none; text-align: center; }
.alerte { background: #fdecea; color: var(--danger); padding: .8rem 1rem; margin: 1rem; }

/* ── Le RGE en bref ── */
.rge h3 { font-size: 1.55rem; color: var(--brun); margin: 2.6rem 0 .7rem; }
.rge p { max-width: 46rem; }
.rge .chapo { max-width: 40rem; }
.rge-intro { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; align-items: center; }
.rge-intro h3 { margin-top: 0; }
.rge-role { grid-template-columns: 1fr 1.4fr; margin-top: 2.8rem; }
.rge-photo { margin: 0; }
.rge-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--ombre); }
.rge-photo figcaption, .illustration figcaption { color: var(--doux); font-size: .88rem; font-style: italic; margin-top: .5rem; }

.illustration { margin: 1.6rem 0 0; background: var(--surface); border: 1px solid var(--trait); padding: 1.3rem; }
.illustration svg { width: 100%; height: auto; display: block; }
.svg-etape rect { fill: var(--sable); stroke: var(--trait); stroke-width: 1.5; }
.svg-cle rect { fill: var(--mauve); stroke: var(--mauve); }
.svg-etape text { fill: var(--titre); font: 600 17px var(--sans); text-anchor: middle; }
.svg-cle text { fill: #fff; }
.svg-etape text.svg-petit { font-weight: 400; font-size: 14px; }
.svg-liens line { stroke: var(--brun); stroke-width: 2; }
.svg-fleche { fill: var(--brun); }

.mesures { display: grid; grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr)); gap: .8rem; }
.mesure { background: var(--surface); border: 1px solid var(--trait); padding: 1.1rem; display: flex; flex-direction: column; gap: .2rem; text-align: center; align-items: center; }
.mesure svg { width: 2.4rem; height: 2.4rem; fill: none; stroke: var(--mauve); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: .4rem; }
.mesure strong { font: italic 700 1.1rem var(--serif); color: var(--brun); }
.mesure span { color: var(--doux); font-size: .88rem; line-height: 1.4; }

.calendrier { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); }
.calendrier li { position: relative; padding: 1.6rem .7rem 0 0; display: flex; flex-direction: column; gap: .15rem; border-top: 3px solid var(--trait); }
.calendrier li::before { content: ""; position: absolute; top: -9px; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--sable); border: 3px solid var(--brun); }
.calendrier li.actuel { border-top-color: var(--mauve); }
.calendrier li.actuel::before { background: var(--mauve); border-color: var(--mauve); box-shadow: 0 0 0 5px rgba(182,104,168,.25); }
.calendrier .annee { color: var(--mauve-fonce); font-weight: 700; font-size: .85rem; }
.calendrier strong { font-size: 1rem; }
.calendrier span:last-child { color: var(--doux); font-size: .85rem; line-height: 1.4; }

.regions { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.regions-titre { font-weight: 700; margin: 0 0 .6rem; }
.puces { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.puces li { background: var(--surface); border: 1px solid var(--trait); padding: .3rem .85rem; font-size: .92rem; }
.puces-fortes li { background: var(--mauve); border-color: var(--mauve); color: #fff; }

.partenaires { padding-left: 1.2rem; max-width: 46rem; }
.partenaires li { margin-bottom: .35rem; }
.sources { margin-top: 2.2rem; background: var(--surface); border: 1px solid var(--trait); padding: .8rem 1.1rem; font-size: .9rem; }
.sources summary { cursor: pointer; font-weight: 700; }
.sources p { color: var(--doux); }

/* ── Journal des missions ──
   Chronologique (la plus ancienne d'abord), chaque mission mise en page comme
   « Le RGE 2026 en bref » : texte / photo légendée, côtés alternés. */
.frise { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-direction: column; gap: 3rem; }
.mission { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; align-items: center; }
.mission.inverse { grid-template-columns: 1fr 1.4fr; }
.mission.inverse .mission-texte-bloc { order: 2; }
.mission.sans-photo { grid-template-columns: 1fr; max-width: 46rem; }
.mission-texte-bloc { min-width: 0; }
.mission-date { color: var(--mauve-fonce); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 .35rem; }
.mission-texte-bloc h3 { margin: 0 0 .35rem; font-size: 1.55rem; color: var(--brun); }
.mission-lieu { color: var(--doux); margin: 0 0 .6rem; font-size: .95rem; }
.mission-texte { white-space: pre-line; margin: 0; overflow-wrap: anywhere; }
.mission-figure { margin: 0; min-width: 0; }
.mission-photo { display: block; width: 100%; padding: 0; border: 0; background: var(--brun-clair); cursor: zoom-in; overflow: hidden; }
.mission-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--ombre); transition: transform .5s ease; }
.mission-photo:hover img, .mission-photo:focus-visible img { transform: scale(1.04); }
.mission-photo:focus-visible { outline: 3px solid var(--mauve); outline-offset: 2px; }
.mission-figure figcaption { color: var(--doux); font-size: .88rem; font-style: italic; margin-top: .5rem; }
.mission-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(5.5rem, 1fr)); gap: .4rem; margin-top: .6rem; }

/* ── Galerie ── */
.grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: .5rem; }
.vignette { position: relative; padding: 0; border: 0; overflow: hidden; cursor: zoom-in; background: var(--brun-clair); aspect-ratio: 1; }
.vignette img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .3s; }
.vignette:hover img, .vignette:focus-visible img { transform: scale(1.05); filter: brightness(1.05); }
.vignette:focus-visible { outline: 3px solid var(--mauve); outline-offset: 2px; }

/* ── Rapports ── */
.cartes { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 1rem; }
.carte-rapport { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--trait); color: inherit; text-decoration: none; box-shadow: var(--ombre); transition: transform .2s; }
.carte-rapport:hover { transform: translateY(-3px); }
.carte-rapport img, .icone-pdf { height: 10rem; width: 100%; object-fit: cover; }
.icone-pdf { display: grid; place-items: center; background: var(--sable); color: var(--brun); font: italic 700 2.2rem var(--serif); }
.carte-texte { padding: .9rem 1.1rem; }
.carte-texte h3 { margin: 0 0 .2rem; font-size: 1.2rem; color: var(--brun); }
.carte-texte p { margin: .2rem 0 0; font-size: .92rem; color: var(--doux); }

.pied { padding: 2rem 1rem 2.5rem; color: var(--doux); font-size: .9rem; text-align: center; }
.pied a { color: var(--mauve-fonce); }

/* ── Visionneuse ── */
.visionneuse { position: fixed; inset: 0; z-index: 50; background: rgba(15,10,6,.93); display: flex; align-items: center; justify-content: center; }
.visionneuse figure { margin: 0; max-width: 92vw; max-height: 88vh; }
.visionneuse img { max-width: 92vw; max-height: 80vh; object-fit: contain; }
.visionneuse figcaption { color: #f1e9e0; text-align: center; margin-top: .6rem; font-style: italic; }
.visionneuse button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 2.8rem; height: 2.8rem; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.visionneuse button:hover { background: var(--mauve); }
.visionneuse .fermer { top: 1rem; right: 1rem; }
.visionneuse .prec { left: 1rem; top: 50%; transform: translateY(-50%); }
.visionneuse .suiv { right: 1rem; top: 50%; transform: translateY(-50%); }

.bandeau-apercu { position: sticky; top: 0; z-index: 40; background: #b45309; color: #fff; text-align: center; padding: .55rem 1rem; font-size: .92rem; font-weight: 700; }
.bandeau-apercu a { color: #fff; margin-left: .4rem; }
.bandeau-apercu ~ .entete { top: 2.5rem; }
.apercu-cible { outline: 3px dashed #b45309; outline-offset: 10px; }

/* ── Tablette et téléphone ── */
@media (max-width: 900px) {
  .bouton-menu { display: inline-flex; }
  .liens { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--fond); box-shadow: 0 8px 20px rgba(0,0,0,.08); }
  .liens.ouvert { display: flex; }
  .liens a { padding: .85rem 1.2rem; border-bottom: 1px solid var(--trait); }
  .partage { grid-template-columns: 1fr; }
  .partage-photo img { min-height: 0; aspect-ratio: 4/5; max-height: 34rem; }
}
@media (max-width: 820px) {
  .rge-intro, .rge-role, .regions { grid-template-columns: 1fr; gap: 1.2rem; }
  .mission, .mission.inverse { grid-template-columns: 1fr; gap: 1rem; }
  .mission.inverse .mission-texte-bloc { order: 0; }
  .rge-role .rge-photo { order: 2; }
  .calendrier { grid-template-columns: 1fr; border-left: 3px solid var(--trait); margin-left: .4rem; }
  .calendrier li { border-top: 0; padding: 0 0 1.1rem 1.4rem; }
  .calendrier li::before { top: .2rem; left: -9px; }
  .calendrier li.actuel { border-top: 0; }
  .illustration { overflow-x: auto; }
  .illustration svg { min-width: 38rem; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .bloc { padding: 3rem 0; }
  .vague { height: 2.6rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ══ Espace d'édition ══ (mêmes couleurs et polices, mise en page sobre) */
.admin { max-width: 60rem; margin: 0 auto; padding: 1.5rem 1rem 3rem; font-size: 16px; }
.admin-tete { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.admin-tete h1 { margin: 0; font-size: 1.8rem; color: var(--brun); }
.carte { background: var(--surface); border: 1px solid var(--trait); padding: 1.3rem; box-shadow: var(--ombre); margin-bottom: 1rem; }
.carte h2 { color: var(--brun); }
.connexion { max-width: 24rem; margin: 4rem auto; }
.onglets { display: flex; gap: .3rem; flex-wrap: wrap; border-bottom: 1px solid var(--trait); margin-bottom: 1rem; }
.onglets button { background: none; border: 0; border-bottom: 2px solid transparent; padding: .6rem .9rem; font: inherit; color: var(--doux); cursor: pointer; }
.onglets button[aria-selected="true"] { color: var(--mauve-fonce); border-bottom-color: var(--mauve); font-weight: 700; }
label { display: block; font-weight: 700; font-size: .9rem; margin: .8rem 0 .25rem; }
input, textarea, select { width: 100%; font: inherit; font-weight: 400; padding: .55rem .7rem; border: 1px solid var(--trait); background: var(--fond); color: var(--texte); }
textarea { min-height: 7rem; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--mauve); outline-offset: 1px; }
.rangee { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.btn { display: inline-flex; align-items: center; gap: .4rem; font: 700 .92rem var(--sans); padding: .55rem 1rem; border: 1px solid transparent; cursor: pointer; background: var(--mauve); color: #fff; margin-top: 1rem; text-decoration: none; }
.btn:hover { background: var(--mauve-fonce); }
.btn.second { background: transparent; color: var(--texte); border-color: var(--trait); }
.btn.second:hover { border-color: var(--mauve); color: var(--mauve-fonce); }
.btn.danger { background: transparent; color: var(--danger); border-color: currentColor; }
.btn.petit { padding: .3rem .65rem; font-size: .82rem; margin-top: 0; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.message { margin: .8rem 0 0; font-size: .92rem; }
.message.erreur { color: var(--danger); }
.message.ok { color: var(--ok); }
.ligne { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .7rem 0; border-top: 1px solid var(--trait); }
.ligne:first-child { border-top: 0; }
.ligne .infos { min-width: 0; }
.ligne .infos strong { display: block; overflow-wrap: anywhere; }
.ligne .infos span { color: var(--doux); font-size: .88rem; }
.ligne .actions { display: flex; gap: .4rem; flex-shrink: 0; }
.photos-admin { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: .8rem; }
.photo-admin { border: 1px solid var(--trait); overflow: hidden; background: var(--fond); }
.photo-admin img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.photo-admin .zone { padding: .5rem; }
.photo-admin input, .photo-admin select { font-size: .85rem; padding: .35rem .5rem; margin-bottom: .35rem; }
.choix-diapos { border: 1px solid var(--trait); padding: .6rem .9rem .9rem; margin: 1rem 0 0; }
.choix-diapos legend { font-weight: 700; font-size: .9rem; padding: 0 .3rem; }
#p-couverture { display: grid; grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr)); gap: .6rem; }
.diapo-choix { position: relative; margin: 0; font-weight: 400; font-size: .8rem; cursor: pointer; border: 2px solid transparent; }
.diapo-choix:has(input:checked) { border-color: var(--mauve); }
.diapo-choix input { position: absolute; top: .4rem; left: .4rem; width: 1.1rem; height: 1.1rem; accent-color: var(--mauve); }
.diapo-choix img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.diapo-choix span { display: block; padding: .2rem .3rem; color: var(--doux); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.requis { color: var(--danger); }
.manque { color: #b45309; font-weight: 700; font-size: .82rem; margin: 0 0 .35rem; }
.photo-admin.sans-date { border-color: #d97706; box-shadow: 0 0 0 2px rgba(217,119,6,.25); }
.ligne.sans-date { background: color-mix(in srgb, #f59e0b 8%, transparent); }
.rapport-edition { display: grid; grid-template-columns: 1fr 10rem; gap: .4rem; flex: 1; }
.rapport-edition > span { grid-column: 1 / -1; }
.alerte-dates { background: color-mix(in srgb, #f59e0b 14%, var(--surface)); border: 1px solid #d97706; color: #7c3d06; padding: .6rem .9rem; margin: .5rem 0 0; font-size: .92rem; }
.date-photo { position: absolute; left: 0; bottom: 0; background: rgba(20,14,10,.6); color: #fff; font-size: .75rem; padding: .15rem .5rem; }
.aide { color: var(--doux); font-size: .85rem; margin: .3rem 0 0; }
/* Publication par élément : état et boutons sur chaque ligne (07/10). */
.etat-pub { display: inline-block; font: 700 .72rem var(--sans); letter-spacing: .03em; padding: .12rem .5rem; border-radius: 999px; vertical-align: middle; white-space: nowrap; }
.etat-publie { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.etat-non_publie { background: color-mix(in srgb, var(--doux) 16%, transparent); color: var(--doux); }
.etat-modifie { background: color-mix(in srgb, #d97706 16%, transparent); color: #b45309; }
.ligne .actions { flex-wrap: wrap; justify-content: flex-end; }
.btn.publier { background: var(--ok); }
.btn.publier:hover { background: color-mix(in srgb, var(--ok) 85%, black); }
.publication-profil { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: .9rem 1.3rem; }
.publication-profil .actions { display: flex; gap: .4rem; flex-wrap: wrap; }
.ligne-etat { margin: 0 0 .35rem; }
.actions-photo { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .2rem; }
.actions-photo .btn.petit { padding: .25rem .5rem; font-size: .75rem; }
@media (max-width: 600px) { .rangee { grid-template-columns: 1fr; } .ligne { flex-direction: column; align-items: flex-start; } }
