/* =============================================================================
   Feuille de style de l'app
   Identité « Sérénité » : vert profond, or, crème — titres en serif (Fraunces).
   Pour changer l'apparence, modifier d'abord les VARIABLES (sections 1 et 2).
   ============================================================================= */

/* ---------- 0. Police des titres (fichier hébergé chez nous, licence OFL) ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap; /* le texte s'affiche tout de suite, la police arrive ensuite */
}

/* ---------- 1. Variables (mode clair) ---------- */
:root {
  /* Identité */
  --vert: #1f5f4e; /* vert profond : couleur principale */
  --vert-fonce: #174a3d;
  --vert-clair: #e6efe9; /* fonds teintés */
  --or: #b8893b; /* or : action principale (Itinéraire), détails */
  --or-clair: #f4ead6;
  --degrade-or: linear-gradient(135deg, #c9a24b 0%, #a8782c 100%);

  /* Surfaces et textes */
  --fond: #f7f3ea; /* crème */
  --surface: #fffdf8; /* cartes, volets */
  --surface-2: #f1ebdf; /* tuiles, champs */
  --texte: #1c211f;
  --texte-doux: #6b6e66;
  --bordure: #e6dfd0;
  --erreur: #b3261e;
  --texte-vert: #1f5f4e; /* textes verts : bien contrastés */

  /* Types de spots */
  --mosquee: #1f5f4e;
  --salle: #2f6690;
  --coin: #a8782c;
  --position: #2d7ff9;

  /* Formes */
  --rayon: 16px;
  --rayon-grand: 24px;
  --ombre: 0 2px 6px rgb(40 30 10 / 8%), 0 8px 24px rgb(40 30 10 / 10%);
  --ombre-forte: 0 -8px 32px rgb(40 30 10 / 18%);
  --police: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --police-titre: "Fraunces", Georgia, "Times New Roman", serif;

  /* Dimensions */
  --hauteur-onglets: calc(64px + env(safe-area-inset-bottom));
}

/* ---------- 2. Mode sombre (automatique si le téléphone est en sombre) ---------- */
@media (prefers-color-scheme: dark) {
  :root {
    --vert: #2b7a64;
    --vert-fonce: #3a8e76;
    --vert-clair: #1d2b25;
    --or: #d4a957;
    --or-clair: #2e2719;
    --fond: #121614;
    --surface: #1a1f1c;
    --surface-2: #232a26;
    --texte: #ecefe9;
    --texte-doux: #a2aaa3;
    --bordure: #2c3430;
    --erreur: #f2867e;
    --texte-vert: #74cfaf;
    --mosquee: #2b7a64;
    --ombre: 0 2px 6px rgb(0 0 0 / 40%), 0 8px 24px rgb(0 0 0 / 40%);
    --ombre-forte: 0 -8px 32px rgb(0 0 0 / 60%);
  }
}

/* ---------- 3. Base ---------- */
* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
  overflow: hidden; /* chaque vue gère son propre défilement */
  font-family: var(--police);
  color: var(--texte);
  background: var(--fond);
  -webkit-tap-highlight-color: transparent; /* pas de flash gris au toucher sur iPhone */
}

button {
  font: inherit;
  color: inherit;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--or);
  outline-offset: 2px;
}

.icone {
  display: block;
  flex-shrink: 0;
}

.titre-serif {
  font-family: var(--police-titre);
  font-weight: 600;
  letter-spacing: -0.01em;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}

/* ---------- 4. Vues (Carte / Autour de moi / Favoris) ---------- */
.vue {
  position: fixed;
  inset: 0 0 var(--hauteur-onglets) 0; /* tout l'écran sauf la barre d'onglets */
  display: none;
}

.vue--active {
  display: block;
}

#map {
  position: absolute;
  inset: 0;
  background: var(--fond);
}

/* Mention "© IGN" de MapLibre, discrète */
.maplibregl-ctrl-attrib {
  background: color-mix(in srgb, var(--surface) 85%, transparent) !important;
  color: var(--texte-doux);
  font-size: 11px;
}

.maplibregl-ctrl-attrib a {
  color: var(--texte-doux) !important;
}

/* ---------- 5. Logo flottant ---------- */
.marque {
  position: absolute;
  top: calc(12px + env(safe-area-inset-top));
  left: 12px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 8px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--ombre);
}

.marque__nom {
  font-family: var(--police-titre);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--texte-vert);
}

/* ---------- 6. Boutons flottants sur la carte ---------- */
.flottants {
  position: absolute;
  right: 16px;
  bottom: 40px; /* au-dessus de la mention "© IGN" */
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: transform 0.25s ease;
}

/* Quand l'aperçu d'un spot est affiché, les boutons montent au-dessus */
.apercu-ouvert .flottants {
  transform: translateY(calc(-1 * var(--hauteur-apercu, 140px)));
}

.bouton-rond {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--surface);
  color: var(--position);
  box-shadow: var(--ombre);
  cursor: pointer;
}

.bouton-ajouter {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border: 3px solid var(--surface);
  border-radius: 50%;
  background: var(--vert);
  color: #fff;
  box-shadow: var(--ombre);
  cursor: pointer;
}

.bouton-rond:active,
.bouton-ajouter:active {
  transform: scale(0.94);
}

/* ---------- 7. Vignette d'un spot (aperçu, listes) ---------- */
.vignette {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px;
  border: 1px solid var(--bordure);
  border-radius: var(--rayon-grand);
  background: var(--surface);
  text-align: left;
  cursor: pointer;
  transition: transform 0.1s ease, border-color 0.15s ease;
}

.vignette:hover {
  border-color: color-mix(in srgb, var(--vert) 35%, var(--bordure));
}

.vignette:active {
  transform: scale(0.985);
}

/* Rond coloré avec le pictogramme du type de lieu */
.pastille {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: #fff;
}

.pastille--mosquee {
  background: var(--mosquee);
}

.pastille--salle {
  background: var(--salle);
}

.pastille--coin {
  background: var(--coin);
}

.vignette__texte {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0; /* permet au nom de se couper avec "…" */
  flex: 1;
}

.vignette__nom {
  overflow: hidden;
  font-family: var(--police-titre);
  font-weight: 600;
  font-size: 1.15rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.vignette__sous {
  color: var(--texte-doux);
  font-size: 0.9rem;
}

.vignette__fleche {
  color: var(--texte-doux);
  transform: rotate(180deg); /* chevron gauche retourné = chevron droit */
}

/* ---------- 8. Puces (Ablutions ✓, 6 min à pied…) ---------- */
.puces {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.puce {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px 5px 6px;
  border-radius: 999px;
  background: var(--vert-clair);
  font-size: 0.82rem;
  font-weight: 600;
}

.puce__coche {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--vert);
  color: #fff;
}

.puce--trajet {
  padding-left: 10px;
  background: var(--or-clair);
  color: color-mix(in srgb, var(--or) 70%, var(--texte));
}

/* ---------- 9. Aperçu (en bas de la carte) ---------- */
.apercu {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 20;
  max-width: 560px;
  margin: 0 auto;
  animation: monter 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.apercu .vignette {
  border: 0;
  box-shadow: var(--ombre);
}

@keyframes monter {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
}

/* ---------- 10. Pages "Autour de moi" et "Favoris" ---------- */
.page {
  overflow-y: auto;
  background: var(--fond);
}

.page__entete {
  max-width: 640px;
  margin: 0 auto;
  padding: calc(28px + env(safe-area-inset-top)) 20px 8px;
}

.page__entete h1 {
  margin: 0;
  font-size: 2rem;
  color: var(--texte);
}

.page__sous-titre {
  margin: 4px 0 0;
  color: var(--texte-doux);
}

.page__contenu {
  max-width: 640px;
  margin: 0 auto;
  padding: 12px 16px 24px;
}

.liste {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* État vide ("aucun favori"…) */
.vide {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 48px 24px;
  text-align: center;
  color: var(--texte-doux);
}

.vide__icone {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: var(--vert-clair);
  color: var(--texte-vert);
}

.vide h2 {
  margin: 0;
  font-size: 1.3rem;
  color: var(--texte);
}

.vide p {
  max-width: 300px;
  margin: 0 0 12px;
}

/* ---------- 11. Barre d'onglets ---------- */
.onglets {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: flex;
  height: var(--hauteur-onglets);
  padding-bottom: env(safe-area-inset-bottom);
  border-top: 1px solid var(--bordure);
  background: var(--surface);
}

.onglet {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: 0;
  background: none;
  color: var(--texte-doux);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

.onglet--actif {
  color: var(--texte-vert);
}

/* Petit trait doré au-dessus de l'onglet actif */
.onglet__icone {
  position: relative;
}

.onglet--actif .onglet__icone::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  width: 20px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--or);
  transform: translateX(-50%);
}

/* ---------- 12. Feuilles (fiche d'un spot, menu itinéraire) ---------- */
.feuille {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.feuille__fond {
  position: absolute;
  inset: 0;
  background: rgb(15 20 18 / 45%);
  animation: fondu 0.2s ease;
}

.feuille__panneau {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 92dvh;
  overflow-y: auto;
  padding: 10px 20px calc(24px + env(safe-area-inset-bottom));
  border-radius: var(--rayon-grand) var(--rayon-grand) 0 0;
  background: var(--surface);
  box-shadow: var(--ombre-forte);
  animation: monter 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes fondu {
  from {
    opacity: 0;
  }
}

.poignee {
  width: 44px;
  height: 5px;
  margin: 0 auto 14px;
  border-radius: 3px;
  background: var(--bordure);
}

/* ---------- 13. Fiche d'un spot ---------- */
.fiche__haut {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fiche__actions-haut {
  display: flex;
  gap: 8px;
}

.bouton-icone {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--bordure);
  border-radius: 50%;
  background: var(--surface);
  color: var(--texte);
  cursor: pointer;
}

.bouton-icone--favori {
  color: #c2453d;
}

.fiche__titre {
  margin: 16px 0 4px;
  font-size: 1.9rem;
  line-height: 1.15;
}

.fiche__sous {
  margin: 0;
  color: var(--texte-doux);
}

/* Grille de tuiles : Ablutions / Espace femmes / Discrétion ou Fauteuil */
.tuiles {
  display: grid;
  /* 3 ou 4 tuiles selon le type de lieu : elles se partagent la largeur */
  grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  gap: 10px;
  margin: 20px 0;
}

.tuile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 6px 12px;
  border-radius: var(--rayon);
  background: var(--surface-2);
  text-align: center;
}

.tuile__icone {
  color: var(--or);
}

.tuile__libelle {
  color: var(--texte-doux);
  font-size: 0.75rem;
}

.tuile__valeur {
  font-weight: 700;
  font-size: 0.95rem;
}

.tuile--non {
  opacity: 0.55;
}

/* "Non renseigné" : encore plus discret, avec un tiret à la place de la valeur */
.tuile--inconnu {
  opacity: 0.4;
}

.tuile--inconnu .tuile__icone {
  color: var(--texte-doux);
}

/* Pastille verte ✓ en haut à droite des tuiles "Oui" */
.tuile__coche {
  position: absolute;
  top: -6px;
  right: -6px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 2px solid var(--surface);
  border-radius: 50%;
  background: var(--vert);
  color: #fff;
}

.fiche__intertitre {
  margin: 0 0 6px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--texte-doux);
}

.fiche__acces {
  margin: 0 0 20px;
  line-height: 1.55;
  white-space: pre-line; /* garde les retours à la ligne tapés par l'auteur */
}

.fiche__boutons {
  display: flex;
  gap: 10px;
}

/* Infos pratiques : adresse, horaires, accès fauteuil… */
.fiche__infos {
  margin-bottom: 20px;
}

.infos {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

.infos__ligne {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
}

.infos__icone {
  margin-top: 1px;
  color: var(--or);
}

.infos__liens {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Mention de la source (OpenStreetMap) */
.fiche__source {
  margin: 18px 0 0;
  color: var(--texte-doux);
  font-size: 0.8rem;
  line-height: 1.4;
}

.fiche__source a {
  color: inherit;
}

/* ---------- 14. Boutons ---------- */
.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--rayon);
  background: var(--vert);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.1s ease, filter 0.15s ease;
}

.bouton:hover {
  filter: brightness(1.08);
}

.bouton:active {
  transform: scale(0.97);
}

.bouton:disabled {
  opacity: 0.6;
}

/* Action principale de la fiche : dorée, comme sur les captures de référence */
.bouton--or {
  flex: 1.3;
  background: var(--degrade-or);
}

.bouton--contour {
  flex: 1;
  border: 1.5px solid var(--or);
  background: transparent;
  color: color-mix(in srgb, var(--or) 75%, var(--texte));
}

.bouton--secondaire {
  background: var(--surface-2);
  color: var(--texte);
}

/* Petit bouton (Site web, Appeler) */
.bouton--petit {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--vert-clair);
  color: var(--texte-vert);
  font-size: 0.9rem;
}

/* ---------- 15. Menu "Itinéraire avec…" ---------- */
.menu h2 {
  margin: 0 0 12px;
  font-size: 1.3rem;
}

.menu__lien {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--bordure);
  color: var(--texte);
  font-weight: 600;
  text-decoration: none;
}

.menu__lien:last-of-type {
  border-bottom: 0;
}

.menu__lien .icone {
  color: var(--or);
}

/* ---------- 16. Mode placement ("Ajouter un spot", étape 1) ---------- */
.placement {
  display: none;
}

.mode-placement .placement {
  display: block;
}

.mode-placement .onglets,
.mode-placement .marque,
.mode-placement #bouton-ajouter,
.mode-placement .apercu {
  display: none;
}

/* Pendant le placement, la carte prend tout l'écran */
.mode-placement #vue-carte {
  bottom: 0;
}

.mode-placement .flottants {
  bottom: calc(96px + env(safe-area-inset-bottom));
}

.placement__aide {
  position: fixed;
  top: calc(12px + env(safe-area-inset-top));
  left: 12px;
  right: 12px;
  z-index: 40;
  max-width: 480px;
  margin: 0 auto;
  padding: 12px 16px;
  border-radius: var(--rayon);
  background: var(--surface);
  box-shadow: var(--ombre);
  font-size: 0.95rem;
  text-align: center;
}

/* La cible : un cercle avec un point, au centre exact de l'écran */
.placement__cible {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 40;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
  border: 3px solid var(--vert);
  border-radius: 50%;
  background: radial-gradient(var(--or) 0 5px, transparent 6px);
  box-shadow: 0 0 0 4px rgb(255 255 255 / 75%);
  pointer-events: none; /* les doigts "traversent" la cible pour déplacer la carte */
}

.placement__barre {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 40;
  display: flex;
  gap: 8px;
  max-width: 480px;
  margin: 0 auto;
}

.placement__barre .bouton {
  flex: 1;
  box-shadow: var(--ombre);
}

.placement__barre .bouton--secondaire {
  background: var(--surface);
}

/* ---------- 17. Formulaire ("Ajouter un spot", étape 2) ---------- */
.formulaire {
  position: fixed;
  inset: 0;
  z-index: 60;
  overflow-y: auto;
  background: var(--fond);
  animation: monter 0.25s ease;
}

.formulaire__contenu {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 480px;
  margin: 0 auto;
  padding: calc(24px + env(safe-area-inset-top)) 20px calc(24px + env(safe-area-inset-bottom));
}

.formulaire__contenu h2 {
  margin: 0;
  font-size: 1.9rem;
}

.formulaire__position {
  margin: 0 0 8px;
  color: var(--texte-doux);
  font-size: 0.9rem;
}

.formulaire label {
  margin-top: 12px;
  font-weight: 700;
}

.formulaire input:not([type]),
.formulaire select,
.formulaire textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--bordure);
  border-radius: 12px;
  background: var(--surface);
  color: var(--texte);
  font: inherit;
  font-size: 16px; /* 16px minimum : sinon l'iPhone zoome tout seul sur le champ */
}

.formulaire input:not([type]):focus,
.formulaire select:focus,
.formulaire textarea:focus {
  border-color: var(--vert);
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--vert) 22%, transparent);
}

.formulaire fieldset {
  margin: 14px 0 0;
  padding: 8px 16px 10px;
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  background: var(--surface);
}

.formulaire legend {
  padding: 0 4px;
  font-weight: 700;
}

.formulaire label.case {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 9px 0;
  font-weight: normal;
}

.formulaire input[type="checkbox"],
.formulaire input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: var(--vert);
}

.formulaire__erreur {
  min-height: 1.2em;
  margin: 6px 0 0;
  color: var(--erreur);
  font-weight: 600;
}

.formulaire__boutons {
  display: flex;
  gap: 10px;
}

.formulaire__boutons .bouton {
  flex: 1;
}

.formulaire__merci {
  align-items: center;
  padding-top: 25dvh;
  text-align: center;
}

.formulaire__merci p {
  margin: 0 0 16px;
  color: var(--texte-doux);
}

/* Champ piège anti-robot : sorti de l'écran (pas display:none, que certains robots repèrent) */
.piege {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- 18. Messages temporaires ("toast") ---------- */
.message {
  position: fixed;
  top: calc(72px + env(safe-area-inset-top));
  left: 50%;
  z-index: 70;
  width: max-content;
  max-width: calc(100% - 24px);
  padding: 12px 18px;
  border-radius: var(--rayon);
  background: var(--texte);
  color: var(--fond);
  font-size: 0.95rem;
  box-shadow: var(--ombre);
  transform: translate(-50%, -12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.message--visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

/* ---------- 19. "Compléter ou signaler une erreur" ---------- */
.lien-completer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0;
  padding: 6px 0;
  border: 0;
  background: none;
  color: var(--texte-vert);
  font-weight: 600;
  cursor: pointer;
}

.completer h2 {
  margin: 0;
  font-size: 1.5rem;
}

.completer__lieu {
  margin: 4px 0 12px;
  color: var(--texte-doux);
}

.completer__formulaire {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.completer__formulaire label:not(.choix__option):not(.case) {
  font-weight: 700;
}

.completer__formulaire textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--bordure);
  border-radius: 12px;
  background: var(--surface);
  color: var(--texte);
  font: inherit;
  font-size: 16px; /* évite le zoom automatique de l'iPhone */
}

.completer__ferme {
  display: flex;
  align-items: center;
  gap: 10px;
}

.completer__ferme input {
  width: 20px;
  height: 20px;
  accent-color: var(--vert);
}

/* Groupe de choix : boutons arrondis côte à côte (Oui / Non / Je ne sais pas) */
.choix {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: 0;
}

.choix legend {
  width: 100%;
  margin-bottom: 6px;
  padding: 0;
  font-weight: 700;
}

.choix__option input {
  position: absolute;
  opacity: 0; /* on cache le rond radio : c'est la pastille entière qu'on touche */
}

.choix__option span {
  display: inline-block;
  padding: 8px 14px;
  border: 1.5px solid var(--bordure);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.9rem;
  cursor: pointer;
}

.choix__option input:checked + span {
  border-color: var(--vert);
  background: var(--vert);
  color: #fff;
}

.choix__option input:focus-visible + span {
  outline: 3px solid var(--or);
  outline-offset: 2px;
}
