/* Thème « verre dépoli » : la même application, habillée de
   cartes translucides sur fond dégradé, sur le modèle d'un tableau d'administration
   moderne. Chargé après style.css : il ne fait que repeindre, la structure ne change pas. */
:root {
  --verre: rgb(255 255 255 / .58);
  --verre-fort: rgb(255 255 255 / .82);
  --verre-bord: rgb(255 255 255 / .78);
  --verre-ombre: 0 8px 32px rgb(37 37 38 / .07), inset 0 1px 0 rgb(255 255 255 / .6);
  --lat-texte: #3a3a3c;
  --rayon: 20px;
  --carte: var(--verre);
  --bord: rgb(255 255 255 / .78);
}
body { background: #e9e5dc; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60vw 50vh at 8% 0%, rgb(190 175 135 / .55), transparent 70%),
    radial-gradient(50vw 60vh at 100% 20%, rgb(148 163 184 / .45), transparent 70%),
    radial-gradient(60vw 50vh at 50% 110%, rgb(132 114 82 / .30), transparent 70%),
    linear-gradient(160deg, #f4f1ea, #e3e6ea); }

/* Les surfaces : verre */
.carte, .tuile, .lat, .admin-nav, details.carte, .tdb-verre {
  background: var(--verre); border: 1px solid var(--verre-bord);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  box-shadow: var(--verre-ombre); }
.tuile { border-radius: var(--rayon); transition: transform .2s ease, box-shadow .2s ease; }
a.tuile:hover, .carte-module:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgb(37 37 38 / .12), inset 0 1px 0 rgb(255 255 255 / .6); }
.carte-module { transition: transform .2s ease, box-shadow .2s ease; }

/* Barre latérale : verre clair flottant, mêmes applis, mêmes pôles */
.app { gap: 18px; padding: 18px 0 0 18px; }
.lat { color: var(--lat-texte); border-radius: 22px; top: 18px; height: calc(100vh - 36px); }
.lat-marque { color: var(--or-fonce); border-bottom-color: rgb(37 37 38 / .08); }
.lat-marque b { color: var(--encre); }
.lat-marque small { color: var(--or-fonce); }
.lat-section { color: var(--or-fonce); border-top-color: rgb(37 37 38 / .08); }
.lat-section-location { color: #3f7a5c; }
.lat-section-direction { color: #6b6b6b; }
body.lat-repliee .lat-nav .lat-section { border-top-color: rgb(37 37 38 / .1); }
.lat-lien { color: var(--lat-texte); }
.lat-lien:hover { background: rgb(255 255 255 / .6); color: var(--encre); }
.lat-lien.actif { background: var(--verre-fort); color: var(--encre); font-weight: 600; box-shadow: 0 1px 6px rgb(37 37 38 / .08); }
.lat-lien .app-ico { box-shadow: 0 1px 3px rgb(37 37 38 / .18); }
.lat-pied { border-top-color: rgb(37 37 38 / .08); }
.lat-qui b { color: var(--encre); }
.lat-sortie { color: var(--lat-texte); }
.lat-sortie:hover { background: rgb(255 255 255 / .6); color: var(--encre); }
.lat-replier { color: var(--lat-texte); }
.avatar { background: var(--encre); color: #fff; }
.haut { background: var(--verre); border-bottom: 1px solid var(--verre-bord);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
@media (max-width: 900px) {
  .app { padding: 0; gap: 0; }
  .lat { top: 0; height: 100vh; border-radius: 0 22px 22px 0; background: rgb(250 249 246 / .92); }
}

/* Titres de cartes : moins « étiquette », plus « tableau de bord » */
.carte h2, .bloc-tete h2 { text-transform: none; letter-spacing: -.01em; color: var(--encre); font-weight: 600; }
h1 { letter-spacing: -.02em; }

/* Champs et boutons arrondis, translucides */
input:not([type=checkbox]):not([type=radio]), select, textarea {
  background: rgb(255 255 255 / .7); border-color: rgb(37 37 38 / .1); border-radius: 12px; }
.btn { border-radius: 999px; }
/* Le contour reste doré, pas blanc : `--verre-bord` est du blanc à 78 %, invisible
   dès que le bouton est posé sur une carte blanche (kit de diffusion d'une carte de
   visite, tuiles) — il ne restait qu'un texte flottant. */
.btn-secondaire { background: rgb(255 255 255 / .6); border-color: rgb(190 175 135 / .6); }
.flash { border-radius: 14px; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
table th { background: transparent; }
.chip { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.admin-nav { border-radius: var(--rayon); }
.admin-nav a.actif { background: var(--verre-fort); }
