/* =====================================================================
   KAIZEN TECH — connexion et back-office
   Feuille autonome (indépendante de Tailwind) : connexion-admin.php
   et toutes les pages du dossier admin/.
   Motif : le plan d'architecte (quadrillage + tracé au trait).
   ===================================================================== */

@font-face { font-family: 'Hind'; font-weight: 500; font-display: swap; src: url('../fonts/hind-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Hind'; font-weight: 600; font-display: swap; src: url('../fonts/hind-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Hind'; font-weight: 700; font-display: swap; src: url('../fonts/hind-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-weight: 400; font-display: swap; src: url('../fonts/open-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-weight: 600; font-display: swap; src: url('../fonts/open-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-weight: 700; font-display: swap; src: url('../fonts/open-sans-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 500; font-display: swap; src: url('../fonts/poppins-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 600; font-display: swap; src: url('../fonts/poppins-latin-600-normal.woff2') format('woff2'); }

:root {
  --kz-primary: #009C95;      /* vert turquoise : couleur principale */
  --kz-accent:  #00F5EA;      /* bleu ciel turquoise : survols */
  --kz-deep:    #004844;      /* fond du plan */
  --kz-ink:     #12302E;      /* texte */
  --kz-muted:   #5B7471;
  --kz-paper:   #F2F7F6;
  --kz-line:    #D3E3E1;
  --kz-red:     #C62828;
  --kz-red-bg:  #FDECEC;
  --kz-green:   #1B7F3A;
  --kz-green-bg:#E6F5EA;
  --kz-titre: 'Hind', 'Segoe UI', sans-serif;
  --kz-texte: 'Open Sans', 'Segoe UI', sans-serif;
  --kz-nav:   'Poppins', 'Segoe UI', sans-serif;
  /* Quadrillage du plan : petit pas 16 px, grand pas 80 px */
  --kz-grille:
    linear-gradient(rgba(0,245,234,.13) 1px, transparent 1px) 0 0 / 80px 80px,
    linear-gradient(90deg, rgba(0,245,234,.13) 1px, transparent 1px) 0 0 / 80px 80px,
    linear-gradient(rgba(0,245,234,.05) 1px, transparent 1px) 0 0 / 16px 16px,
    linear-gradient(90deg, rgba(0,245,234,.05) 1px, transparent 1px) 0 0 / 16px 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--kz-texte); color: var(--kz-ink); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--kz-accent); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@keyframes kz-trace { to { stroke-dashoffset: 0; } }
@keyframes kz-apparaitre { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes kz-secousse { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
@keyframes kz-progression { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes kz-tourne { to { transform: rotate(360deg); } }
@keyframes kz-barre { from { transform: scaleX(0); } }

/* =====================================================================
   1. PAGE DE CONNEXION
   ===================================================================== */
.adm-login-body { background: var(--kz-paper); min-height: 100vh; }
.adm-login { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }

/* --- Panneau plan d'architecte -------------------------------------- */
.adm-plan {
  position: relative; overflow: hidden; color: #fff;
  background: var(--kz-grille), radial-gradient(120% 90% at 30% 40%, #00615C 0%, var(--kz-deep) 60%, #00302D 100%);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(1.5rem, 4vw, 3.25rem);
}
.adm-plan__logo img { height: 92px; width: auto; }
.adm-plan__dessin { width: min(100%, 560px); margin: 1.5rem auto; overflow: visible; }

.bp {
  stroke: var(--kz-accent); stroke-width: 1.8;
  stroke-dasharray: 1 1; stroke-dashoffset: 1;
  animation: kz-trace 1.3s cubic-bezier(.65, .05, .3, 1) var(--d, 0s) forwards;
}
.bp--fin  { stroke-width: 1; stroke-opacity: .65; }
.bp--cote { stroke-width: .9; stroke-opacity: .55; }
.bp-texte {
  fill: var(--kz-accent); fill-opacity: .8; font-family: var(--kz-nav); font-size: 11px; letter-spacing: .04em;
  opacity: 0; animation: kz-apparaitre .6s ease 2.5s forwards;
}

.adm-plan__titre { margin: 0; font-family: var(--kz-titre); font-weight: 700; font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.05; }
.adm-plan__sous-titre { margin: .6rem 0 0; color: rgba(255,255,255,.78); font-size: 1.05rem; max-width: 34ch; }

/* --- Formulaire ------------------------------------------------------ */
.adm-form-zone { display: flex; align-items: center; justify-content: center; padding: clamp(2rem, 5vw, 4rem) 1.25rem; }
.adm-form { width: 100%; max-width: 420px; animation: kz-apparaitre .6s ease .15s both; }
.adm-form__titre { margin: 0; font-family: var(--kz-titre); font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--kz-deep); }
.adm-form__intro { margin: .7rem 0 1.8rem; color: var(--kz-muted); }

.adm-champ { margin-bottom: 1.15rem; }
.adm-champ label { display: block; margin-bottom: .4rem; font-weight: 600; font-size: .95rem; color: var(--kz-ink); transition: color .2s; }
.adm-champ__saisie { position: relative; }
.adm-champ__saisie > i {
  position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
  color: var(--kz-primary); font-size: 1rem; pointer-events: none; transition: color .2s;
}
.adm-champ input {
  width: 100%; height: 3.3rem; padding: 0 1rem 0 2.85rem;
  font: inherit; font-size: 1rem; color: var(--kz-ink);
  background: #fff; border: 1.5px solid var(--kz-line); border-radius: 10px;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.adm-champ input::placeholder { color: #9AB0AD; }
.adm-champ input:hover { border-color: #A9C9C6; }
.adm-champ input:focus { outline: none; border-color: var(--kz-primary); box-shadow: 0 0 0 4px rgba(0,156,149,.15); }
.adm-champ input[type="password"], .adm-champ input#mot_de_passe { padding-right: 3.2rem; }
.adm-champ__oeil {
  position: absolute; right: .45rem; top: 50%; transform: translateY(-50%);
  width: 2.4rem; height: 2.4rem; border: 0; border-radius: 8px; background: transparent;
  color: var(--kz-muted); cursor: pointer; transition: color .2s, background-color .2s;
}
.adm-champ__oeil:hover { color: var(--kz-primary); background: var(--kz-paper); }
.adm-champ__aide { margin: .35rem 0 0; min-height: 0; font-size: .85rem; font-weight: 600; color: var(--kz-red); }
.adm-champ__aide:empty { display: none; }

/* Champ obligatoire non renseigné : en rouge */
.adm-champ.is-invalid label,
.adm-champ.is-invalid .adm-champ__saisie > i { color: var(--kz-red); }
.adm-champ.is-invalid input { border-color: var(--kz-red); background: #FFF7F7; }
.adm-champ.is-invalid input:focus { box-shadow: 0 0 0 4px rgba(198,40,40,.14); }
.adm-champ.is-shaking .adm-champ__saisie { animation: kz-secousse .42s ease; }

/* Messages d'état */
.adm-alerte {
  position: relative; overflow: hidden;
  display: none; align-items: center; gap: .7rem;
  margin: 0 0 1rem; padding: .95rem 1.1rem; border-radius: 10px;
  font-weight: 700; font-size: 1rem; line-height: 1.35;
}
.adm-alerte.is-visible { display: flex; animation: kz-apparaitre .35s ease; }
.adm-alerte i { font-size: 1.2rem; flex: none; }
.adm-alerte--erreur { color: var(--kz-red);   background: var(--kz-red-bg);   border: 1px solid #F5C2C2; }
.adm-alerte--succes { color: var(--kz-green); background: var(--kz-green-bg); border: 1px solid #B9E2C6; }
.adm-alerte__progression { display: none; }
.adm-alerte--succes .adm-alerte__progression {
  display: block; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%;
  background: var(--kz-green); transform-origin: left; animation: kz-progression 4s linear forwards;
}

/* Avertissement : tentatives restantes */
.adm-avertissement {
  display: none; align-items: flex-start; gap: .65rem;
  margin: 0 0 1rem; padding: .8rem 1rem; border-radius: 10px;
  font-size: .92rem; font-weight: 600; line-height: 1.4;
  color: #8A4B00; background: #FFF4E0; border: 1px solid #F6D59A;
}
.adm-avertissement.is-visible { display: flex; animation: kz-apparaitre .35s ease; }
.adm-avertissement i { margin-top: .15rem; color: #D98200; }

/* Blocage temporaire : bandeau avec compte à rebours */
.adm-blocage {
  display: none; align-items: center; gap: .9rem;
  margin: 0 0 1rem; padding: 1rem 1.1rem; border-radius: 10px;
  color: #fff; background: linear-gradient(110deg, #8E1B1B, var(--kz-red));
  box-shadow: 0 10px 24px -14px rgba(142,27,27,.8);
}
.adm-blocage.is-visible { display: flex; animation: kz-apparaitre .35s ease; }
.adm-blocage > i { font-size: 1.5rem; flex: none; animation: kz-sablier 2s ease-in-out infinite; }
.adm-blocage strong { display: block; font-size: 1rem; }
.adm-blocage span { display: block; font-size: .88rem; opacity: .92; }
.adm-blocage b { font-family: var(--kz-nav); font-variant-numeric: tabular-nums; font-size: 1rem; }
@keyframes kz-sablier { 0%, 40% { transform: rotate(0); } 60%, 100% { transform: rotate(180deg); } }

.adm-form__regle { display: flex; gap: .5rem; align-items: flex-start; margin: .9rem 0 0; font-size: .82rem; color: var(--kz-muted); }
.adm-form__regle i { margin-top: .2rem; color: var(--kz-primary); }

/* Bouton Connexion */
.adm-bouton {
  position: relative; width: 100%; height: 3.4rem; margin-top: .6rem;
  border: 0; border-radius: 10px; cursor: pointer;
  font-family: var(--kz-nav); font-weight: 600; font-size: 1.05rem; letter-spacing: .02em;
  color: #fff; background: var(--kz-primary);
  transition: background-color .25s, color .25s, transform .15s;
}
.adm-bouton:hover { background: var(--kz-accent); color: var(--kz-deep); }
.adm-bouton:active { transform: translateY(1px); }
.adm-bouton:disabled { cursor: progress; }
.adm-bouton.is-locked, .adm-bouton.is-locked:hover { cursor: not-allowed; color: #fff; background: #9AAFAD; }
.adm-bouton__roue {
  display: none; position: absolute; inset: 0; margin: auto; width: 1.4rem; height: 1.4rem;
  border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%;
  animation: kz-tourne .7s linear infinite;
}
.adm-bouton.is-loading .adm-bouton__texte { visibility: hidden; }
.adm-bouton.is-loading .adm-bouton__roue { display: block; }
.adm-form.is-success .adm-bouton { background: var(--kz-green); color: #fff; pointer-events: none; }
.adm-form.is-success input { border-color: #9ED3AF; background: #FAFFFB; }

.adm-form__retour {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.6rem;
  color: var(--kz-muted); font-size: .92rem; text-decoration: none; transition: color .2s;
}
.adm-form__retour:hover { color: var(--kz-primary); }

/* Arrivée depuis la transition du site : le plan plein écran se range à gauche */
.adm-rideau { display: none; }
.adm-arrivee .adm-rideau {
  display: block; position: fixed; inset: 0; z-index: 60; pointer-events: none;
  background: var(--kz-grille), radial-gradient(120% 90% at 30% 40%, #00615C 0%, var(--kz-deep) 60%, #00302D 100%);
  clip-path: inset(0 0 0 0);
  animation: adm-rideau-range .9s cubic-bezier(.7, 0, .2, 1) .1s forwards, adm-rideau-fin .35s ease 1s forwards;
}
@keyframes adm-rideau-range { to { clip-path: inset(0 46.51% 0 0); } }   /* largeur du panneau : 1.15 / 2.15 */
@keyframes adm-rideau-fin   { to { opacity: 0; visibility: hidden; } }
.adm-arrivee .bp { animation-delay: calc(var(--d, 0s) + .9s); }
.adm-arrivee .bp-texte { animation-delay: 3.3s; }
.adm-arrivee .adm-form { animation-delay: .75s; }
@media (max-width: 900px) {
  @keyframes adm-rideau-range { to { clip-path: inset(0 0 100% 0); } }
}

@media (max-width: 900px) {
  .adm-login { grid-template-columns: 1fr; }
  .adm-plan { padding: 1.25rem 1.25rem 1.5rem; }
  .adm-plan__logo img { height: 64px; }
  .adm-plan__dessin { width: min(100%, 360px); margin: .5rem auto 1rem; }
  .adm-plan__titre { font-size: 1.8rem; }
  .adm-form__titre { font-size: 2.1rem; }
}

/* =====================================================================
   2. BACK-OFFICE
   ===================================================================== */
.adm-body { background: var(--kz-paper); min-height: 100vh; display: flex; flex-direction: column; }

/* --- Bandeau supérieur ---------------------------------------------- */
.adm-top { position: sticky; top: 0; z-index: 40; }
.adm-top__inner {
  background: var(--kz-grille), linear-gradient(100deg, #00302D 0%, var(--kz-deep) 55%, #00615C 100%);
  color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .7rem clamp(1rem, 3vw, 2.5rem);
}
.adm-top__logo { display: flex; align-items: center; gap: .9rem; text-decoration: none; }
.adm-top__logo img { height: 50px; width: auto; }
.adm-top__logo span {
  font-family: var(--kz-titre); font-weight: 600; font-size: 1.15rem;
  padding-left: .9rem; border-left: 1px solid rgba(255,255,255,.3);
}
.adm-top__outils { display: flex; align-items: center; gap: 1.4rem; }
.adm-top__site { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; text-decoration: none; color: rgba(255,255,255,.85); transition: color .2s; }
.adm-top__site:hover { color: var(--kz-accent); }
.adm-user { display: flex; align-items: center; gap: .7rem; }
.adm-user__pastille {
  width: 2.6rem; height: 2.6rem; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-family: var(--kz-nav); font-weight: 600; font-size: .95rem;
  color: var(--kz-deep); background: var(--kz-accent);
}
.adm-user__infos { display: flex; flex-direction: column; line-height: 1.2; }
.adm-user__infos strong { font-size: .95rem; }
.adm-user__infos small { font-size: .78rem; color: var(--kz-accent); }

/* --- Menu horizontal ------------------------------------------------ */
.adm-nav { background: #fff; border-bottom: 1px solid var(--kz-line); box-shadow: 0 6px 18px -14px rgba(0,72,68,.5); }
.adm-nav__liste {
  list-style: none; margin: 0 auto; padding: 0 clamp(.5rem, 2.5vw, 2rem);
  max-width: 1380px; display: flex; overflow-x: auto; scrollbar-width: none;
}
.adm-nav__liste::-webkit-scrollbar { display: none; }
.adm-nav__lien {
  position: relative; display: flex; align-items: center; gap: .55rem; white-space: nowrap;
  padding: 1rem 1.05rem; text-decoration: none;
  font-family: var(--kz-nav); font-weight: 500; font-size: .93rem; color: var(--kz-muted);
  transition: color .2s;
}
.adm-nav__lien i { font-size: .95rem; transition: transform .25s; }
.adm-nav__lien::after {
  content: ''; position: absolute; left: .8rem; right: .8rem; bottom: 0; height: 3px; border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, var(--kz-primary), var(--kz-accent));
  transform: scaleX(0); transition: transform .3s cubic-bezier(.6,.1,.3,1);
}
.adm-nav__lien:hover { color: var(--kz-primary); }
.adm-nav__lien:hover i { transform: translateY(-2px); }
.adm-nav__lien:hover::after { transform: scaleX(.45); }
.adm-nav__lien.is-active { color: var(--kz-deep); font-weight: 600; }
.adm-nav__lien.is-active i { color: var(--kz-primary); }
.adm-nav__lien.is-active::after { transform: scaleX(1); }
.adm-nav__badge {
  min-width: 1.3rem; height: 1.3rem; padding: 0 .35rem; border-radius: 999px;
  display: inline-grid; place-items: center; font-size: .72rem; font-weight: 600;
  color: #fff; background: var(--kz-red);
}
.adm-nav__sortie { margin-left: auto; }
.adm-nav__lien--sortie:hover { color: var(--kz-red); }
.adm-nav__lien--sortie::after { background: var(--kz-red); }

/* --- Contenu -------------------------------------------------------- */
.adm-main { flex: 1; width: 100%; max-width: 1380px; margin: 0 auto; padding: 2rem clamp(1rem, 3vw, 2.5rem) 3rem; }
.adm-page-tete { margin-bottom: 1.5rem; animation: kz-apparaitre .45s ease both; }
.adm-page-tete h1 { margin: 0; font-family: var(--kz-titre); font-weight: 700; font-size: 2rem; line-height: 1.1; color: var(--kz-deep); }
.adm-page-tete p { margin: .35rem 0 0; color: var(--kz-muted); }

/* Accueil du tableau de bord : la grue se trace au chargement */
.adm-accueil {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: 1.8rem clamp(1.25rem, 3vw, 2.4rem); margin-bottom: 1.5rem;
  border-radius: 14px; color: #fff;
  background: var(--kz-grille), linear-gradient(110deg, var(--kz-deep) 0%, #00736D 100%);
  animation: kz-apparaitre .5s ease .05s both;
}
.adm-accueil h2 { margin: .1rem 0 .3rem; font-family: var(--kz-titre); font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.1; }
.adm-accueil p { margin: 0; color: rgba(255,255,255,.82); }
.adm-accueil .adm-accueil__date { color: var(--kz-accent); font-weight: 600; font-size: .92rem; }
.adm-accueil__grue { width: 190px; flex: none; }
.adm-accueil__grue path {
  stroke: var(--kz-accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1 1; stroke-dashoffset: 1; animation: kz-trace 1.8s cubic-bezier(.65,.05,.3,1) .35s forwards;
}
.adm-accueil__grue path + path { stroke-opacity: .6; animation-delay: .9s; }

/* Chiffres clés : une seule bande, séparée par des filets */
.adm-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); gap: 1px;
  background: var(--kz-line); border: 1px solid var(--kz-line); border-radius: 14px; overflow: hidden;
  margin-bottom: 1.5rem; animation: kz-apparaitre .5s ease .15s both;
}
.adm-stat {
  position: relative; display: flex; flex-direction: column; padding: 1.25rem 1.3rem 1.2rem;
  background: #fff; text-decoration: none; transition: background-color .2s;
}
.adm-stat::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--kz-accent); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.adm-stat:hover { background: #F7FCFB; }
.adm-stat:hover::before { transform: scaleX(1); }
.adm-stat__icone { position: absolute; right: 1.1rem; top: 1.1rem; font-size: 1.15rem; color: var(--kz-primary); opacity: .55; }
.adm-stat__valeur { font-family: var(--kz-titre); font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--kz-deep); font-variant-numeric: tabular-nums; }
.adm-stat__libelle { margin-top: .45rem; font-weight: 600; font-size: .95rem; }
.adm-stat__detail { font-size: .82rem; color: var(--kz-muted); }

/* Blocs */
.adm-grille { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.adm-bloc--large { grid-row: span 2; }
.adm-bloc {
  background: #fff; border: 1px solid var(--kz-line); border-radius: 12px; padding: 1.3rem 1.4rem;
  animation: kz-apparaitre .5s ease .25s both;
}
.adm-bloc__tete { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.adm-bloc__tete h2 { margin: 0; font-family: var(--kz-titre); font-weight: 600; font-size: 1.3rem; color: var(--kz-deep); }
.adm-bloc__tete a { white-space: nowrap; font-size: .88rem; font-weight: 600; color: var(--kz-primary); text-decoration: none; }
.adm-bloc__tete a:hover { text-decoration: underline; }
.adm-vide { margin: 0; padding: 1.2rem; border: 1.5px dashed var(--kz-line); border-radius: 10px; color: var(--kz-muted); font-size: .95rem; }

.adm-messages { list-style: none; margin: 0; padding: 0; }
.adm-message { display: flex; gap: .9rem; align-items: flex-start; padding: .85rem 0; border-top: 1px solid var(--kz-line); }
.adm-message:first-child { border-top: 0; padding-top: .2rem; }
.adm-message__pastille {
  width: 2.4rem; height: 2.4rem; border-radius: 50%; flex: none; display: grid; place-items: center;
  font-weight: 700; color: var(--kz-primary); background: var(--kz-paper); border: 1.5px solid var(--kz-line);
}
.adm-message.is-new .adm-message__pastille { color: #fff; background: var(--kz-primary); border-color: var(--kz-primary); }
.adm-message__corps { flex: 1; min-width: 0; }
.adm-message__qui { margin: 0; font-size: .95rem; }
.adm-message__qui span { color: var(--kz-muted); font-size: .88rem; }
.adm-message__extrait { margin: .15rem 0 0; color: var(--kz-muted); font-size: .9rem; overflow-wrap: anywhere; }
.adm-message__date { flex: none; font-size: .82rem; color: var(--kz-muted); font-variant-numeric: tabular-nums; }
.adm-message.is-new .adm-message__date { color: var(--kz-primary); font-weight: 600; }

.adm-barres { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.adm-barres li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .3rem .8rem; align-items: center; }
.adm-barres__nom { font-size: .9rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-barres__n { grid-column: 2; grid-row: 1; font-family: var(--kz-titre); font-weight: 700; color: var(--kz-deep); }
.adm-barres__rail { grid-column: 1 / -1; height: 8px; border-radius: 8px; background: var(--kz-paper); overflow: hidden; }
.adm-barres__barre {
  display: block; height: 100%; width: var(--p); border-radius: 8px;
  background: linear-gradient(90deg, var(--kz-primary), var(--kz-accent));
  transform-origin: left; animation: kz-barre 1.1s cubic-bezier(.6,.1,.3,1) .6s both;
}

.adm-actus { list-style: none; margin: 0; padding: 0; }
.adm-actus li { padding: .7rem 0; border-top: 1px solid var(--kz-line); }
.adm-actus li:first-child { border-top: 0; padding-top: 0; }
.adm-actus a { display: block; font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--kz-ink); }
.adm-actus a:hover { color: var(--kz-primary); }
.adm-actus span { font-size: .82rem; color: var(--kz-muted); }

/* Rubrique en préparation */
.adm-chantier {
  display: flex; gap: 1.8rem; align-items: flex-start; max-width: 860px;
  padding: 2rem; background: #fff; border: 1px solid var(--kz-line); border-radius: 14px;
  animation: kz-apparaitre .5s ease .1s both;
}
.adm-chantier__icone {
  width: 5.5rem; height: 5.5rem; border-radius: 14px; flex: none; display: grid; place-items: center;
  font-size: 2rem; color: var(--kz-accent);
  background: var(--kz-grille), var(--kz-deep);
}
.adm-chantier h2 { margin: 0 0 .5rem; font-family: var(--kz-titre); font-weight: 600; font-size: 1.45rem; color: var(--kz-deep); }
.adm-chantier p { margin: 0 0 .8rem; color: var(--kz-muted); max-width: 60ch; }
.adm-chantier__compte { color: var(--kz-ink) !important; }
.adm-chantier__compte strong { font-family: var(--kz-titre); font-size: 1.4rem; color: var(--kz-primary); }
.adm-lien-bouton {
  display: inline-flex; align-items: center; gap: .55rem; margin-top: .3rem;
  padding: .7rem 1.2rem; border-radius: 10px; text-decoration: none;
  font-family: var(--kz-nav); font-weight: 600; font-size: .92rem;
  color: #fff; background: var(--kz-primary); transition: background-color .25s, color .25s;
}
.adm-lien-bouton:hover { background: var(--kz-accent); color: var(--kz-deep); }

.adm-pied { padding: 1.2rem 1rem 1.6rem; text-align: center; font-size: .82rem; color: var(--kz-muted); }
.adm-pied a { color: var(--kz-primary); text-decoration: none; }
.adm-pied p { margin: 0; }

@media (max-width: 960px) {
  .adm-grille { grid-template-columns: 1fr; }
  .adm-bloc--large { grid-row: auto; }
}
@media (max-width: 640px) {
  .adm-top__logo span, .adm-top__site span, .adm-user__infos { display: none; }
  .adm-top__logo img { height: 38px; }
  .adm-accueil__grue { display: none; }
  .adm-chantier { flex-direction: column; padding: 1.4rem; }
  .adm-message__date { display: none; }
  .adm-stat__valeur { font-size: 2.1rem; }
}

/* Mouvements réduits : tout s'affiche directement */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .bp, .adm-accueil__grue path { stroke-dashoffset: 0; }
  .bp-texte { opacity: 1; }
}

/* =====================================================================
   3. TRANSITIONS ENTRE LES PAGES DU BACK-OFFICE — effet « swipe »
   Sortie : le contenu glisse sur le côté en s'effaçant (admin.js).
   Entrée : la nouvelle page arrive du côté opposé, puis ses blocs se
   posent l'un après l'autre. Sens : vers la gauche quand on avance dans
   le menu, vers la droite quand on recule. Aucun flou.
   ===================================================================== */
:root { --kz-sens: 1; }                                /* 1 : arrive par la droite */
html[data-swipe="droite"] { --kz-sens: -1; }           /* -1 : arrive par la gauche */
@keyframes kz-swipe-entree { from { opacity: 0; transform: translateX(calc(var(--kz-sens) * 90px)); } to { opacity: 1; transform: none; } }
@keyframes kz-entree       { from { opacity: 0; transform: translateX(calc(var(--kz-sens) * 36px)); } to { opacity: 1; transform: none; } }
@keyframes kz-reflet { from { transform: translateX(-120%) skewX(-18deg); } to { transform: translateX(260%) skewX(-18deg); } }

.adm-main {
  animation: kz-swipe-entree .55s cubic-bezier(.22, .9, .3, 1) both;
  transition: opacity .3s ease, transform .34s cubic-bezier(.6, 0, .8, .4);
}
.adm-main > :not(.adm-modale):not(script) { animation: kz-entree .6s cubic-bezier(.22, .9, .3, 1) both; }
.adm-main > :nth-child(1) { animation-delay: .08s; }
.adm-main > :nth-child(2) { animation-delay: .16s; }
.adm-main > :nth-child(3) { animation-delay: .24s; }
.adm-main > :nth-child(4) { animation-delay: .32s; }
.adm-main > :nth-child(n+5) { animation-delay: .4s; }
/* Sortie : glisse vers la gauche (on avance) ou vers la droite (on recule) */
html.adm-sortie .adm-main { opacity: 0; transform: translateX(-90px); }
html.adm-sortie[data-sortie="droite"] .adm-main { transform: translateX(90px); }
html.adm-sortie .adm-pied { opacity: 0; transition: opacity .3s; }
/* Aucun défilement horizontal de la page sur smartphone (clip empêche aussi tout décalage programmé) */
html, body.adm-body { overflow-x: hidden; max-width: 100%; }
@supports (overflow: clip) { html, body.adm-body { overflow-x: clip; } }

/* Reflet lumineux qui traverse la bannière d'accueil une fois */
.adm-accueil { position: relative; overflow: hidden; }
.adm-accueil::after {
  content: ''; position: absolute; top: -20%; bottom: -20%; left: 0; width: 22%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.16), transparent);
  transform: translateX(-120%) skewX(-18deg); animation: kz-reflet 1.4s ease .9s 1 both; pointer-events: none;
}

/* =====================================================================
   4. ACCORDÉON « ADMINISTRATEURS DU SITE »
   ===================================================================== */
.adm-accordeon { background: #fff; border: 1px solid var(--kz-line); border-radius: 14px; overflow: hidden; box-shadow: 0 14px 34px -26px rgba(0,72,68,.45); }
.adm-accordeon__titre { margin: 0; }
.adm-accordeon__bouton {
  width: 100%; display: flex; align-items: center; gap: 1rem; padding: 1rem 1.3rem;
  border: 0; cursor: pointer; text-align: left; color: var(--kz-deep);
  background: linear-gradient(90deg, #fff 0%, var(--kz-paper) 100%);
  font-family: var(--kz-titre); font-weight: 700; font-size: 1.35rem;
  transition: background-color .25s;
}
.adm-accordeon__bouton:hover { background: linear-gradient(90deg, #fff 0%, #E6F4F2 100%); }
.adm-accordeon__icone {
  width: 2.7rem; height: 2.7rem; border-radius: 10px; flex: none; display: grid; place-items: center;
  font-size: 1.1rem; color: var(--kz-accent); background: var(--kz-grille), var(--kz-deep);
}
.adm-accordeon__libelle { flex: 1; }
.adm-accordeon__libelle small { font-family: var(--kz-texte); font-weight: 600; font-size: .9rem; color: var(--kz-primary); }
.adm-accordeon__fleche {
  width: 2.5rem; height: 2.5rem; border-radius: 50%; flex: none; display: grid; place-items: center;
  font-size: .95rem; color: var(--kz-primary); border: 1.5px solid var(--kz-line); background: #fff;
  transition: transform .45s cubic-bezier(.6,.1,.3,1), background-color .25s, color .25s, border-color .25s;
}
.adm-accordeon__bouton:hover .adm-accordeon__fleche { background: var(--kz-primary); color: #fff; border-color: var(--kz-primary); }
.adm-accordeon.is-open .adm-accordeon__fleche { transform: rotate(180deg); }
.adm-accordeon__panneau { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s cubic-bezier(.6,.1,.3,1); }
.adm-accordeon.is-open .adm-accordeon__panneau { grid-template-rows: 1fr; }
.adm-accordeon__contenu { overflow: hidden; min-height: 0; }
.adm-accordeon__contenu > * { margin-left: 1.4rem; margin-right: 1.4rem; }
.adm-accordeon__contenu > :first-child { margin-top: 1.3rem; }
.adm-accordeon__contenu > :last-child { margin-bottom: 1.5rem; }
.adm-accordeon__contenu > * { opacity: 0; transform: translateY(-8px); transition: opacity .35s ease, transform .35s ease; }
.adm-accordeon.is-open .adm-accordeon__contenu > * { opacity: 1; transform: none; transition-delay: .18s; }

.adm-sous-titre {
  display: flex; align-items: center; gap: .6rem; margin: 0 0 1rem;
  font-family: var(--kz-titre); font-weight: 600; font-size: 1.2rem; color: var(--kz-deep);
}
.adm-sous-titre i { color: var(--kz-primary); font-size: 1rem; }

/* --- Formulaire administrateur ------------------------------------- */
.adm-form-admin__grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: .2rem 1rem; }
@media (min-width: 1100px) { .adm-form-admin__grille:not(.adm-form-admin__grille--modale) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.adm-form-admin__actions--cellule { align-self: start; margin-top: 0; padding-top: 1.72rem; }
.adm-form-admin__actions--cellule .adm-bouton.adm-bouton--compact { width: 100%; }
.adm-form-admin .adm-champ { margin-bottom: .9rem; }
.adm-form-admin .adm-champ label { font-size: .88rem; }
.adm-form-admin .adm-champ input, .adm-form-admin .adm-champ select { height: 3rem; font-size: .95rem; }
.adm-champ select {
  width: 100%; height: 3.3rem; padding: 0 2.4rem 0 2.85rem; appearance: none; -webkit-appearance: none;
  font: inherit; font-size: 1rem; color: var(--kz-ink); cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23009C95' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 1rem center / 12px;
  border: 1.5px solid var(--kz-line); border-radius: 10px; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.adm-champ select:hover { border-color: #A9C9C6; }
.adm-champ select:focus { outline: none; border-color: var(--kz-primary); box-shadow: 0 0 0 4px rgba(0,156,149,.15); }
.adm-champ select:disabled { cursor: not-allowed; color: var(--kz-muted); background-color: var(--kz-paper); }
.adm-champ.is-invalid select { border-color: var(--kz-red); background-color: #FFF7F7; }
.adm-form-admin input[readonly] { background: #FAFFFB; }

/* Compteur de caractères à couleur conditionnelle */
.adm-champ--nom input, .adm-champ--prenom input, .adm-champ--email input { padding-right: 3.6rem; }
.adm-compteur {
  position: absolute; right: .75rem; top: 50%; transform: translateY(-50%);
  font-family: var(--kz-nav); font-size: .72rem; font-weight: 600; font-variant-numeric: tabular-nums;
  padding: .12rem .45rem; border-radius: 999px; pointer-events: none;
  color: var(--kz-muted); background: var(--kz-paper);
  transition: color .25s, background-color .25s, transform .2s;
}
.adm-compteur.is-ok     { color: var(--kz-green); background: var(--kz-green-bg); }
.adm-compteur.is-proche { color: #8A4B00; background: #FFF4E0; }
.adm-compteur.is-max    { color: #fff; background: var(--kz-red); transform: translateY(-50%) scale(1.08); }

/* Critères du mot de passe */
.adm-champ__note { margin: .4rem 0 0; }
.adm-regles { display: flex; flex-wrap: wrap; gap: .3rem; }
.adm-regles b {
  font-family: var(--kz-nav); font-weight: 500; font-size: .7rem; line-height: 1; white-space: nowrap;
  padding: .3rem .5rem; border-radius: 999px; color: var(--kz-muted); background: var(--kz-paper); border: 1px solid var(--kz-line);
  transition: color .25s, background-color .25s, border-color .25s, transform .25s;
}
.adm-regles b.is-ok { color: var(--kz-green); background: var(--kz-green-bg); border-color: #B9E2C6; transform: translateY(-1px); }
.adm-regles b.is-ok::before { content: '✓ '; font-weight: 700; }

.adm-form-admin__actions { display: flex; justify-content: flex-end; gap: .8rem; margin-top: .4rem; }
.adm-bouton.adm-bouton--compact { width: auto; height: 3rem; margin: 0; padding: 0 1.6rem; }
.adm-bouton__texte i { margin-right: .4rem; }
.adm-form-admin.is-success .adm-bouton { background: var(--kz-green); color: #fff; }
.adm-bouton-secondaire {
  height: 3rem; padding: 0 1.4rem; border-radius: 10px; cursor: pointer;
  font-family: var(--kz-nav); font-weight: 600; font-size: .95rem;
  color: var(--kz-muted); background: #fff; border: 1.5px solid var(--kz-line); transition: color .2s, border-color .2s;
}
.adm-bouton-secondaire:hover { color: var(--kz-deep); border-color: var(--kz-primary); }

/* --- En-tête de la liste + recherche -------------------------------- */
.adm-liste-tete {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: 1.4rem; margin-bottom: 1rem; padding-top: 1.4rem; border-top: 1.5px dashed var(--kz-line);
}
.adm-liste-tete .adm-sous-titre { margin: 0; }
.adm-recherche { position: relative; flex: 0 1 360px; transition: flex-basis .45s cubic-bezier(.6,.1,.3,1); }
.adm-recherche:focus-within, .adm-recherche.is-remplie { flex-basis: 480px; }
.adm-recherche > i {
  position: absolute; left: 1.05rem; top: 50%; transform: translateY(-50%);
  color: var(--kz-primary); transition: transform .35s cubic-bezier(.34,1.56,.64,1), color .2s;
}
.adm-recherche:focus-within > i { transform: translateY(-50%) scale(1.18) rotate(-12deg); color: var(--kz-deep); }
.adm-recherche input {
  width: 100%; height: 2.9rem; padding: 0 2.6rem 0 2.8rem; font: inherit; font-size: .92rem; color: var(--kz-ink);
  border: 1.5px solid var(--kz-line); border-radius: 999px; background: var(--kz-paper);
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.adm-recherche input::placeholder { color: #8FA8A5; }
.adm-recherche input::-webkit-search-cancel-button { display: none; }
.adm-recherche input:focus { outline: none; background: #fff; border-color: var(--kz-primary); box-shadow: 0 0 0 4px rgba(0,156,149,.14), 0 10px 24px -16px rgba(0,72,68,.6); }
.adm-recherche__effacer {
  position: absolute; right: .45rem; top: 50%; width: 2rem; height: 2rem; border: 0; border-radius: 50%; cursor: pointer;
  color: var(--kz-muted); background: transparent; opacity: 0; pointer-events: none;
  transform: translateY(-50%) scale(.6); transition: opacity .2s, transform .25s, background-color .2s;
}
.adm-recherche.is-remplie .adm-recherche__effacer { opacity: 1; pointer-events: auto; transform: translateY(-50%) scale(1); }
.adm-recherche__effacer:hover { background: var(--kz-line); color: var(--kz-deep); }

/* --- Tableau --------------------------------------------------------- */
.adm-table-zone { overflow-x: auto; border: 1px solid var(--kz-line); border-radius: 12px; }
.adm-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .92rem; }
.adm-table th {
  padding: .85rem 1rem; text-align: left; white-space: nowrap;
  font-family: var(--kz-nav); font-weight: 600; font-size: .76rem; letter-spacing: .06em; text-transform: uppercase;
  color: #fff; background: var(--kz-deep);
}
.adm-table td { padding: .8rem 1rem; border-top: 1px solid var(--kz-line); vertical-align: middle; }
.adm-table td a { color: var(--kz-primary); text-decoration: none; }
.adm-table td a:hover { text-decoration: underline; }
.adm-table tbody { transition: opacity .2s ease; }
.adm-table-zone.is-changing tbody { opacity: .3; }
.adm-num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.adm-table__actions { text-align: right; white-space: nowrap; }
.adm-table th.adm-table__actions { text-align: right; }
/* Les deux icônes forment un bloc de largeur fixe calé à droite ; le titre
   « Action » occupe un bloc identique et commence au niveau de l'icône Modifier. */
.adm-actions { display: inline-flex; gap: .25rem; width: 4.85rem; justify-content: flex-start; vertical-align: middle; }
.adm-actions .adm-action { margin-left: 0; }
.adm-th-action { display: inline-block; width: 4.85rem; padding-left: var(--kz-decalage-action, .62rem); text-align: left; }
.adm-table__vide { text-align: center; color: var(--kz-muted); padding: 2rem 1rem !important; }
.adm-ligne { transition: background-color .2s, opacity .4s ease, transform .4s ease; }
.adm-ligne:hover { background: #F4FAF9; }
.adm-table-zone.is-entering .adm-ligne { animation: kz-ligne .5s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes kz-ligne { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
.adm-ligne.is-new td { animation: kz-surligne 2.6s ease .3s both; }
@keyframes kz-surligne { 0%, 30% { background: rgba(0,245,234,.22); } 100% { background: transparent; } }
.adm-ligne.is-removing { opacity: 0; transform: translateX(40px); }

.adm-badge {
  display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap;
  padding: .28rem .65rem; border-radius: 999px; font-family: var(--kz-nav); font-weight: 500; font-size: .76rem;
}
.adm-badge i { font-size: .7em; }
.adm-badge--super   { color: var(--kz-accent); background: var(--kz-deep); }
.adm-badge--admin   { color: var(--kz-primary); background: #E3F4F2; }
.adm-badge--actif   { color: var(--kz-green); background: var(--kz-green-bg); }
.adm-badge--inactif { color: #6B6B6B; background: #EEEEEE; }
.adm-pastille-concepteur { color: #D9A400; font-size: .8rem; margin-left: .2rem; }

.adm-action {
  display: inline-grid; place-items: center; width: 2.3rem; height: 2.3rem; margin-left: .25rem;
  border: 0; border-radius: 8px; cursor: pointer; font-size: 1rem; background: transparent;
  transition: color .2s, background-color .2s, transform .2s;
}
.adm-action--modifier  { color: #1E73E8; }
.adm-action--modifier:hover  { color: #0B3D91; background: #E8F1FD; transform: translateY(-2px); }
.adm-action--supprimer { color: #E53935; }
.adm-action--supprimer:hover { color: #8E1B1B; background: #FDECEC; transform: translateY(-2px); }
.adm-action--verrou { color: #A9BAB8; cursor: help; }

/* --- Pagination ------------------------------------------------------ */
.adm-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin-top: 1.1rem; }
.adm-pagination:empty { display: none; }
.adm-page {
  min-width: 2.5rem; height: 2.5rem; padding: 0 .6rem; border-radius: 999px; cursor: pointer;
  font-family: var(--kz-nav); font-weight: 600; font-size: .9rem; color: var(--kz-deep);
  background: #fff; border: 1.5px solid var(--kz-line);
  transition: color .2s, background-color .25s, border-color .25s, transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .25s;
}
.adm-page:hover:not(:disabled):not(.is-active) { border-color: var(--kz-primary); color: var(--kz-primary); transform: translateY(-3px); }
.adm-page.is-active {
  color: #fff; border-color: var(--kz-primary); background: linear-gradient(135deg, var(--kz-primary), #00C2B8);
  transform: scale(1.12); box-shadow: 0 8px 18px -8px rgba(0,156,149,.8);
}
.adm-page:disabled { opacity: .35; cursor: default; }
.adm-page--trou { border-color: transparent; background: transparent; cursor: default; color: var(--kz-muted); }

/* --- Lightbox et alerte de confirmation ----------------------------- */
html.adm-modale-ouverte body { overflow: hidden; }
.adm-modale { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 1rem; }
.adm-modale[hidden] { display: none; }
.adm-modale__fond {
  position: absolute; inset: 0; background: rgba(0, 32, 30, .58); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
  opacity: 0; transition: opacity .3s ease;
}
.adm-modale__boite {
  position: relative; width: min(980px, 100%); max-height: calc(100vh - 2rem); overflow: auto;
  padding: 1.8rem 1.8rem 1.5rem; border-radius: 16px; background: #fff;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.55);
  opacity: 0; transform: translateY(34px) scale(.95); transition: opacity .3s ease, transform .45s cubic-bezier(.2,.9,.25,1.1);
}
.adm-modale.is-open .adm-modale__fond { opacity: 1; }
.adm-modale.is-open .adm-modale__boite { opacity: 1; transform: none; }
.adm-modale.is-closing .adm-modale__boite { transform: translateY(16px) scale(.97); transition-duration: .25s; }
.adm-modale__fermer {
  position: absolute; top: .9rem; right: .9rem; width: 2.4rem; height: 2.4rem; border: 0; border-radius: 50%; cursor: pointer;
  font-size: 1.1rem; color: var(--kz-muted); background: var(--kz-paper); transition: background-color .2s, color .2s, transform .3s;
}
.adm-modale__fermer:hover { background: var(--kz-red-bg); color: var(--kz-red); transform: rotate(90deg); }
.adm-modale__note { display: flex; gap: .5rem; align-items: center; margin: -.4rem 0 1rem; font-size: .85rem; color: #8A6A00; }
.adm-modale__note[hidden] { display: none; }
.adm-form-admin__grille--modale { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

.adm-confirm { width: min(430px, 100%); text-align: center; padding: 2rem 1.8rem 1.7rem; }
.adm-modale--alerte .adm-modale__boite { transform: translateY(20px) scale(.7); transition: opacity .25s ease, transform .5s cubic-bezier(.34,1.56,.64,1); }
.adm-modale--alerte.is-open .adm-modale__boite { transform: none; }
.adm-confirm__icone {
  position: relative; width: 4.4rem; height: 4.4rem; margin: 0 auto 1rem; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.7rem; color: var(--kz-red); background: var(--kz-red-bg);
}
.adm-confirm__icone::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--kz-red); opacity: 0;
}
.adm-modale--alerte.is-open .adm-confirm__icone { animation: kz-tremble .6s ease .25s both; }
.adm-modale--alerte.is-open .adm-confirm__icone::after { animation: kz-anneau 1.4s ease-out .2s infinite; }
@keyframes kz-tremble { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-14deg); } 40% { transform: rotate(12deg); } 60% { transform: rotate(-8deg); } 80% { transform: rotate(5deg); } }
@keyframes kz-anneau { from { opacity: .7; transform: scale(1); } to { opacity: 0; transform: scale(1.55); } }
.adm-confirm__texte { margin: 0; font-family: var(--kz-titre); font-weight: 700; font-size: 1.4rem; line-height: 1.2; color: var(--kz-ink); }
.adm-confirm__qui { margin: .5rem 0 0; font-size: .88rem; color: var(--kz-muted); overflow-wrap: anywhere; }
.adm-confirm__erreur { margin: .9rem 0 0; padding: .6rem .8rem; border-radius: 8px; font-weight: 700; font-size: .88rem; color: var(--kz-red); background: var(--kz-red-bg); }
.adm-confirm__erreur[hidden] { display: none; }
.adm-confirm__boutons { display: flex; justify-content: center; gap: .9rem; margin-top: 1.5rem; }
.adm-confirm__boutons button {
  min-width: 7.5rem; height: 2.9rem; border: 0; border-radius: 999px; cursor: pointer;
  font-family: var(--kz-nav); font-weight: 600; font-size: 1rem; color: #fff;
  transition: background-color .2s, transform .2s, box-shadow .2s;
}
.adm-confirm__non { background: #E53935; }
.adm-confirm__non:hover { background: #8E1B1B; transform: translateY(-2px); box-shadow: 0 8px 18px -10px rgba(142,27,27,.9); }
.adm-confirm__oui { background: #1E9E4A; }
.adm-confirm__oui:hover { background: #12652F; transform: translateY(-2px); box-shadow: 0 8px 18px -10px rgba(18,101,47,.9); }
.adm-confirm__oui:disabled { opacity: .6; cursor: progress; }

/* --- Petits écrans : le tableau devient une liste de fiches -------- */
@media (max-width: 760px) {
  .adm-accordeon__bouton { font-size: 1.1rem; padding: .9rem 1rem; }
  .adm-accordeon__contenu > * { margin-left: 1rem; margin-right: 1rem; }
  .adm-recherche, .adm-recherche:focus-within, .adm-recherche.is-remplie { flex-basis: 100%; }
  .adm-table thead { display: none; }
  .adm-table, .adm-table tbody, .adm-table tr, .adm-table td { display: block; width: 100%; }
  .adm-table tr { padding: .6rem .2rem; border-top: 1px solid var(--kz-line); }
  .adm-table tr:first-child { border-top: 0; }
  .adm-table td { border: 0; padding: .3rem .9rem; display: flex; justify-content: space-between; gap: 1rem; text-align: right; }
  .adm-table td::before { content: attr(data-col); font-weight: 600; color: var(--kz-muted); text-align: left; }
  .adm-table td.adm-table__vide { display: block; text-align: center; }
  .adm-table td.adm-table__vide::before { content: none; }
  .adm-modale__boite { padding: 1.4rem 1.1rem 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  .adm-main > * { animation: none !important; }
}


/* Email ou mobile déjà utilisé : rouge gras sur fond rouge clair */
.adm-champ.is-doublon .adm-champ__aide {
  display: flex; align-items: center; gap: .45rem; margin-top: .45rem;
  padding: .55rem .75rem; border-radius: 8px;
  font-weight: 700; font-size: .9rem; color: var(--kz-red);
  background: var(--kz-red-bg); border: 1px solid #F5C2C2;
  animation: kz-apparaitre .3s ease;
}
.adm-champ.is-doublon .adm-champ__aide::before {
  content: '\f06a'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 1rem;
}

/* Lightbox « Modifier l'Administrateur » : voile plus léger et flou réduit,
   l'arrière-plan reste lisible */
[data-modale-modif] .adm-modale__fond {
  background: rgba(0, 32, 30, .12);
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
[data-modale-modif] .adm-modale__boite { box-shadow: 0 24px 70px -20px rgba(0, 40, 38, .55), 0 0 0 1px rgba(0, 72, 68, .08); }


/* Message flottant « Supprimé avec succès ! » : visible 4 s, sous le menu */
.adm-toast {
  position: fixed; left: 50%; top: 8.2rem; z-index: 120;
  display: flex; align-items: center; gap: .7rem; overflow: hidden;
  padding: 1rem 1.4rem 1.1rem; border-radius: 12px;
  font-weight: 700; font-size: 1.05rem; color: var(--kz-green);
  background: var(--kz-green-bg); border: 1px solid #B9E2C6;
  box-shadow: 0 18px 40px -18px rgba(27,127,58,.55);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translate(-50%, -16px) scale(.96);
  transition: opacity .3s ease, transform .45s cubic-bezier(.34,1.56,.64,1), visibility 0s linear .45s;
}
.adm-toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); transition-delay: 0s; }
.adm-toast i { font-size: 1.3rem; }
.adm-toast__progression {
  position: absolute; left: 0; bottom: 0; height: 3px; width: 100%;
  background: var(--kz-green); transform-origin: left; transform: scaleX(0);
}
.adm-toast.is-visible .adm-toast__progression { animation: kz-progression 4s linear forwards; }
@media (max-width: 640px) { .adm-toast { top: 7rem; width: calc(100% - 2rem); justify-content: center; } }


/* Clic sur « Déconnexion » : la page reste nette, sous un voile très léger (12 %) */
.adm-body::after {
  content: ''; position: fixed; inset: 0; z-index: 90; pointer-events: none;
  background: rgba(0, 32, 30, .12); opacity: 0; transition: opacity .3s ease;
}
html.adm-sortie-deconnexion .adm-body::after { opacity: 1; pointer-events: auto; }

/* =====================================================================
   5. CARROUSEL DE BANNIÈRES (accueil.php) — champs « fichier »
   ===================================================================== */
.adm-form-carrousel__intro { margin: -.4rem 0 1.1rem; font-size: .88rem; color: var(--kz-muted); }
.adm-form-carrousel__intro b { color: var(--kz-red); }
.adm-fichiers { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem 1rem; align-items: start; }
@media (min-width: 1100px) { .adm-fichiers:not(.adm-fichiers--modale) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.adm-fichiers--modale { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); margin-bottom: 1rem; }
.adm-fichiers__action { grid-column: -2 / -1; align-self: start; }
.adm-fichiers__action .adm-bouton.adm-bouton--compact { width: 100%; }

.adm-fichier { min-width: 0; }
.adm-fichier__label { display: block; margin-bottom: .4rem; font-weight: 600; font-size: .88rem; color: var(--kz-ink); transition: color .2s; }
.adm-fichier__label b { color: var(--kz-red); }
.adm-fichier__zone {
  position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; overflow: hidden; cursor: pointer;
  border: 2px dashed #B8D3D0; border-radius: 12px; text-align: center;
  background:
    linear-gradient(rgba(0,156,149,.06) 1px, transparent 1px) 0 0 / 14px 14px,
    linear-gradient(90deg, rgba(0,156,149,.06) 1px, transparent 1px) 0 0 / 14px 14px,
    var(--kz-paper);
  transition: border-color .25s, background-color .25s, transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .25s;
}
.adm-fichier__zone input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.adm-fichier__zone:hover { border-color: var(--kz-primary); background-color: #E9F6F4; }
.adm-fichier__zone:focus-within { outline: 3px solid var(--kz-accent); outline-offset: 2px; }
.adm-fichier.is-survol .adm-fichier__zone { border-style: solid; border-color: var(--kz-accent); transform: scale(1.03); box-shadow: 0 0 0 6px rgba(0,245,234,.18), 0 16px 30px -18px rgba(0,72,68,.6); }

.adm-fichier__vide { display: flex; flex-direction: column; align-items: center; gap: .35rem; padding: .6rem; transition: opacity .25s; }
.adm-fichier__icone {
  width: 2.8rem; height: 2.8rem; border-radius: 50%; display: grid; place-items: center; font-size: 1.15rem;
  color: var(--kz-primary); background: #fff; box-shadow: 0 8px 18px -10px rgba(0,72,68,.5);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), color .2s, background-color .2s;
}
.adm-fichier__zone:hover .adm-fichier__icone { transform: translateY(-4px); }
.adm-fichier.is-survol .adm-fichier__icone { color: #fff; background: var(--kz-primary); animation: kz-pulsation 1s ease-in-out infinite; }
@keyframes kz-pulsation { 50% { transform: translateY(-4px) scale(1.12); } }
.adm-fichier__texte { font-size: .82rem; font-weight: 600; color: var(--kz-ink); }
.adm-fichier__texte u { color: var(--kz-primary); text-underline-offset: 2px; }
.adm-fichier__regles { font-size: .7rem; color: var(--kz-muted); }

.adm-fichier__apercu { position: absolute; inset: 0; opacity: 0; transition: opacity .3s; }
.adm-fichier__apercu img { width: 100%; height: 100%; object-fit: cover; display: block; }
.adm-fichier.is-rempli .adm-fichier__apercu { opacity: 1; }
.adm-fichier.is-rempli .adm-fichier__vide { opacity: 0; }
.adm-fichier.is-rempli .adm-fichier__zone { border-style: solid; }
.adm-fichier.is-entree .adm-fichier__apercu img { animation: kz-image-entree .65s cubic-bezier(.2,.8,.2,1) both; }
@keyframes kz-image-entree { from { clip-path: inset(0 0 100% 0); transform: scale(1.08); filter: blur(6px); } to { clip-path: inset(0); transform: none; filter: none; } }

/* Survol d'une bannière remplie : invitation à la remplacer */
.adm-fichier.is-rempli .adm-fichier__zone::after {
  content: '\f093  Remplacer'; font-family: 'Font Awesome 6 Free', var(--kz-nav); font-weight: 900; font-size: .8rem;
  position: absolute; inset: 0; display: grid; place-items: center; color: #fff;
  background: rgba(0,48,45,.55); opacity: 0; transition: opacity .25s;
}
.adm-fichier.is-rempli .adm-fichier__zone:hover::after { opacity: 1; }

/* Coche verte : nouvelle image acceptée */
.adm-fichier.is-ok .adm-fichier__zone { border-color: var(--kz-green); box-shadow: 0 0 0 3px rgba(27,127,58,.15); }
.adm-fichier.is-ok .adm-fichier__zone::before {
  content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: .8rem;
  position: absolute; z-index: 2; top: .45rem; right: .45rem; width: 1.6rem; height: 1.6rem; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: var(--kz-green);
  animation: kz-coche .45s cubic-bezier(.34,1.56,.64,1) .2s both;
}
@keyframes kz-coche { from { transform: scale(0) rotate(-45deg); } to { transform: none; } }
.adm-fichier.is-existant .adm-fichier__zone { border-color: var(--kz-primary); }

/* Bannière facultative retirée (modification) */
.adm-fichier.is-retire .adm-fichier__zone { border-color: #E9A3A3; background: repeating-linear-gradient(-45deg, #FFF5F5 0 10px, #FDECEC 10px 20px); }

/* Analyse de l'image en cours */
.adm-fichier.is-analyse .adm-fichier__zone::before {
  content: ''; position: absolute; z-index: 3; width: 1.8rem; height: 1.8rem; border-radius: 50%;
  border: 3px solid rgba(0,156,149,.25); border-top-color: var(--kz-primary); animation: kz-tourne .7s linear infinite;
}

/* Image refusée / bannière obligatoire manquante : en rouge */
.adm-fichier.is-invalid .adm-fichier__label { color: var(--kz-red); }
.adm-fichier.is-invalid .adm-fichier__zone { border-color: var(--kz-red); background-color: #FFF7F7; }
.adm-fichier.is-invalid .adm-fichier__icone { color: var(--kz-red); }
.adm-fichier.is-shaking .adm-fichier__zone { animation: kz-secousse .42s ease; }
.adm-fichier__erreur { margin: .35rem 0 0; font-size: .82rem; font-weight: 700; color: var(--kz-red); }
.adm-fichier__erreur:empty { display: none; }

.adm-fichier__infos { display: flex; align-items: center; gap: .4rem; min-height: 1.9rem; margin-top: .35rem; }
.adm-fichier__nom { flex: 1; min-width: 0; font-size: .76rem; color: var(--kz-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-fichier.is-retire .adm-fichier__nom { color: var(--kz-red); font-weight: 600; }
.adm-fichier__retirer {
  flex: none; width: 1.8rem; height: 1.8rem; border: 0; border-radius: 50%; cursor: pointer;
  color: var(--kz-muted); background: var(--kz-paper); transition: background-color .2s, color .2s, transform .3s;
}
.adm-fichier__retirer[hidden] { display: none; }
.adm-fichier__retirer:hover { color: #fff; background: var(--kz-red); transform: rotate(90deg); }
.adm-form-carrousel.is-success .adm-fichier__zone { pointer-events: none; }

/* Titre et Sous-titre sous chaque bannière : champs stylisés et animés */
.adm-form-admin .adm-champ.adm-champ--btexte { margin: .55rem 0 0; animation: kz-btexte-entree .5s cubic-bezier(.2,.8,.2,1) both; }
.adm-champ--btexte.adm-champ--sous-titre { animation-delay: .08s; }
@keyframes kz-btexte-entree { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.adm-form-admin .adm-champ--btexte label { margin-bottom: .3rem; font-size: .8rem; }
.adm-champ--btexte label b { color: var(--kz-red); }
/* Bannières 3 et 4 : astérisque et mention « obligatoire » seulement quand une image est choisie */
.adm-champ--btexte .adm-champ__requis { display: inline-block; transition: transform .35s cubic-bezier(.34,1.56,.64,1), opacity .25s; }
.adm-champ--btexte:not(.is-exige) .adm-champ__requis { transform: scale(0); opacity: 0; }
.adm-champ__condition { font-weight: 500; font-size: .7rem; color: var(--kz-muted); }
.adm-champ--btexte.is-exige .adm-champ__condition { display: none; }
.adm-champ--btexte.is-devient-exige .adm-champ__saisie { animation: kz-devient-exige .7s ease; }
@keyframes kz-devient-exige { 30% { box-shadow: 0 0 0 4px rgba(198,40,40,.18); border-radius: 10px; } }
.adm-form-admin .adm-champ--btexte input { height: 2.7rem; padding-right: 3.9rem; font-size: .88rem; }
.adm-champ--titre input { font-family: var(--kz-nav); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.adm-champ--titre input::placeholder { font-weight: 500; letter-spacing: .02em; }
.adm-champ--btexte .adm-compteur { font-size: .68rem; right: .5rem; }
.adm-champ--btexte .adm-champ__saisie > i { left: .85rem; font-size: .9rem; transition: color .2s, transform .35s cubic-bezier(.34,1.56,.64,1); }
.adm-champ--btexte input { padding-left: 2.5rem; }
/* Soulignement dégradé qui se déploie à la saisie */
.adm-champ--btexte .adm-champ__saisie::after {
  content: ''; position: absolute; left: 10px; right: 10px; bottom: 0; height: 2px; border-radius: 2px; pointer-events: none;
  background: linear-gradient(90deg, var(--kz-primary), var(--kz-accent));
  transform: scaleX(0); transform-origin: left; transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.adm-champ--btexte .adm-champ__saisie:focus-within::after { transform: scaleX(1); }
.adm-champ--btexte .adm-champ__saisie:focus-within > i { transform: translateY(-50%) scale(1.2) rotate(-8deg); }
.adm-champ--btexte:focus-within label { color: var(--kz-primary); }
.adm-champ--btexte.is-rempli:not(.is-invalid) input { border-color: #A9D8C0; background: #FAFFFB; }
.adm-champ--btexte.is-invalid .adm-champ__saisie::after { background: var(--kz-red); }
.adm-champ--btexte .adm-champ__aide { font-size: .78rem; }

/* Zone « Enregistrer une bannière » : bannière déjà enregistrée = encart grisé et verrouillé */
.adm-fichier.is-verrouille { position: relative; filter: grayscale(1); opacity: .55; transition: filter .4s, opacity .4s; }
.adm-fichier.is-verrouille .adm-fichier__zone,
.adm-fichier.is-verrouille .adm-champ__saisie { pointer-events: none; cursor: not-allowed; }
.adm-fichier.is-verrouille .adm-fichier__zone::after { content: none; }
.adm-fichier.is-verrouille .adm-fichier__zone::before {
  content: '\f023'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: .8rem;
  position: absolute; z-index: 2; top: .45rem; right: .45rem; width: 1.7rem; height: 1.7rem; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: var(--kz-deep); animation: kz-coche .45s cubic-bezier(.34,1.56,.64,1) both;
}
.adm-fichier.is-verrouille .adm-fichier__label b,
.adm-fichier.is-verrouille .adm-champ__requis,
.adm-fichier.is-verrouille .adm-champ__condition { display: none; }
.adm-fichier.is-verrouille .adm-fichier__nom { white-space: normal; font-weight: 600; }
.adm-fichier.is-verrouille-vide .adm-fichier__label b { display: none; }
.adm-fichier.is-verrouille input:disabled { background: var(--kz-paper); color: var(--kz-ink); -webkit-text-fill-color: var(--kz-ink); opacity: 1; }
.adm-form-carrousel__complet {
  display: flex; align-items: center; gap: .55rem; margin: 0 0 1rem; padding: .7rem 1rem; border-radius: 10px;
  font-size: .9rem; font-weight: 600; color: var(--kz-deep); background: #E9F6F4; border: 1px solid #BFE3DF;
}
.adm-form-carrousel__complet[hidden] { display: none; }

/* Tableau : une icône « Supprimer » à droite de chaque bannière enregistrée */
.adm-banniere-cellule { display: inline-flex; align-items: center; gap: .45rem; transition: opacity .4s, transform .4s; }
.adm-banniere-cellule__media { min-width: 0; }
.adm-action.adm-action--mini { width: 1.9rem; height: 1.9rem; font-size: .8rem; flex: none; }
.adm-banniere-cellule.is-removing { opacity: 0; transform: scale(.8); }

/* Titre sous la vignette du tableau */
.adm-vignette__titre {
  display: block; max-width: 96px; margin-top: .3rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  font-family: var(--kz-nav); font-size: .62rem; font-weight: 600; letter-spacing: .03em; color: var(--kz-deep);
}

/* Lightbox plus large pour les 4 bannières */
.adm-modale__boite--large { width: min(1180px, 100%); }

/* Vignettes du tableau */
.adm-table--bannieres td { padding: .7rem .6rem; }
.adm-table--bannieres th { padding-left: .6rem; padding-right: .6rem; }
.adm-vignette {
  display: block; width: 96px; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden;
  box-shadow: 0 0 0 1px var(--kz-line); transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .25s;
}
.adm-vignette img { width: 100%; height: 100%; object-fit: cover; display: block; }
a.adm-vignette:hover { transform: scale(1.12); box-shadow: 0 12px 24px -12px rgba(0,72,68,.7), 0 0 0 2px var(--kz-accent); position: relative; z-index: 2; }
.adm-vignette--vide { display: grid; place-items: center; color: #B8C9C7; background: var(--kz-paper); font-size: .9rem; }
@media (max-width: 760px) { .adm-table--bannieres td { align-items: center; } }

/* =====================================================================
   6. QUOTA D'ESPACE DE STOCKAGE WEB (dashboard.php, concepteur du site)
   ===================================================================== */
.adm-accordeon--suite { margin-top: 1.5rem; }
.adm-form-quota__ligne { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 1rem; }
.adm-form-quota .adm-champ--quota { flex: 0 1 340px; margin-bottom: 0; }
.adm-form-quota .adm-bouton.adm-bouton--compact { margin-top: 1.72rem; min-width: 10rem; }
.adm-champ--quota input { padding-right: 3.6rem; -moz-appearance: textfield; }
.adm-champ--quota input::-webkit-outer-spin-button,
.adm-champ--quota input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.adm-quota-actuel { display: flex; align-items: center; gap: .5rem; margin: 1rem 0 0; font-size: .92rem; color: var(--kz-muted); }
.adm-quota-actuel i { color: var(--kz-primary); }
.adm-quota-actuel strong { color: var(--kz-deep); }

/* =====================================================================
   7. RÈGLE GRADUÉE DE L'ESPACE DE STOCKAGE (en face de « Tableau de bord »)
   ===================================================================== */
.adm-page-tete--aside { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.2rem 2rem; }
.adm-page-tete--aside > div:first-child { flex: 1 1 320px; min-width: 0; }
.adm-page-tete--aside > .adm-regle { flex: 0 1 540px; }
.adm-regle {
  width: min(540px, 100%); padding: .75rem 1.2rem .8rem; border-radius: 12px;
  background: #fff; border: 1px solid var(--kz-line); box-shadow: 0 12px 28px -24px rgba(0,72,68,.6);
  --kz-jauge: linear-gradient(90deg, var(--kz-primary), var(--kz-accent));
}
.adm-regle--ok        { --kz-jauge: linear-gradient(90deg, #3E8E1F, #7CC94E); }   /* vert prairie : jusqu'à 1000 Mo */
.adm-regle--attention { --kz-jauge: linear-gradient(90deg, #E8A100, #FFC94D); }   /* orange : 1001 à 1500 Mo */
.adm-regle--alerte    { --kz-jauge: linear-gradient(90deg, #B71C1C, #F05454); }   /* rouge : au-delà de 1500 Mo */
.adm-regle .adm-regle__titre {
  display: flex; align-items: center; gap: .45rem; margin: 0 0 2.2rem;
  font-family: var(--kz-nav); font-weight: 600; font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; color: var(--kz-deep);
}
.adm-regle__titre i { color: var(--kz-primary); }
.adm-regle__titre span { margin-left: auto; font-weight: 500; color: var(--kz-muted); text-transform: none; letter-spacing: 0; }

/* Piste et remplissage */
.adm-regle__piste { position: relative; height: 14px; border-radius: 7px; background: var(--kz-paper); box-shadow: inset 0 1px 3px rgba(0,72,68,.15); }
.adm-regle__remplissage {
  position: absolute; left: 0; top: 0; bottom: 0; width: var(--pct); border-radius: 7px; overflow: hidden;
  background: var(--kz-jauge); transform-origin: left; animation: kz-regle-remplir 1.6s cubic-bezier(.22,.9,.3,1) .35s both;
}
.adm-regle__remplissage::after {   /* reflet qui glisse en continu */
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%) 0 0 / 200% 100%;
  animation: kz-regle-reflet 2.6s linear 2s infinite;
}
@keyframes kz-regle-remplir { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes kz-regle-reflet  { from { background-position: 200% 0; } to { background-position: -100% 0; } }

/* Curseur + pourcentage */
.adm-regle__curseur {
  position: absolute; top: 50%; left: var(--pct); width: 4px; height: 26px; margin-left: -2px; border-radius: 2px;
  background: var(--kz-deep); transform: translateY(-50%); animation: kz-regle-curseur 1.6s cubic-bezier(.22,.9,.3,1) .35s both;
}
.adm-regle__curseur em {   /* l'étiquette glisse avec le curseur sans jamais sortir de la règle */
  position: absolute; bottom: calc(100% + 6px); left: 2px; transform: translateX(calc(-1 * var(--pct)));
  padding: .15rem .45rem; border-radius: 6px; white-space: nowrap;
  font-style: normal; font-family: var(--kz-nav); font-weight: 600; font-size: .72rem; color: #fff; background: var(--kz-deep);
}
.adm-regle__curseur::before { content: ''; position: absolute; bottom: 100%; left: 50%; margin-left: -4px; margin-bottom: -2px; border: 4px solid transparent; border-top-color: var(--kz-deep); }
@keyframes kz-regle-curseur { from { left: 0; } }
/* Message « quota atteint » : rouge gras, sur la ligne du pourcentage, juste après lui */
.adm-regle__curseur em .adm-regle__plein {
  position: absolute; top: 50%; left: calc(100% + .5rem); transform: translateY(-50%);
  white-space: nowrap; font-weight: 700; font-size: .78rem; color: var(--kz-red); background: none;
}
/* Quand la règle est pleine, le pourcentage est collé au bord droit : le message passe à sa gauche pour rester visible */
.adm-regle--plein .adm-regle__curseur em .adm-regle__plein { left: auto; right: calc(100% + .5rem); }

/* Graduations : petits traits tous les 5 %, grands traits libellés tous les 25 % */
.adm-regle__graduations {
  position: relative; height: 1.75rem; margin-top: 4px;
  background: repeating-linear-gradient(90deg, #A9C3C0 0 1px, transparent 1px 5%) 0 0 / calc(100% + 1px) 6px no-repeat;
  animation: kz-apparaitre .6s ease .2s both;
}
.adm-regle__grad { position: absolute; top: 0; left: var(--p); opacity: 0; animation: kz-apparaitre .4s ease both; animation-delay: calc(.5s + var(--i) * .12s); }
.adm-regle__grad::before { content: ''; position: absolute; top: 0; left: -1px; width: 2px; height: 11px; background: var(--kz-deep); }
.adm-regle__grad b {
  position: absolute; top: 12px; left: 0; transform: translateX(-50%); white-space: nowrap;
  font-family: var(--kz-nav); font-weight: 500; font-size: .7rem; font-variant-numeric: tabular-nums; color: var(--kz-muted);
}
.adm-regle__grad:first-child b { transform: none; }
.adm-regle__grad:last-child b  { transform: translateX(-100%); }
.adm-regle .adm-regle__resume { margin: .35rem 0 0; font-size: .82rem; color: var(--kz-muted); }
.adm-regle__resume strong { color: var(--kz-deep); }
.adm-regle--alerte .adm-regle__resume strong { color: var(--kz-red); }
.adm-regle.adm-regle--vide .adm-regle__titre { margin-bottom: .4rem; }
@media (max-width: 760px) { .adm-regle { width: 100%; } }


/* Quota d'espace Web atteint : champs « fichier » grisés partout */
html[data-quota-plein] .adm-fichier__zone,
html[data-quota-plein] .adm-fichier__infos { filter: grayscale(1); opacity: .5; }   /* le titre et le sous-titre restent modifiables */
html[data-quota-plein] .adm-fichier__zone,
html[data-quota-plein] .adm-fichier__retirer { pointer-events: none; cursor: not-allowed; }
html[data-quota-plein] input[type="file"] { cursor: not-allowed; }
.adm-quota-plein {
  display: flex; align-items: center; gap: .6rem; margin: -.4rem 0 1.4rem; padding: .8rem 1.1rem; border-radius: 10px;
  font-weight: 700; font-size: .92rem; color: var(--kz-red); background: var(--kz-red-bg); border: 1px solid #F5C2C2;
  animation: kz-apparaitre .4s ease both;
}


/* Alerte « espace colorimétrique sRGB » (dashboard.php, au-dessus du titre) */
.adm-page-tete .adm-alerte-info {
  display: inline-flex; align-items: flex-start; gap: .65rem; max-width: 100%; margin: 0 0 1rem;
  padding: .75rem 1rem; border-radius: 10px;
  font-weight: 600; font-size: .92rem; line-height: 1.45; color: #000;
  background: #FFF6C2; border: 1px solid #F5DD6B;          /* jaune poussin clair */
}
.adm-alerte-info i { margin-top: .15rem; font-size: 1.05rem; color: #F2B705; }   /* triangle jaune « Attention » */
.adm-page-tete .adm-alerte-info strong { font-weight: 800; }

/* Consignes des bannières (accueil.php) : rouge gras sur fond rouge clair */
.adm-alerte-regles {
  display: flex; align-items: flex-start; gap: .6rem; margin: -.3rem 0 1.2rem; padding: .8rem 1rem; border-radius: 10px;
  font-weight: 600; font-size: .9rem; line-height: 1.45; color: var(--kz-red);
  background: var(--kz-red-bg); border: 1px solid #F5C2C2;
}
.adm-alerte-regles i { margin-top: .15rem; }
.adm-alerte-regles strong { font-weight: 800; }


/* Préparation automatique des images : mention et compte rendu */
.adm-fichier__auto { font-size: .66rem; color: var(--kz-primary); font-style: italic; }
.adm-fichier__note { margin: .3rem 0 0; font-size: .74rem; line-height: 1.35; color: var(--kz-green); }
.adm-fichier__note:empty { display: none; }
.adm-fichier__note::before { content: '\f0d0  '; font-family: 'Font Awesome 6 Free'; font-weight: 900; }
.adm-table--bannieres .adm-th-action { width: auto; }

/* =====================================================================
   8. SOCIÉTÉ — accordéon « À propos de notre société » (societe.php)
   ===================================================================== */
.adm-societe { display: grid; grid-template-columns: minmax(220px, 280px) minmax(0, 1fr); gap: 1.6rem 2.2rem; align-items: start; }
@media (max-width: 860px) { .adm-societe { grid-template-columns: 1fr; } .adm-fichier--cercle { max-width: 300px; } }
.adm-societe__textes .adm-champ { margin-bottom: 1.1rem; }
.adm-societe__textes .adm-form-admin__actions { justify-content: flex-end; }

/* Image circulaire : zone carrée, aperçu rond qui tourne légèrement à l'arrivée */
.adm-fichier--cercle .adm-fichier__zone { aspect-ratio: 1 / 1; border-radius: 50%; }
.adm-fichier--cercle .adm-fichier__apercu img { border-radius: 50%; }
.adm-fichier--cercle.is-entree .adm-fichier__apercu img { animation: kz-cercle-entree .7s cubic-bezier(.2,.8,.2,1) both; }
@keyframes kz-cercle-entree { from { transform: scale(.6) rotate(-25deg); opacity: 0; filter: blur(6px); } to { transform: none; opacity: 1; filter: none; } }
.adm-fichier--cercle.is-ok .adm-fichier__zone::before { top: 12%; right: 12%; }
.adm-fichier--cercle .adm-fichier__zone:hover { box-shadow: 0 0 0 6px rgba(0,156,149,.12); }
.adm-fichier__regles-bas { margin: .2rem 0 0; font-size: .74rem; line-height: 1.45; color: var(--kz-muted); text-align: center; }
.adm-fichier__regles-bas em { color: var(--kz-primary); }
.adm-fichier--cercle .adm-fichier__infos { justify-content: center; text-align: center; }
.adm-fichier--cercle .adm-fichier__nom { flex: 0 1 auto; }

/* Éditeur de texte simple : Gras / Italique / Souligné */
.adm-champ--editeur label { cursor: default; }
.adm-champ--editeur label b { color: var(--kz-red); }
.adm-editeur {
  position: relative; border: 1.5px solid var(--kz-line); border-radius: 10px; background: #fff; overflow: hidden;
  transition: border-color .2s, box-shadow .25s, background-color .2s;
}
.adm-editeur:hover { border-color: #A9C9C6; }
.adm-champ--editeur.is-focus .adm-editeur { border-color: var(--kz-primary); box-shadow: 0 0 0 4px rgba(0,156,149,.15); }
.adm-champ--editeur.is-focus label { color: var(--kz-primary); }
.adm-editeur::after {   /* soulignement dégradé animé */
  content: ''; position: absolute; left: 10px; right: 10px; bottom: 0; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--kz-primary), var(--kz-accent));
  transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.2,.8,.2,1);
}
.adm-champ--editeur.is-focus .adm-editeur::after { transform: scaleX(1); }
.adm-editeur__barre {
  display: flex; align-items: center; gap: .3rem; padding: .4rem .5rem; background: var(--kz-paper); border-bottom: 1px solid var(--kz-line);
}
.adm-editeur__btn {
  width: 2.1rem; height: 2.1rem; display: grid; place-items: center; border: 0; border-radius: 8px; cursor: pointer;
  color: var(--kz-deep); background: transparent; font-size: .85rem;
  transition: background-color .2s, color .2s, transform .25s cubic-bezier(.34,1.56,.64,1);
}
.adm-editeur__btn:hover { background: #fff; color: var(--kz-primary); transform: translateY(-2px); box-shadow: 0 6px 14px -10px rgba(0,72,68,.6); }
.adm-editeur__btn.is-actif { color: #fff; background: var(--kz-primary); }
.adm-editeur__btn.is-clic { animation: kz-editeur-clic .35s ease; }
@keyframes kz-editeur-clic { 40% { transform: scale(.85); } }
.adm-editeur__btn:focus-visible { outline: 3px solid var(--kz-accent); outline-offset: 1px; }
.adm-editeur__compteur.adm-compteur { position: static; transform: none; margin-left: auto; }
.adm-editeur__compteur.adm-compteur.is-max { transform: scale(1.08); }
.adm-editeur__zone {
  min-height: 9.5rem; max-height: 22rem; overflow-y: auto; padding: .85rem 1rem 1rem;
  font-size: .95rem; line-height: 1.65; color: var(--kz-ink); text-align: justify; outline: none;
  hyphens: none; -webkit-hyphens: none; word-break: normal; overflow-wrap: normal;   /* aucune coupure de mot : un mot trop long passe entier à la ligne */
}
.adm-editeur__zone:empty::before { content: 'Saisissez le texte…'; color: #9AB0AD; pointer-events: none; }
.adm-champ--editeur.is-rempli:not(.is-invalid) .adm-editeur { border-color: #A9D8C0; }
.adm-champ--editeur.is-invalid label { color: var(--kz-red); }
.adm-champ--editeur.is-invalid .adm-editeur { border-color: var(--kz-red); background: #FFF7F7; }
.adm-champ--editeur.is-invalid .adm-editeur::after { background: var(--kz-red); }
.adm-champ--editeur.is-shaking .adm-editeur { animation: kz-secousse .42s ease; }
.adm-form-societe.is-success .adm-editeur__zone,
.adm-form-societe.is-success .adm-fichier__zone { pointer-events: none; }
.adm-form-admin .adm-societe__textes .adm-champ.adm-champ--btexte { margin: 0 0 1.1rem; }
.adm-form-admin.adm-form-valeurs .adm-champ.adm-champ--btexte { margin: 0 0 1.1rem; }

/* Engagements de notre société : 5 champs alignés horizontalement */
.adm-engagements { display: grid; grid-template-columns: 1fr; gap: 0 1.2rem; }   /* 3 champs par ligne */
@media (min-width: 640px)  { .adm-engagements { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .adm-engagements { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.adm-form-admin.adm-form-engagements .adm-champ.adm-champ--btexte { margin: 0 0 1.1rem; animation-delay: calc(var(--i, 0) * .07s); }
.adm-form-engagements .adm-champ__saisie > i { font-weight: 900; }
.adm-form-admin.adm-form-engagements .adm-champ--engagement input { font-size: .88rem; padding-left: 2.2rem; }

/* Mot du DG : image carrée (645 × 645) aux coins arrondis */
.adm-fichier--carre .adm-fichier__zone { aspect-ratio: 1 / 1; border-radius: 14px; }
.adm-fichier--carre .adm-fichier__apercu img { border-radius: 12px; }
.adm-fichier--carre.is-entree .adm-fichier__apercu img { animation: kz-cercle-entree .7s cubic-bezier(.2,.8,.2,1) both; }
.adm-fichier--carre .adm-fichier__infos { justify-content: center; text-align: center; }
.adm-fichier--carre .adm-fichier__nom { flex: 0 1 auto; }
.adm-form-admin.adm-form-motdg .adm-champ.adm-champ--btexte { margin: 0 0 1.1rem; }

/* Organigramme : zone large au format 2400 × 1300 */
.adm-fichier--large { max-width: 760px; }
.adm-fichier--large .adm-fichier__zone { aspect-ratio: 24 / 13; border-radius: 12px; background-color: #fff; }
.adm-fichier--large .adm-fichier__apercu img { object-fit: contain; background: #fff; }
.adm-fichier--large .adm-fichier__regles-bas { text-align: left; }
/* Bandeau illustratif (1920 × 820) : aperçu au format exact du bandeau */
.adm-fichier--bandeau .adm-fichier__zone { aspect-ratio: 1920 / 820; }
.adm-fichier--bandeau .adm-fichier__apercu img { object-fit: cover; }
.adm-form-organigramme .adm-form-admin__actions { max-width: 760px; }
.adm-form-organigramme .adm-alerte { max-width: 760px; }

/* Démarche qualité : paragraphe sur toute la largeur, puis 5 démarches par 3 par ligne */
.adm-form-qualite .adm-champ--editeur { margin-bottom: 1.2rem; }
.adm-form-admin.adm-form-qualite .adm-champ.adm-champ--btexte { margin: 0 0 1.1rem; animation-delay: calc(var(--i, 0) * .07s); }
.adm-form-admin.adm-form-qualite .adm-champ--engagement input { font-size: .88rem; padding-left: 2.2rem; }
.adm-form-qualite .adm-champ__saisie > i { font-weight: 900; }

/* Personnel : 3 couples Type / Nombre alignés horizontalement */
.adm-personnel { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 1000px) { .adm-personnel { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.adm-couple {
  margin: 0; padding: .9rem 1rem .2rem; border: 1px solid var(--kz-line); border-radius: 12px; background: #FBFEFD;
  animation: kz-btexte-entree .5s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i, 0) * .08s);
  transition: border-color .25s, box-shadow .25s;
}
.adm-couple:focus-within { border-color: var(--kz-primary); box-shadow: 0 10px 24px -20px rgba(0,72,68,.7); }
.adm-couple legend { padding: 0 .4rem; font-family: var(--kz-nav); font-weight: 600; font-size: .8rem; color: var(--kz-deep); }
.adm-couple legend span { display: inline-grid; place-items: center; width: 1.4rem; height: 1.4rem; margin-right: .2rem; border-radius: 50%; font-size: .72rem; color: #fff; background: var(--kz-primary); }
.adm-couple__champs { display: grid; grid-template-columns: minmax(0, 1fr) 7.6rem; gap: 0 .6rem; }
@media (max-width: 420px) { .adm-couple__champs { grid-template-columns: 1fr; } }
.adm-form-admin.adm-form-personnel .adm-champ.adm-champ--btexte { margin: 0 0 .8rem; }
.adm-form-admin.adm-form-personnel .adm-champ--btexte input { font-size: .88rem; padding-left: 2.2rem; }
.adm-champ--nombre input { -moz-appearance: textfield; font-variant-numeric: tabular-nums; }
.adm-champ--nombre input::-webkit-outer-spin-button, .adm-champ--nombre input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.adm-form-personnel .adm-personnel { margin-bottom: 1rem; }

/* =====================================================================
   PARCS MATÉRIELS : trios Matériel / Description / Nombre + boutons + / −
   ===================================================================== */
.adm-form-parcs { padding: 1.2rem 1.2rem .4rem; border: 1px solid var(--kz-line); border-radius: 14px; background: #FBFEFD; }
.adm-form-parcs + .adm-form-parcs { margin-top: 1.4rem; }
.adm-parcs__titre { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.adm-parcs__titre small { margin-left: auto; font-family: var(--kz-nav); font-size: .72rem; font-weight: 600; padding: .2rem .6rem; border-radius: 999px; color: var(--kz-primary); background: #E6F6F4; }
.adm-parcs__icone { display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 10px; color: #fff; background: var(--kz-primary); font-size: .95rem; }
/* Message d'introduction aligné à gauche sur les cadres des données, avec marges */
.adm-accordeon__contenu > .adm-parcs__intro {
  margin: 1.3rem 1.4rem 1.4rem; padding: 0 .3rem; text-align: left; line-height: 1.75;
}
@media (max-width: 760px) { .adm-accordeon__contenu > .adm-parcs__intro { margin-left: 1rem; margin-right: 1rem; } }
/* Signe + vert dans un cadre agrandi */
.adm-intro-plus, .adm-form-carrousel__intro b.adm-intro-plus {
  display: inline-grid; place-items: center; width: 1.75rem; height: 1.75rem; margin: 0 .2rem; vertical-align: middle;
  border: 2px solid #1B8A3A; border-radius: 7px; background: #fff;
  color: #1B8A3A; font-size: 1.15rem; font-weight: 700; line-height: 1;
}

.adm-trio {
  display: grid; grid-template-columns: 2rem minmax(0, 1fr) minmax(0, 1.25fr) 8rem 2.9rem; gap: 0 .75rem; align-items: start;
  padding: .55rem .6rem 0; border-radius: 12px; transition: background-color .25s;
}
.adm-trio:hover { background: #F2FAF9; }
.adm-trio__num {
  align-self: start; margin-top: 2.05rem; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
  font-family: var(--kz-nav); font-weight: 600; font-size: .8rem; color: var(--kz-primary); border: 2px solid currentColor;
}
.adm-form-admin.adm-form-parcs .adm-champ.adm-champ--btexte { margin: 0 0 .7rem; animation: none; }
.adm-form-admin.adm-form-parcs .adm-champ--btexte input { font-size: .88rem; padding-left: 2.2rem; }
.adm-form-parcs .adm-champ--trio:not(.is-exige) .adm-champ__requis { transform: scale(0); opacity: 0; }

/* Boutons + (vert) et − (rouge), encadrés, fond blanc */
.adm-trio__bouton {
  align-self: start; margin-top: 1.72rem; width: 2.9rem; height: 2.7rem; border-radius: 10px; cursor: pointer;
  display: grid; place-items: center; font-size: 1.05rem; background: #fff; border: 2px solid;
  transition: background-color .25s, color .25s, border-color .25s, transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .25s;
}
.adm-trio__bouton--plus { color: #1B8A3A; border-color: #1B8A3A; }
.adm-trio__bouton--plus:hover:not(:disabled) { color: #fff; background: var(--kz-deep); border-color: var(--kz-deep); transform: rotate(90deg) scale(1.06); box-shadow: 0 10px 20px -12px rgba(0,72,68,.8); }
.adm-trio__bouton--moins { color: var(--kz-red); border-color: var(--kz-red); }
.adm-trio__bouton--moins:hover { color: #fff; background: #8E1515; border-color: #8E1515; transform: scale(1.08); box-shadow: 0 10px 20px -12px rgba(142,21,21,.8); }
.adm-trio__bouton:disabled { opacity: .4; cursor: not-allowed; }
.adm-trio__bouton:focus-visible { outline: 3px solid var(--kz-accent); outline-offset: 2px; }

/* Arrivée / départ d'un trio */
.adm-trio.is-nouveau { animation: kz-trio-entree .45s cubic-bezier(.2,.8,.2,1) both; }
@keyframes kz-trio-entree { from { opacity: 0; transform: translateY(-12px) scale(.98); max-height: 0; } to { opacity: 1; transform: none; max-height: 200px; } }
.adm-trio.is-retire { animation: kz-trio-sortie .38s ease both; overflow: hidden; }
@keyframes kz-trio-sortie { to { opacity: 0; transform: translateX(40px); max-height: 0; padding-top: 0; } }

@media (max-width: 900px) {
  .adm-trio { grid-template-columns: 2rem minmax(0, 1fr) 2.9rem; }
  .adm-trio > .adm-champ--trio { grid-column: 2 / -1; }
  .adm-trio > .adm-champ--trio:first-of-type { grid-column: 2; }
  .adm-trio__num { grid-row: 1; grid-column: 1; }
  .adm-trio__bouton { grid-row: 1; grid-column: 3; }
  .adm-trio { padding-bottom: .4rem; border-bottom: 1px dashed var(--kz-line); border-radius: 0; }
}
.adm-parcs__icone i, .adm-sous-titre .adm-parcs__icone i { color: #fff; margin: 0; }
@media (max-width: 520px) { .adm-form-parcs { padding: 1rem .7rem .3rem; } .adm-trio { gap: 0 .5rem; padding-left: .2rem; padding-right: .2rem; } }

/* =====================================================================
   metiers.php — accordéon « Métiers de notre société » (4 formulaires)
   ===================================================================== */
.adm-form-metier { padding: 1.3rem 1.3rem .5rem; border: 1px solid var(--kz-line); border-radius: 14px; background: #FBFEFD;
  animation: kz-metier-entree .6s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i, 0) * 90ms); }
.adm-form-metier + .adm-form-metier { margin-top: 1.5rem; }
@keyframes kz-metier-entree { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.adm-metier__titre { line-height: 1.35; }
.adm-metier__titre [data-titre-apercu] { flex: 1 1 0; min-width: 0; overflow-wrap: anywhere; }
.adm-metier__num { font-family: var(--kz-nav); font-weight: 700; font-size: .85rem; letter-spacing: .02em; flex: 0 0 auto; }
.adm-metier { grid-template-columns: minmax(240px, 340px) minmax(0, 1fr); }
@media (max-width: 860px) { .adm-metier { grid-template-columns: 1fr; } .adm-fichier--metier { max-width: 420px; } }
.adm-fichier--metier .adm-fichier__zone { aspect-ratio: 1346 / 1010; border-radius: 12px; }
.adm-fichier--metier .adm-fichier__apercu img { object-fit: cover; border-radius: 10px; }
.adm-fichier--metier .adm-fichier__infos { justify-content: center; text-align: center; }
.adm-fichier--metier .adm-fichier__regles-bas { text-align: center; }
.adm-champ__precision { font-weight: 500; font-size: .78rem; color: #6B7F7C; }
.adm-champ--lignes .adm-editeur__zone { min-height: 8.5rem; }
@media (prefers-reduced-motion: reduce) { .adm-form-metier { animation: none; } }
.adm-form-metier .adm-champ--editeur:not(.adm-champ--lignes) .adm-editeur__zone { min-height: 6rem; }

/* =====================================================================
   realisations.php — « Réalisations de notre société : Projets en cours »
   ===================================================================== */
.adm-form-projet { padding: 1.3rem 1.3rem .5rem; border: 1px solid var(--kz-line); border-radius: 14px; background: #FBFEFD; transition: border-color .3s, box-shadow .3s; }
.adm-form-projet.is-edition { border-color: #1E73E8; box-shadow: 0 0 0 3px rgba(30,115,232,.12); background: #FAFCFF; }
.adm-form-projet.is-recharge .adm-societe { animation: kz-metier-entree .6s cubic-bezier(.2,.8,.2,1) both; }
.adm-form-projet .adm-parcs__titre .adm-parcs__icone { transition: background-color .3s; }
.adm-form-projet.is-edition .adm-parcs__titre .adm-parcs__icone { background: #1E73E8; }
.adm-projet__mode { font-family: var(--kz-nav); font-size: .72rem; font-weight: 600; padding: .2rem .65rem; border-radius: 999px; color: #1E73E8; background: #E8F1FD; animation: kz-btexte-entree .4s ease both; }
.adm-projet__duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 1rem; }
@media (max-width: 560px) { .adm-projet__duo { grid-template-columns: 1fr; } }
.adm-champ--court .adm-editeur__zone { min-height: 5.5rem; }
.adm-champ.is-facultatif .adm-champ__precision { margin-left: .2rem; }

/* Année : champ désactivé colorisé « En cours » */
.adm-champ--annee .adm-champ__saisie { position: relative; }
.adm-form-admin .adm-champ--annee input:disabled {
  color: #9A5B00; font-weight: 700; letter-spacing: .03em; cursor: not-allowed; opacity: 1; -webkit-text-fill-color: #9A5B00;
  border-color: #F3C46B; background: linear-gradient(90deg, #FFF6E2, #FFEFC9 50%, #FFF6E2); background-size: 200% 100%;
  animation: kz-annee-reflet 3.2s ease-in-out infinite;
}
.adm-champ--annee .adm-champ__saisie > i { color: #D98A00; animation: kz-sablier 2.4s ease-in-out infinite; }
.adm-annee__pastille { position: absolute; right: .9rem; top: 50%; width: .55rem; height: .55rem; margin-top: -.275rem; border-radius: 50%; background: #F29F05; box-shadow: 0 0 0 0 rgba(242,159,5,.55); animation: kz-pastille 1.8s ease-out infinite; }
.adm-annee__aide { color: var(--kz-muted) !important; font-size: .74rem; }
@keyframes kz-annee-reflet { 0%, 100% { background-position: 0 0; } 50% { background-position: 100% 0; } }
@keyframes kz-sablier { 0%, 70% { transform: rotate(0); } 85%, 100% { transform: rotate(180deg); } }
@keyframes kz-pastille { 0% { box-shadow: 0 0 0 0 rgba(242,159,5,.55); } 100% { box-shadow: 0 0 0 .55rem rgba(242,159,5,0); } }

/* Bouton « Annuler la modification » */
.adm-bouton-annuler { display: inline-flex; align-items: center; gap: .45rem; margin-right: auto; padding: .55rem .9rem; border: 1px solid var(--kz-line); border-radius: 10px; background: #fff; color: var(--kz-muted); font-family: var(--kz-nav); font-size: .82rem; cursor: pointer; transition: color .2s, border-color .2s, transform .2s; animation: kz-btexte-entree .4s ease both; }
.adm-bouton-annuler:hover { color: var(--kz-red); border-color: var(--kz-red); transform: translateY(-2px); }
.adm-bouton-annuler[hidden] { display: none; }
.adm-form-projet .adm-form-admin__actions { gap: .8rem; flex-wrap: wrap; }

/* Tableau des projets */
.adm-projets-tete { margin-top: 2rem; }
.adm-total { font-family: var(--kz-nav); font-size: .8rem; font-weight: 600; color: var(--kz-primary); }
.adm-table--projets td { vertical-align: top; }
.adm-projet-cellule { display: flex; align-items: center; gap: .7rem; min-width: 12rem; }
.adm-projet-cellule img { width: 54px; height: 40px; object-fit: cover; border-radius: 6px; flex: none; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.adm-projet-cellule strong { font-weight: 600; line-height: 1.35; color: var(--kz-ink); }
.adm-projet-desc { min-width: 14rem; max-width: 26rem; font-size: .86rem; line-height: 1.5; color: #3F5653; text-align: justify; }
.adm-actions.adm-actions--trois, .adm-th-action.adm-th-action--trois { width: 7.4rem; }
.adm-action--finaliser { color: #1B7F3A; }
.adm-action--finaliser:hover { color: #0E4F22; background: var(--kz-green-bg); transform: translateY(-2px); }
.adm-confirm--finaliser .adm-confirm__icone { color: var(--kz-green); background: var(--kz-green-bg); }
.adm-confirm--finaliser .adm-confirm__icone::after { border-color: var(--kz-green); }
@media (max-width: 760px) {
  .adm-projet-cellule { min-width: 0; justify-content: flex-end; text-align: right; }
  .adm-projet-desc { max-width: none; min-width: 0; text-align: right; }
}
@media (prefers-reduced-motion: reduce) {
  .adm-form-admin .adm-champ--annee input:disabled, .adm-champ--annee .adm-champ__saisie > i, .adm-annee__pastille { animation: none; }
}

/* =====================================================================
   realisations.php — « Projets réalisés » : dates, période, lightbox
   ===================================================================== */
/* Champs date colorisés : début en vert, fin en rouge */
.adm-champ--date { --dc: #1B7F3A; --dc-bg: #EAF7EE; --dc-ligne: #9ED7B0; margin-bottom: 1.1rem; animation: kz-btexte-entree .5s cubic-bezier(.2,.8,.2,1) both; }
.adm-champ--date-fin { --dc: #C62828; --dc-bg: #FDEFEF; --dc-ligne: #F2AAAA; animation-delay: .08s; }
.adm-form-admin .adm-champ--date label { margin-bottom: .3rem; font-size: .8rem; color: var(--dc); }
.adm-champ--date label b { color: var(--kz-red); }
.adm-date { position: relative; display: flex; align-items: center; }
.adm-date__icone {
  position: absolute; left: .45rem; z-index: 1; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 8px;
  color: #fff; background: var(--dc); font-size: .85rem; pointer-events: none;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .3s;
}
.adm-form-admin .adm-champ--date input[type="date"] {
  width: 100%; height: 2.7rem; padding: 0 .8rem 0 2.9rem; font-family: var(--kz-nav); font-size: .9rem; font-weight: 600; letter-spacing: .02em;
  color: var(--dc); background: linear-gradient(90deg, var(--dc-bg), #fff 75%); border: 1.5px solid var(--dc-ligne); border-radius: 10px;
  color-scheme: light; cursor: pointer; transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.adm-champ--date input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .7; transition: opacity .2s, transform .3s; }
.adm-champ--date input[type="date"]::-webkit-calendar-picker-indicator:hover { opacity: 1; transform: scale(1.15); }
.adm-form-admin .adm-champ--date input[type="date"]:hover { border-color: var(--dc); }
.adm-form-admin .adm-champ--date input[type="date"]:focus { outline: none; border-color: var(--dc); box-shadow: 0 0 0 4px color-mix(in srgb, var(--dc) 18%, transparent); }
.adm-champ--date:focus-within .adm-date__icone { transform: scale(1.1) rotate(-8deg); box-shadow: 0 6px 14px -4px var(--dc); }
.adm-champ--date:not(.is-rempli) input[type="date"] { color: #8FA5A2; font-weight: 500; }
.adm-champ--date.is-pop .adm-date__icone { animation: kz-date-pop .55s cubic-bezier(.34,1.56,.64,1); }
@keyframes kz-date-pop { 0% { transform: scale(1); } 40% { transform: scale(1.3) rotate(10deg); } 100% { transform: scale(1); } }
.adm-date__exemple { margin: .3rem 0 0; font-size: .74rem; color: var(--kz-muted); }
.adm-champ--date.is-invalid input[type="date"] { border-color: var(--kz-red); background: var(--kz-red-bg); color: var(--kz-red); }
.adm-champ--date.is-invalid .adm-date__icone { background: var(--kz-red); }
.adm-champ--date .adm-champ__aide { margin-top: .25rem; }
.adm-periode { gap: 0 1rem; }
.adm-projet .adm-periode .adm-champ--date { margin-bottom: .4rem; }

/* Formulaire des projets réalisés : en-tête vert */
.adm-form-projet--realise:not(.is-edition) .adm-parcs__titre .adm-parcs__icone { background: #1B7F3A; }

/* Colonne « Période » : début (vert) – fin (rouge) */
.adm-periode-cellule { display: inline-flex; flex-wrap: nowrap; align-items: center; gap: .3rem; font-family: var(--kz-nav); font-size: .8rem; font-weight: 600; white-space: nowrap; }
.adm-periode-cellule__debut { padding: .18rem .5rem; border-radius: 999px; color: #1B7F3A; background: #E6F5EA; }
.adm-periode-cellule__fin   { padding: .18rem .5rem; border-radius: 999px; color: #C62828; background: #FDECEC; }
.adm-periode-cellule__sep { color: var(--kz-muted); }
.adm-periode-cellule__vide, .adm-periode-cellule--vide { color: var(--kz-muted); font-weight: 500; }
@media (max-width: 760px) { .adm-periode-cellule { justify-content: flex-end; } }

/* Lightbox « Définir la période » */
.adm-modale--periode .adm-periode-boite { width: min(560px, 100%); padding: 2rem 1.8rem 1.5rem; text-align: center; overflow: visible; }
.adm-modale--periode .adm-modale__boite { transform: translateY(24px) scale(.85); transition: opacity .25s ease, transform .5s cubic-bezier(.34,1.56,.64,1); }
.adm-modale--periode.is-open .adm-modale__boite { transform: none; }
.adm-periode-boite__icone {
  display: grid; place-items: center; width: 4.2rem; height: 4.2rem; margin: 0 auto .9rem; border-radius: 18px; font-size: 1.7rem; color: #fff;
  background: linear-gradient(135deg, #1B7F3A 0%, var(--kz-primary) 50%, #C62828 100%); box-shadow: 0 14px 28px -12px rgba(0,72,68,.6);
}
.adm-modale--periode.is-open .adm-periode-boite__icone { animation: kz-periode-icone .8s cubic-bezier(.34,1.56,.64,1) .1s both; }
@keyframes kz-periode-icone { from { transform: scale(.4) rotate(-25deg); opacity: 0; } to { transform: none; opacity: 1; } }
.adm-periode-boite__titre { margin: 0; font-family: var(--kz-titre); font-weight: 700; font-size: 1.55rem; color: var(--kz-ink); }
.adm-periode-boite__qui { margin: .35rem 0 1.2rem; font-size: .88rem; color: var(--kz-muted); }
.adm-form-periode { text-align: left; }
.adm-form-periode .adm-periode { display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 520px) { .adm-form-periode .adm-periode { grid-template-columns: 1fr; } }
.adm-form-periode .adm-form-admin__actions { justify-content: center; margin-top: .4rem; }
.adm-form-periode .adm-alerte { margin-top: .4rem; }
@media (prefers-reduced-motion: reduce) { .adm-champ--date, .adm-champ--date.is-pop .adm-date__icone, .adm-modale--periode.is-open .adm-periode-boite__icone { animation: none; } }

/* « Annuler la modification » : animé pour attirer l'attention (projets en cours et réalisés) */
.adm-form-projet .adm-bouton-annuler {
  position: relative; overflow: hidden; isolation: isolate;
  color: #B42318; border-color: #F3B4AE; background: #FFF6F5;
  animation: kz-btexte-entree .4s ease both, kz-annuler-halo 2s ease-in-out .4s infinite;
}
.adm-form-projet .adm-bouton-annuler i {
  display: inline-grid; place-items: center; width: 1.25rem; height: 1.25rem; border-radius: 50%;
  color: #fff; background: #D92D20; font-size: .7rem;
  animation: kz-annuler-icone 2.6s ease-in-out .6s infinite;
}
.adm-form-projet .adm-bouton-annuler::after {        /* reflet lumineux qui balaie le bouton */
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.85) 50%, transparent 70%);
  transform: translateX(-120%); animation: kz-annuler-reflet 2.6s ease-in-out 1s infinite;
}
.adm-form-projet .adm-bouton-annuler:hover, .adm-form-projet .adm-bouton-annuler:focus-visible {
  color: #fff; background: #D92D20; border-color: #D92D20; animation-play-state: paused; transform: translateY(-2px);
}
.adm-form-projet .adm-bouton-annuler:hover i, .adm-form-projet .adm-bouton-annuler:focus-visible i { color: #D92D20; background: #fff; animation: none; transform: rotate(90deg); transition: transform .3s; }
@keyframes kz-annuler-halo { 0%, 100% { box-shadow: 0 0 0 0 rgba(217,45,32,.35); } 50% { box-shadow: 0 0 0 7px rgba(217,45,32,0); } }
@keyframes kz-annuler-icone { 0%, 70%, 100% { transform: rotate(0) scale(1); } 76% { transform: rotate(-18deg) scale(1.15); } 82% { transform: rotate(16deg) scale(1.15); } 88% { transform: rotate(-10deg); } 94% { transform: rotate(6deg); } }
@keyframes kz-annuler-reflet { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
@media (prefers-reduced-motion: reduce) {
  .adm-form-projet .adm-bouton-annuler, .adm-form-projet .adm-bouton-annuler i, .adm-form-projet .adm-bouton-annuler::after { animation: none; }
}

/* =====================================================================
   realisations.php — icône « Types » + lightbox « Types de projets »
   ===================================================================== */
.adm-champ__entete { display: flex; align-items: center; gap: .55rem; margin-bottom: .3rem; }
.adm-form-admin .adm-champ__entete label { margin-bottom: 0; }
.adm-types-bouton {
  position: relative; display: inline-flex; align-items: center; gap: .35rem; padding: .22rem .65rem .22rem .3rem;
  border: 0; border-radius: 999px; cursor: pointer; font-family: var(--kz-nav); font-size: .72rem; font-weight: 600; letter-spacing: .03em;
  color: #fff; background: linear-gradient(120deg, var(--kz-primary), #00C2B8 45%, var(--kz-accent) 55%, var(--kz-primary));
  background-size: 250% 100%; box-shadow: 0 4px 12px -4px rgba(0,156,149,.7);
  animation: kz-types-degrade 3s linear infinite, kz-types-halo 2.2s ease-in-out infinite;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s;
}
.adm-types-bouton i {
  display: inline-grid; place-items: center; width: 1.35rem; height: 1.35rem; border-radius: 50%;
  color: var(--kz-primary); background: #fff; font-size: .68rem; animation: kz-types-icone 2.4s ease-in-out infinite;
}
.adm-types-bouton:hover, .adm-types-bouton:focus-visible { transform: translateY(-2px) scale(1.07); box-shadow: 0 10px 20px -6px rgba(0,156,149,.8); animation-play-state: paused; }
.adm-types-bouton:focus-visible { outline: 3px solid var(--kz-accent); outline-offset: 2px; }
@keyframes kz-types-degrade { from { background-position: 0 0; } to { background-position: 250% 0; } }
@keyframes kz-types-halo { 0%, 100% { box-shadow: 0 4px 12px -4px rgba(0,156,149,.7), 0 0 0 0 rgba(0,245,234,.55); } 50% { box-shadow: 0 4px 12px -4px rgba(0,156,149,.7), 0 0 0 6px rgba(0,245,234,0); } }
@keyframes kz-types-icone { 0%, 60%, 100% { transform: none; } 70% { transform: translateY(-3px) rotate(-12deg); } 80% { transform: translateY(0) rotate(8deg); } 90% { transform: rotate(-4deg); } }
.adm-champ.is-type-applique .adm-champ__saisie { animation: kz-type-applique .8s ease; }
@keyframes kz-type-applique { 0% { box-shadow: 0 0 0 0 rgba(0,245,234,.7); border-radius: 10px; } 100% { box-shadow: 0 0 0 12px rgba(0,245,234,0); border-radius: 10px; } }

/* Lightbox « waouh » : rideau circulaire, boîte en 3D, liste en cascade */
.adm-modale--types { perspective: 1200px; }
.adm-modale--types .adm-modale__fond { background: radial-gradient(circle at 50% 50%, rgba(0,72,68,.55), rgba(0,20,19,.82)); clip-path: circle(0% at 50% 50%); transition: clip-path .6s cubic-bezier(.7,0,.2,1), opacity .3s; }
.adm-modale--types.is-open .adm-modale__fond { clip-path: circle(150% at 50% 50%); }
.adm-modale--types .adm-types-boite {
  width: min(560px, 100%); padding: 2.2rem 1.8rem 1.6rem; text-align: center; overflow: hidden;
  background: linear-gradient(160deg, #fff 55%, #EFFBFA); border: 1px solid rgba(0,156,149,.18);
  transform: rotateX(-35deg) translateY(60px) scale(.6); transform-origin: 50% 100%;
  transition: opacity .35s ease .1s, transform .8s cubic-bezier(.2,1.4,.3,1) .1s;
}
.adm-modale--types.is-open .adm-types-boite { opacity: 1; transform: none; }
.adm-modale--types.is-closing .adm-types-boite { transform: rotateX(20deg) translateY(30px) scale(.85); opacity: 0; transition-duration: .25s; transition-delay: 0s; }
.adm-types-boite__eclat {                         /* éclat lumineux qui traverse la boîte à l'ouverture */
  position: absolute; inset: -40% auto -40% -60%; width: 45%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(0,245,234,.35), transparent); transform: skewX(-18deg);
}
.adm-modale--types.is-waouh.is-open .adm-types-boite__eclat { animation: kz-types-eclat 1.1s ease .5s both; }
@keyframes kz-types-eclat { from { left: -60%; } to { left: 130%; } }
.adm-types-boite__icone {
  position: relative; display: grid; place-items: center; width: 4.4rem; height: 4.4rem; margin: 0 auto .9rem; border-radius: 20px;
  font-size: 1.8rem; color: #fff; background: linear-gradient(135deg, var(--kz-deep), var(--kz-primary) 60%, var(--kz-accent));
  box-shadow: 0 16px 30px -12px rgba(0,72,68,.7);
}
.adm-types-boite__icone::after { content: ''; position: absolute; inset: -6px; border-radius: 24px; border: 2px solid var(--kz-accent); opacity: 0; }
.adm-modale--types.is-open .adm-types-boite__icone { animation: kz-types-boite-icone .9s cubic-bezier(.34,1.56,.64,1) .35s both; }
.adm-modale--types.is-open .adm-types-boite__icone::after { animation: kz-anneau 1.6s ease-out 1s infinite; }
@keyframes kz-types-boite-icone { from { transform: scale(0) rotate(-180deg); opacity: 0; } to { transform: none; opacity: 1; } }
.adm-types-boite__titre { margin: 0; font-family: var(--kz-titre); font-weight: 700; font-size: 1.6rem; color: var(--kz-ink); }
.adm-types-boite__aide { margin: .3rem 0 1.2rem; font-size: .85rem; color: var(--kz-muted); }
.adm-modale--types.is-open .adm-types-boite__titre, .adm-modale--types.is-open .adm-types-boite__aide { animation: kz-btexte-entree .5s ease .45s both; }
.adm-types-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; text-align: left; }
.adm-modale--types.is-open .adm-types-liste li { animation: kz-types-item .6s cubic-bezier(.2,1.3,.3,1) both; animation-delay: calc(.55s + var(--i, 0) * .09s); }
@keyframes kz-types-item { from { opacity: 0; transform: translateX(-40px) scale(.9); } to { opacity: 1; transform: none; } }
.adm-types-liste__item {
  width: 100%; display: flex; align-items: center; gap: .8rem; padding: .7rem .9rem; cursor: pointer; text-align: left;
  font-family: var(--kz-nav); font-size: .92rem; font-weight: 500; color: var(--kz-ink);
  background: #fff; border: 1.5px solid var(--kz-line); border-radius: 12px;
  transition: border-color .25s, background-color .25s, transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .25s;
}
.adm-types-liste__puce {
  flex: none; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 10px;
  color: #fff; background: linear-gradient(135deg, var(--kz-primary), #00C2B8); font-size: .9rem;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1);
}
.adm-types-liste__texte { flex: 1; }
.adm-types-liste__fleche { color: var(--kz-primary); opacity: 0; transform: translateX(-8px); transition: opacity .25s, transform .25s; }
.adm-types-liste__item:hover, .adm-types-liste__item:focus-visible { outline: none; border-color: var(--kz-primary); background: #F2FBFA; transform: translateX(6px); box-shadow: 0 8px 18px -10px rgba(0,156,149,.6); }
.adm-types-liste__item:hover .adm-types-liste__puce, .adm-types-liste__item:focus-visible .adm-types-liste__puce { transform: rotate(-10deg) scale(1.12); }
.adm-types-liste__item:hover .adm-types-liste__fleche, .adm-types-liste__item:focus-visible .adm-types-liste__fleche { opacity: 1; transform: none; }
.adm-types-liste__item.is-choisi { background: var(--kz-primary); border-color: var(--kz-primary); color: #fff; transform: scale(1.03); }
.adm-types-liste__item.is-choisi .adm-types-liste__puce { background: #fff; color: var(--kz-primary); }
@media (prefers-reduced-motion: reduce) {
  .adm-types-bouton, .adm-types-bouton i, .adm-modale--types.is-open .adm-types-liste li, .adm-modale--types.is-open .adm-types-boite__icone,
  .adm-modale--types.is-waouh.is-open .adm-types-boite__eclat, .adm-modale--types.is-open .adm-types-boite__icone::after { animation: none; }
  .adm-modale--types .adm-modale__fond { clip-path: none; }
}

/* Lightbox « Types de projets » : fond uni vert turquoise foncé (sans flou) */
.adm-modale--types .adm-modale__fond { background: var(--kz-deep); backdrop-filter: none; -webkit-backdrop-filter: none; }

/* Lightbox « Types de projets » : 9 types, 3 par ligne (cartes) */
.adm-modale--types .adm-types-boite { width: min(780px, 100%); }
.adm-types-liste { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.adm-types-liste__item {
  position: relative; height: 100%; flex-direction: column; justify-content: flex-start; gap: .6rem;
  padding: 1rem .7rem .9rem; text-align: center; font-size: .86rem; line-height: 1.3;
}
.adm-types-liste__puce { width: 2.7rem; height: 2.7rem; border-radius: 12px; font-size: 1.1rem; }
.adm-types-liste__texte { flex: 0 1 auto; }
.adm-types-liste__fleche {            /* coche discrète en haut à droite au survol */
  position: absolute; top: .45rem; right: .5rem; font-size: .75rem; transform: scale(.4);
}
.adm-types-liste__item:hover, .adm-types-liste__item:focus-visible { transform: translateY(-5px); }
.adm-types-liste__item:hover .adm-types-liste__fleche, .adm-types-liste__item:focus-visible .adm-types-liste__fleche { transform: scale(1); }
.adm-modale--types.is-open .adm-types-liste li { animation-name: kz-types-carte; animation-delay: calc(.5s + var(--i, 0) * .07s); }
@keyframes kz-types-carte { from { opacity: 0; transform: translateY(26px) scale(.8) rotateX(-30deg); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) { .adm-types-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 380px) { .adm-types-liste { grid-template-columns: 1fr; } }

/* Recherche des projets réalisés : aide sur le format des dates */
.adm-recherche__aide { flex-basis: 100%; margin: -.3rem 0 0; text-align: right; font-size: .76rem; color: var(--kz-muted); }
.adm-recherche__aide i { color: var(--kz-primary); margin-right: .2rem; }
.adm-recherche__aide b { font-family: var(--kz-nav); font-weight: 600; color: var(--kz-ink); }
@media (max-width: 760px) { .adm-recherche__aide { text-align: left; } .adm-projets-tete .adm-recherche { flex-basis: 100%; } }

/* Alerte de suppression (projets en cours / réalisés) : voile allégé à 12 %, fond visible */
/* (la règle vise aussi l'alerte par son titre, au cas où realisations.php ne porterait pas encore la classe) */
.adm-modale--voile-leger .adm-modale__fond,
.adm-modale:has(#projet-suppr-titre) .adm-modale__fond {
  background: rgba(0, 32, 30, .12) !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
}
.adm-modale--voile-leger .adm-modale__boite,
.adm-modale:has(#projet-suppr-titre) .adm-modale__boite { box-shadow: 0 24px 60px -18px rgba(0,40,38,.45), 0 0 0 1px rgba(0,72,68,.08); }

/* =====================================================================
   ACTUALITÉS (actualites.php) — « Actualités de notre société »
   Ligne 1 : Type (radios en cartes) + Date ; ligne 2 : Titre ;
   ligne 3 : Article (TinyMCE) ; ligne 4 : Image à la une + scan (Presse)
   ===================================================================== */
.adm-actu { display: grid; gap: 1.15rem; }
.adm-actu > .adm-champ, .adm-actu__ligne > .adm-champ { margin-bottom: 0; }
.adm-actu__ligne { display: grid; gap: 1.15rem 1.6rem; align-items: start; }
.adm-actu__ligne--duo { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.adm-actu__ligne--images { grid-template-columns: repeat(2, minmax(0, 340px)); justify-content: start; }
@media (max-width: 860px) { .adm-actu__ligne--duo, .adm-actu__ligne--images { grid-template-columns: 1fr; } }
.adm-actu .adm-form-admin__actions { justify-content: flex-end; }
.adm-form-actu.is-recharge .adm-actu { animation: kz-metier-entree .6s cubic-bezier(.2,.8,.2,1) both; }

/* ---------- Type : deux cartes radio ---------- */
.adm-actu-type { min-width: 0; margin: 0; padding: 0; border: 0; }
.adm-actu-type legend { padding: 0; margin-bottom: .3rem; font-weight: 600; font-size: .8rem; color: var(--kz-ink); }
.adm-actu-type legend b { color: var(--kz-red); }
.adm-actu-type__choix { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.adm-actu-type__option { position: relative; display: block; cursor: pointer; animation: kz-btexte-entree .5s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i, 0) * 80ms); }
.adm-actu-type__option input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.adm-actu-type__carte {
  position: relative; display: flex; align-items: center; gap: .7rem; height: 2.7rem; padding: 0 .9rem 0 .45rem; overflow: hidden; isolation: isolate;
  font-family: var(--kz-nav); font-weight: 500; font-size: .9rem; color: var(--kz-ink);
  background: #fff; border: 1.5px solid var(--kz-line); border-radius: 10px;
  transition: border-color .25s, color .25s, box-shadow .25s, transform .3s cubic-bezier(.34,1.56,.64,1);
}
.adm-actu-type__carte::before {             /* remplissage turquoise qui part de l'icône */
  content: ''; position: absolute; z-index: -1; left: .45rem; top: 50%; width: 1.9rem; height: 1.9rem; border-radius: 50%;
  background: var(--kz-primary); transform: translateY(-50%) scale(0); transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.adm-actu-type__icone {
  display: grid; place-items: center; flex: none; width: 1.9rem; height: 1.9rem; border-radius: 50%;
  color: var(--kz-primary); background: #E9F6F4; font-size: .85rem; transition: color .25s, background-color .25s, transform .35s cubic-bezier(.34,1.56,.64,1);
}
.adm-actu-type__coche {
  display: grid; place-items: center; width: 1.25rem; height: 1.25rem; margin-left: auto; border-radius: 50%;
  font-size: .62rem; color: var(--kz-primary); background: #fff; border: 1.5px solid var(--kz-line);
  transform: scale(.6); opacity: 0; transition: transform .35s cubic-bezier(.34,1.56,.64,1), opacity .25s;
}
.adm-actu-type__option:hover .adm-actu-type__carte { border-color: var(--kz-primary); transform: translateY(-2px); box-shadow: 0 8px 18px -12px rgba(0,72,68,.6); }
.adm-actu-type__option:hover .adm-actu-type__icone { transform: rotate(-10deg) scale(1.08); }
.adm-actu-type__option input:focus-visible + .adm-actu-type__carte { outline: 3px solid var(--kz-accent); outline-offset: 2px; }
.adm-actu-type__option input:checked + .adm-actu-type__carte { color: #fff; border-color: var(--kz-primary); box-shadow: 0 10px 22px -12px rgba(0,156,149,.9); }
.adm-actu-type__option input:checked + .adm-actu-type__carte::before { transform: translateY(-50%) scale(26); }
.adm-actu-type__option input:checked + .adm-actu-type__carte .adm-actu-type__icone { color: var(--kz-primary); background: #fff; }
.adm-actu-type__option input:checked + .adm-actu-type__carte .adm-actu-type__coche { opacity: 1; transform: scale(1); border-color: #fff; }
.adm-actu-type__option.is-pop .adm-actu-type__icone { animation: kz-date-pop .55s cubic-bezier(.34,1.56,.64,1); }
.adm-actu-type.is-invalid legend { color: var(--kz-red); }
.adm-actu-type.is-invalid .adm-actu-type__carte { border-color: var(--kz-red); background: #FFF7F7; }
.adm-actu-type.is-invalid .adm-actu-type__icone { color: var(--kz-red); background: var(--kz-red-bg); }
.adm-actu-type.is-shaking .adm-actu-type__choix { animation: kz-secousse .42s ease; }

/* ---------- Date (turquoise) ---------- */
.adm-champ--date-actu { --dc: var(--kz-primary); --dc-bg: #E9F6F4; --dc-ligne: #9ED8D4; animation-delay: .1s; }
.adm-form-admin .adm-champ--date-actu label { color: var(--kz-ink); }
.adm-champ--date-actu .adm-date__exemple b { color: var(--kz-primary); }

/* ---------- Article : cadre de l'éditeur ---------- */
.adm-form-admin .adm-actu-article > label { margin-bottom: .3rem; font-size: .8rem; }
.adm-actu-article__cadre { position: relative; min-height: 360px; animation: kz-btexte-entree .5s cubic-bezier(.2,.8,.2,1) .15s both; }
.adm-actu-article__attente {
  position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; gap: .7rem;
  color: var(--kz-muted); font-size: .9rem; background: #fff; border: 1.5px dashed var(--kz-line); border-radius: 12px;
}
.adm-actu-article__roue { width: 1.2rem; height: 1.2rem; border-radius: 50%; border: 2.5px solid var(--kz-line); border-top-color: var(--kz-primary); animation: kz-rotation .8s linear infinite; }
@keyframes kz-rotation { to { transform: rotate(360deg); } }
.adm-actu-article.is-pret .adm-actu-article__attente { display: none; }
.adm-actu-article.is-sans-editeur .adm-actu-article__attente { display: none; }
.adm-actu-article textarea { width: 100%; min-height: 360px; padding: .8rem; font: inherit; border: 1.5px solid var(--kz-line); border-radius: 12px; }
.adm-actu-article .tox.tox-tinymce { border: 1.5px solid var(--kz-line); border-radius: 12px; transition: border-color .25s, box-shadow .25s; }
.adm-actu-article.is-focus .tox.tox-tinymce { border-color: var(--kz-primary); box-shadow: 0 0 0 4px rgba(0,156,149,.15); }
.adm-actu-article.is-invalid > label { color: var(--kz-red); }
.adm-actu-article.is-invalid .tox.tox-tinymce, .adm-actu-article.is-invalid textarea { border-color: var(--kz-red); box-shadow: 0 0 0 4px rgba(198,40,40,.12); }
.adm-actu-article.is-shaking .adm-actu-article__cadre { animation: kz-secousse .42s ease; }
/* Barre d'outils aux couleurs du site */
.adm-actu-article .tox .tox-toolbar, .adm-actu-article .tox .tox-toolbar__overflow, .adm-actu-article .tox .tox-toolbar__primary { background: #F4FAF9 !important; }
.adm-actu-article .tox .tox-editor-header { border-bottom: 1px solid var(--kz-line) !important; box-shadow: none !important; }
.adm-actu-article .tox .tox-tbtn { border-radius: 7px; color: var(--kz-deep); transition: background-color .2s, transform .25s cubic-bezier(.34,1.56,.64,1); }
.adm-actu-article .tox .tox-tbtn svg { fill: var(--kz-deep) !important; }
.adm-actu-article .tox .tox-tbtn:hover { background: #D9F0EE !important; transform: translateY(-1px); }
.adm-actu-article .tox .tox-tbtn--enabled, .adm-actu-article .tox .tox-tbtn--enabled:hover { background: var(--kz-primary) !important; }
.adm-actu-article .tox .tox-tbtn--enabled svg { fill: #fff !important; }
.adm-actu-article .tox .tox-statusbar { border-top: 1px solid var(--kz-line); }
/* Fenêtres de l'éditeur (lien, image, tableau…) */
.tox .tox-dialog { border-radius: 14px !important; border-color: var(--kz-line) !important; box-shadow: 0 30px 60px -20px rgba(0,48,45,.55) !important; animation: kz-btexte-entree .35s cubic-bezier(.2,.8,.2,1) both; }
.tox .tox-dialog__header { background: #F4FAF9 !important; }
.tox .tox-dialog__title { font-family: var(--kz-titre) !important; font-weight: 700 !important; color: var(--kz-deep) !important; }
.tox .tox-button:not(.tox-button--secondary):not(.tox-button--naked) { background-color: var(--kz-primary) !important; border-color: var(--kz-primary) !important; }
.tox .tox-button:not(.tox-button--secondary):not(.tox-button--naked):hover { background-color: var(--kz-accent) !important; border-color: var(--kz-accent) !important; color: var(--kz-deep) !important; }
.tox .tox-textfield:focus, .tox .tox-listbox:focus, .tox .tox-textarea:focus { border-color: var(--kz-primary) !important; box-shadow: 0 0 0 3px rgba(0,156,149,.18) !important; }
.tox .tox-collection__item--active { background-color: #D9F0EE !important; }
.tox-tinymce-aux { z-index: 1300 !important; }

/* ---------- Images ---------- */
.adm-actu__fichier.is-apparait { animation: kz-actu-scan .6s cubic-bezier(.2,.8,.2,1) both; }
@keyframes kz-actu-scan { from { opacity: 0; transform: translateX(-24px) scale(.94); } to { opacity: 1; transform: none; } }
.adm-fichier[data-fichier-actu="scan"] .adm-fichier__zone { aspect-ratio: 3 / 4; max-height: 340px; margin: 0 auto; }
.adm-fichier[data-fichier-actu="scan"] .adm-fichier__apercu img { object-fit: contain; background: #fff; }
.adm-form-actu.is-success .adm-fichier__zone { pointer-events: none; }

/* ---------- Tableau ---------- */
.adm-actu-badge { display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap; }
.adm-actu-badge--actualite { color: var(--kz-deep); background: #D9F7F5; }
.adm-actu-badge--presse { color: #fff; background: var(--kz-deep); }
.adm-actu-date { white-space: nowrap; font-weight: 600; color: var(--kz-primary); }

@media (prefers-reduced-motion: reduce) {
  .adm-actu-type__option, .adm-actu-article__cadre, .adm-actu__fichier.is-apparait, .tox .tox-dialog { animation: none !important; }
  .adm-actu-type__carte::before { transition: none; }
}
.adm-form-admin .adm-actu-type .adm-actu-type__option { margin: 0; font-weight: inherit; }

/* ---------- Actualités : pagination stylisée et animée du tableau « Articles enregistrés » ----------
   Les boutons arrivent l'un après l'autre ; au survol, un remplissage turquoise monte ;
   la page en cours respire doucement ; les flèches se décalent dans leur direction. */
.adm-pagination--actus { align-items: center; gap: .5rem; margin-top: 1.5rem; }
.adm-pagination--actus .adm-page {
  position: relative; display: inline-grid; place-items: center; min-width: 2.75rem; height: 2.75rem;
  overflow: hidden; isolation: isolate; color: var(--kz-primary);
  border: 2px solid rgba(0,156,149,.25); box-shadow: 0 4px 14px rgba(0,72,68,.08);
}
.adm-pagination--actus .adm-page::before {
  content: ''; position: absolute; inset: 0; z-index: -1; background: var(--kz-primary);
  transform: translateY(101%); transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.adm-pagination--actus .adm-page:hover:not(:disabled):not(.is-active):not(.adm-page--trou) {
  color: #fff; border-color: var(--kz-primary); transform: translateY(-4px); box-shadow: 0 10px 22px rgba(0,156,149,.28);
}
.adm-pagination--actus .adm-page:hover:not(:disabled):not(.is-active)::before { transform: none; }
.adm-pagination--actus .adm-page.is-active {
  color: var(--kz-deep); background: var(--kz-accent); border-color: var(--kz-accent); transform: none;
  box-shadow: 0 8px 22px rgba(0,245,234,.45); animation: kz-actu-page 2.4s ease-in-out infinite;
}
.adm-pagination--actus .adm-page--trou { box-shadow: none; border-color: transparent; font-weight: 700; letter-spacing: .1em; }
.adm-pagination--actus .adm-page--trou::before { content: none; }
.adm-pagination--actus .adm-page:disabled { opacity: .35; box-shadow: none; }
.adm-pagination--actus .adm-page--prec:hover:not(:disabled) i { animation: kz-actu-fleche-g .6s ease; }
.adm-pagination--actus .adm-page--suiv:hover:not(:disabled) i { animation: kz-actu-fleche-d .6s ease; }
.adm-pagination__info { flex-basis: 100%; margin-top: .35rem; text-align: center; font-size: .82rem; color: var(--kz-muted); letter-spacing: .02em; }
.adm-pagination--actus.is-entree .adm-page,
.adm-pagination--actus.is-entree .adm-pagination__info { animation: kz-actu-page-entree .5s cubic-bezier(.34,1.56,.64,1) both; animation-delay: calc(var(--k, 0) * 60ms); }
.adm-pagination--actus.is-entree .adm-page.is-active { animation: kz-actu-page-entree .5s cubic-bezier(.34,1.56,.64,1) both calc(var(--k, 0) * 60ms), kz-actu-page 2.4s ease-in-out 1s infinite; }
@keyframes kz-actu-page-entree { from { opacity: 0; transform: translateY(14px) scale(.85); } to { opacity: 1; transform: none; } }
@keyframes kz-actu-page { 0%, 100% { box-shadow: 0 8px 22px rgba(0,245,234,.45); } 50% { box-shadow: 0 8px 30px rgba(0,245,234,.8); } }
@keyframes kz-actu-fleche-g { 50% { transform: translateX(-4px); } }
@keyframes kz-actu-fleche-d { 50% { transform: translateX(4px); } }
@media (max-width: 480px) { .adm-pagination--actus .adm-page { min-width: 2.4rem; height: 2.4rem; } }
@media (prefers-reduced-motion: reduce) {
  .adm-pagination--actus .adm-page, .adm-pagination--actus .adm-page::before, .adm-pagination__info { animation: none !important; transition: none; }
}

/* =====================================================================
   PARTENAIRES (partenaires.php) — « Partenaires de notre société »
   ===================================================================== */
.adm-partenaire { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 1.4rem 2.2rem; align-items: start; }
@media (max-width: 860px) { .adm-partenaire { grid-template-columns: 1fr; } }
.adm-fichier--logo .adm-fichier__zone { aspect-ratio: 360 / 200; border-radius: 12px; background-color: #fff; }
.adm-fichier--logo .adm-fichier__apercu img { object-fit: contain; border-radius: 10px; background: #fff; }
.adm-fichier--logo .adm-fichier__infos, .adm-fichier--logo .adm-fichier__regles-bas { justify-content: center; text-align: center; }
.adm-form-partenaire.is-recharge .adm-partenaire { animation: kz-metier-entree .6s cubic-bezier(.2,.8,.2,1) both; }
.adm-form-partenaire.is-success .adm-fichier__zone { pointer-events: none; }
.adm-partenaire__cote { display: flex; flex-direction: column; gap: 1rem; min-height: 100%; }
.adm-partenaire__cote .adm-form-admin__actions { margin-top: auto; justify-content: flex-end; }
.adm-partenaire__conseils {
  position: relative; padding: 1rem 1.2rem 1rem 1.3rem; background: #F4FAF9; border: 1px solid var(--kz-line); border-left: 4px solid var(--kz-primary); border-radius: 10px;
  animation: kz-btexte-entree .5s cubic-bezier(.2,.8,.2,1) .15s both;
}
.adm-partenaire__conseils-titre { margin: 0 0 .45rem; font-family: var(--kz-nav); font-weight: 600; font-size: .88rem; color: var(--kz-deep); }
.adm-partenaire__conseils-titre i { color: var(--kz-primary); margin-right: .3rem; }
.adm-partenaire__conseils ul { margin: 0; padding-left: 1.1rem; font-size: .84rem; color: var(--kz-muted); }
.adm-partenaire__conseils li { margin: .2rem 0; }
.adm-partenaire__conseils li::marker { color: var(--kz-primary); }

/* Tableau « Nos partenaires » */
.adm-logo-cellule { display: inline-grid; place-items: center; width: 144px; aspect-ratio: 360 / 200; background: #fff; border: 1px solid var(--kz-line); border-radius: 8px; overflow: hidden; transition: transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .35s; }
.adm-logo-cellule img { width: 100%; height: 100%; object-fit: contain; }
.adm-ligne:hover .adm-logo-cellule { transform: scale(1.06); box-shadow: 0 10px 20px -12px rgba(0,72,68,.55); }
.adm-logo-position { display: inline-flex; flex-direction: column; line-height: 1.25; }
.adm-logo-position b { font-family: var(--kz-nav); color: var(--kz-deep); }
.adm-logo-position small, .adm-logo-poids { font-size: .78rem; color: var(--kz-muted); }
.adm-logo-poids { display: block; margin-top: .15rem; }
.adm-table--partenaires td { vertical-align: middle; }
.adm-confirm__logo:empty { display: none; }
.adm-confirm__logo { margin: .2rem auto .3rem; }
.adm-confirm__logo img { display: block; margin: 0 auto; width: 180px; height: auto; border: 1px solid var(--kz-line); border-radius: 8px; background: #fff; }

/* =====================================================================
   CONTACTS (contacts.php) — « Contacts de notre société »
   2 champs par ligne : Téléphone | Mobile, puis Localisation | Email
   ===================================================================== */
.adm-contacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem 1.8rem; }
@media (max-width: 760px) { .adm-contacts { grid-template-columns: 1fr; } }
.adm-champ--contact:nth-child(2) { animation-delay: .06s; }
.adm-champ--contact:nth-child(3) { animation-delay: .12s; }
.adm-champ--contact:nth-child(4) { animation-delay: .18s; }
.adm-form-contacts .adm-form-admin__actions { justify-content: flex-end; margin-top: 1rem; }
.adm-form-contacts .adm-alerte { margin-top: 1rem; }

/* Préfixe +225 fixe dans les champs Téléphone et Mobile */
.adm-tel__indicatif {
  position: absolute; z-index: 1; left: 2.2rem; top: 50%; transform: translateY(-50%);
  padding: .12rem .45rem; font-family: var(--kz-nav); font-weight: 600; font-size: .8rem; letter-spacing: .02em;
  color: var(--kz-deep); background: #D9F7F5; border-radius: 6px; pointer-events: none; transition: background-color .25s, color .25s;
}
.adm-form-admin .adm-champ--tel input { padding-left: 5.4rem; font-family: var(--kz-nav); letter-spacing: .12em; }
.adm-champ--tel .adm-champ__saisie:focus-within .adm-tel__indicatif { color: #fff; background: var(--kz-primary); }
.adm-champ--tel.is-invalid .adm-tel__indicatif { color: #fff; background: var(--kz-red); }
.adm-champ--tel.is-refus .adm-champ__saisie { animation: kz-secousse .32s ease; }
.adm-champ--tel.is-refus .adm-tel__indicatif { animation: kz-tel-refus .5s ease; }
@keyframes kz-tel-refus { 30% { color: #fff; background: var(--kz-red); } }
.adm-form-admin .adm-champ--contact input[type="email"] { text-transform: lowercase; }

/* Aperçu de l'affichage sur le site */
.adm-tel__apercu { margin: .3rem 0 0; font-size: .76rem; color: var(--kz-muted); }
.adm-tel__apercu b { display: inline-block; font-family: var(--kz-nav); font-weight: 600; color: var(--kz-primary); letter-spacing: .03em; }
.adm-tel__apercu b.is-pop { animation: kz-tel-pop .45s cubic-bezier(.34,1.56,.64,1); }
@keyframes kz-tel-pop { 40% { transform: scale(1.12); color: var(--kz-deep); } }
@media (prefers-reduced-motion: reduce) { .adm-tel__apercu b.is-pop, .adm-champ--tel.is-refus .adm-champ__saisie, .adm-champ--tel.is-refus .adm-tel__indicatif { animation: none; } }

/* =====================================================================
   TABLEAU DE BORD — « Réseaux sociaux » : 3 champs côte à côte
   ===================================================================== */
.adm-reseaux { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem 1.5rem; }
@media (max-width: 1000px) { .adm-reseaux { grid-template-columns: 1fr; } }
.adm-champ--reseau { animation-delay: calc(var(--i, 0) * 70ms); }
.adm-reseau__icone {
  position: absolute; z-index: 1; left: .45rem; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 1.85rem; height: 1.85rem; border-radius: 8px;
  font-size: .9rem; color: #fff; transition: transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .3s;
}
.adm-champ--reseau-facebook  .adm-reseau__icone { background: #1877F2; }
.adm-champ--reseau-twitter_x .adm-reseau__icone { background: #111; }
.adm-champ--reseau-instagram .adm-reseau__icone { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.adm-champ--reseau .adm-champ__saisie:focus-within .adm-reseau__icone { transform: translateY(-50%) scale(1.12) rotate(-8deg); box-shadow: 0 6px 14px -6px rgba(0,0,0,.5); }
.adm-form-admin .adm-champ--reseau input { padding-left: 2.85rem; }
.adm-champ--reseau.is-invalid .adm-reseau__icone { background: var(--kz-red); }
.adm-reseau__tester { margin-left: auto; font-size: .74rem; font-weight: 600; color: var(--kz-primary); text-decoration: none; transition: color .2s, transform .25s; }
.adm-reseau__tester:hover { color: var(--kz-deep); transform: translateX(2px); }
.adm-form-reseaux .adm-form-admin__actions { justify-content: flex-end; margin-top: 1rem; }
.adm-form-reseaux .adm-alerte { margin-top: 1rem; }

/* =====================================================================
   TABLEAU DE BORD — « Bandeau de titre de page »
   ===================================================================== */
.adm-btitre { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.4rem 2rem; align-items: start; }
@media (max-width: 900px) { .adm-btitre { grid-template-columns: 1fr; } }
.adm-fichier--btitre { min-width: 0; }
.adm-fichier--btitre .adm-fichier__zone { width: 100%; aspect-ratio: 1920 / 400; border-radius: 12px; }
.adm-fichier--btitre .adm-fichier__apercu img { object-fit: cover; border-radius: 10px; }
.adm-fichier--btitre .adm-fichier__vide { flex-direction: row; gap: .8rem; }
.adm-fichier--btitre .adm-fichier__texte, .adm-fichier--btitre .adm-fichier__regles { margin: 0; }
.adm-form-btitre.is-success .adm-fichier__zone { pointer-events: none; }
.adm-form-btitre .adm-form-admin__actions { justify-content: flex-end; margin-top: 1rem; }
.adm-form-btitre .adm-alerte { margin-top: 1rem; }

/* Aperçu : même rendu que le bandeau des pages du site */
.adm-btitre__apercu { min-width: 0; }
.adm-btitre__apercu-titre { margin: 0 0 .4rem; font-weight: 600; font-size: .8rem; color: var(--kz-ink); }
.adm-btitre__apercu-titre i { color: var(--kz-primary); margin-right: .25rem; }
.adm-btitre__hero {
  position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 1920 / 400; overflow: hidden; border-radius: 12px;   /* même hauteur que le champ « Bandeau de titre » */
  background-color: #005F5A; background-size: cover; background-position: center;   /* image posée par admin-bandeau-titre.js */
  box-shadow: 0 12px 26px -16px rgba(0,48,45,.8);
}
.adm-btitre__hero span {
  font-family: var(--kz-titre); font-weight: 700; font-size: clamp(1.1rem, 2.2vw, 1.7rem); letter-spacing: .02em; color: #fff;
  text-shadow: 0 6px 18px rgba(0,0,0,.25); transition: opacity .35s, transform .35s cubic-bezier(.2,.8,.2,1);
}
.adm-btitre__hero span.is-sortie { opacity: 0; transform: translateY(8px); }
.adm-btitre__hero.is-nouveau { animation: kz-btitre-nouveau .8s cubic-bezier(.2,.8,.2,1); }
@keyframes kz-btitre-nouveau { from { filter: brightness(1.6) saturate(.4); transform: scale(.97); } to { filter: none; transform: none; } }
.adm-btitre__date { margin: .45rem 0 0; font-size: .76rem; color: var(--kz-muted); }
@media (prefers-reduced-motion: reduce) { .adm-btitre__hero.is-nouveau { animation: none; } .adm-btitre__hero span { transition: none; } }

/* Tableau de bord, alerte de suppression d'un administrateur : sans flou, très léger voile vert à 12 % */
.adm-modale--voile-vert .adm-modale__fond {
  background: rgba(0, 156, 149, .12) !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
}
.adm-modale--voile-vert .adm-modale__boite { box-shadow: 0 24px 60px -18px rgba(0,40,38,.45), 0 0 0 1px rgba(0,72,68,.08); }

/* Métiers (metiers.php) — zone « Sous-titre Métiers et introduction » */
.adm-form-intro-metiers { margin-bottom: 1.6rem; padding-bottom: 1.6rem; border-bottom: 1px dashed var(--kz-line); }
.adm-intro-metiers__duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: .4rem 1.6rem; }
@media (max-width: 760px) { .adm-intro-metiers__duo { grid-template-columns: 1fr; } }
.adm-form-intro-metiers .adm-champ--editeur { margin-top: .9rem; }
.adm-form-intro-metiers .adm-editeur__zone { text-align: justify; -webkit-hyphens: none; hyphens: none; }
.adm-form-intro-metiers .adm-form-admin__actions { justify-content: flex-end; margin-top: 1rem; }
.adm-form-intro-metiers .adm-alerte { margin-top: 1rem; }

/* Réalisations (realisations.php) — « Projets récents : paragraphe introductif » */
.adm-form-para-projets .adm-editeur__zone { text-align: justify; -webkit-hyphens: none; hyphens: none; }
.adm-form-para-projets .adm-form-admin__actions { justify-content: flex-end; margin-top: 1rem; }
.adm-form-para-projets .adm-alerte { margin-top: 1rem; }
