/* Recherche, thèmes sur mesure, envoi de cours en photo */
.recherche { margin: 4px 0 14px; }
.recherche-champ { display: flex; align-items: center; gap: 10px; background: var(--carte); border: 2px solid var(--trait); border-radius: 99px; padding: 6px 16px; }
.recherche-champ:focus-within { border-color: var(--accent); }
.recherche-champ input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 17px; padding: 6px 0; background: none; color: var(--encre); min-width: 0; }
.recherche-res { display: grid; gap: 6px; margin-top: 8px; }
.recherche-item { display: flex; gap: 12px; align-items: center; padding: 10px 14px; background: var(--carte); border: 2px solid var(--trait); border-radius: 14px; text-decoration: none; }
.recherche-item span:first-child { font-size: 24px; }
.recherche-item small { display: block; color: var(--doux); font-size: 14px; }
.recherche-item.ferme { opacity: .55; }
a.recherche-item:hover { border-color: var(--accent); }
.matieres.speciales { margin-bottom: 4px; }
.special-perso { border-color: #E09F00; background: linear-gradient(135deg, #FFF8E1, var(--carte)); }
.special-photo { border-color: #0E9AA7; background: linear-gradient(135deg, #E0F7F8, var(--carte)); }
.photo-form { background: var(--carte); border: 2px solid var(--trait); border-radius: 24px; padding: 18px; display: grid; gap: 14px; }
.photo-zone { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 26px 16px; border: 3px dashed var(--m); border-radius: 20px; cursor: pointer; text-align: center; background: color-mix(in srgb, var(--m) 6%, white); }
.photo-gros { font-size: 54px; }
.photo-zone small { color: var(--doux); }
.photo-apercus { display: flex; flex-wrap: wrap; gap: 10px; }
.photo-apercus:empty { display: none; }
.photo-apercu { position: relative; width: 96px; height: 96px; border-radius: 12px; overflow: hidden; border: 2px solid var(--trait); }
.photo-apercu img { width: 100%; height: 100%; object-fit: cover; }
.photo-apercu button { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .6); color: #fff; font-size: 13px; }
.photo-champ { display: grid; gap: 6px; font-weight: 800; }
.photo-champ small { font-weight: 600; color: var(--doux); }
.photo-champ select, .photo-champ textarea { font: inherit; font-weight: 600; padding: 10px 12px; border-radius: 12px; border: 2px solid var(--trait); background: #fff; color: var(--encre); }
.tag-new { background: #E09F00; color: #fff; font-weight: 800; font-size: 12px; padding: 2px 8px; border-radius: 99px; margin-left: 6px; }
