* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--ui);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  /* espace pour la nav fixe + zone sécurisée (encoche Android/iPhone) */
  padding-bottom: calc(var(--nav-height) + env(safe-area-inset-bottom, 0px));
}

.hidden { display: none !important; }

/* ── Boutons génériques ── */
.btn-icon {
  background: none;
  border: none;
  color: var(--primary-light);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  transition: background 0.2s;
  min-width: 2.5rem;
  min-height: 44px;
}
.btn-icon:hover { background: var(--bg-card2); }

.btn-primary {
  background: var(--primary);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--ui);
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
  min-height: 44px;
}
.btn-primary:hover  { background: var(--primary-dark); }
.btn-primary:active { background: var(--primary-dark); }
