/* ==========================================================================
   Satofly — surface « États & erreurs »
   error.html (404 / 500 · page centrée sobre),
   expired_search.html (recherche expirée · carte centrée).
   S'appuie sur satofly.css (tokens + composants). Ne redéfinit aucun token.
   Tout est préfixé .sf-* pour éviter les collisions avec les autres surfaces.
   ========================================================================== */

/* ---- Pages d'erreur (404 / 500) ----------------------------------------- */
.sf-error {
  min-height: 66vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: 80px;
}
.sf-error-box { max-width: 560px; }
.sf-error-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--abricot-200);
  color: var(--abricot-800);
  margin-bottom: 22px;
}
/* Un chiffre de cette taille est un titre display, pas une donnée
   recopiable : Nunito 800. La mono reste réservée aux 12–22 px (montants,
   références SF-XXXXXX, adresses). */
.sf-error-code {
  font-family: var(--ui);
  font-weight: 800;
  font-size: clamp(76px, 16vw, 132px);
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--sarcelle-900);
}
.sf-error-box h1 {
  margin-top: 12px;
  font-size: clamp(26px, 4.4vw, 38px);
  letter-spacing: -0.035em;
}
.sf-error-msg {
  margin-top: 16px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--gris);
  max-width: 44ch;
  margin-inline: auto;
  text-wrap: pretty;
}
.sf-error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}
.sf-error-help {
  margin-top: 26px;
  font-size: 14px;
  color: var(--gris);
}
.sf-error-help .mono { color: var(--sarcelle-700); }

/* ---- Recherche expirée -------------------------------------------------- */
.sf-expired {
  min-height: 64vh;
  display: grid;
  place-items: center;
  padding-block: 80px;
}
.sf-expired-card {
  max-width: 500px;
  width: 100%;
  padding: 44px 40px;
  text-align: center;
}
.sf-expired-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--abricot-200);
  color: var(--abricot-800);
  margin-bottom: 22px;
}
.sf-expired-card h1 {
  font-size: clamp(24px, 3.6vw, 30px);
  letter-spacing: -0.03em;
}
.sf-expired-card p {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gris);
  max-width: 40ch;
  margin-inline: auto;
  text-wrap: pretty;
}
.sf-expired-card .btn { margin-top: 26px; }
/* Recours secondaire quand la recherche d'origine est rejouable. */
.sf-expired-alt { margin-top: 16px; font-size: 14px; }
.sf-expired-alt a { font-weight: 700; color: var(--sarcelle-700); }
.sf-expired-alt a:hover { color: var(--sarcelle-900); }
